Documentation exported from Syscoin Core 4.1.2

submitauxblock (4.1.2 RPC)

blockchain

control

generating

governance

governancewallet

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

submitauxblock "hash" "auxpow"

Submits a solved auxpow for a block that was previously created by 'createauxblock'.

Arguments:
1. hash      (string, required) Hash of the block to submit
2. auxpow    (string, required) Serialised auxpow found

Result:
xxxxx        (boolean) whether the submitted block was correct

Examples:
> syscoin-cli submitauxblock "hash" "serialised auxpow"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitauxblock", "params": ["hash" "serialised auxpow"] }' -H 'content-type: text/plain;' http://127.0.0.1:8370/