Merge mining RPC: added merge_mining_submit_solution

This commit is contained in:
SChernykh
2023-11-06 16:33:56 +01:00
parent 40b2c2a858
commit 9eab833f66
5 changed files with 118 additions and 8 deletions

View File

@@ -100,3 +100,12 @@ Note that `merkle_proof` only contains a vector of 32-byte hashes for `aux_hash`
`aux_nonce` and `n_aux_chains` can be extracted from the Merkle tree parameters (see above).
`merkle_root_hash` can be extracted from the merge mining tag (see above).
Response: a JSON containing these fields:
Field|Description
-|-
`status`|Block submit status
Example response 1: `{"jsonrpc":"2.0","id":"0","result":{"status":"accepted"}}`
Example response 2: `{"jsonrpc":"2.0","id":"0","error":"something went wrong"}`