Documentation exported from Syscoin Core 4.3.0

submitauxblock (4.3.0 RPC)

blockchain

control

evo

generating

governance

masternode

mining

network

rawtransactions

signer

syscoin

util

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:
true|false    (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/