preciousblock

preciousblock "blockhash"

This treats the block as if it were received before others with the same amount of work.

A subsequent preciousblock call can override the effects of a previous one.

The effects of preciousblock do not persist after a restart.

Argument #1 – blockhash

Type: string, required

Specifies the hash of the block to be marked as precious.

Result

null    (json null)

Examples

bitcoinevo-cli preciousblock "blockhash"
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "preciousblock", "params": ["blockhash"]}' -H 'content-type: text/plain;' http://127.0.0.1:7332/