submitauxblock
New since v30.2
Summary
Submit an AuxPoW payload for a cached merged-mining candidate block.
Description
Submit an AuxPoW payload for a cached merged-mining candidate block.
Change Buckets
- New since v30.2
Arguments
hash(STR_HEX, required): The aux block hash returned by createauxblock.auxpow_hex(STR_HEX, required): The serialized AuxPoW payload in hexadecimal.
Results
value(NONE): No description.value(STR): According to BIP22, or stale-prevblk if the cached candidate's previous block left the active tip, the candidate exceeded -auxpowtemplateexpiry, or the candidate was evicted by -auxpowtemplatecachelimit
Examples
qbit-cli submitauxblock "hash" "auxpowhex"
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "submitauxblock", "params": ["hash", "auxpowhex"]}' -H 'content-type: application/json' http://127.0.0.1:8352/