Learn R Programming

rbtc (version 0.1-7)

preciousblock: RPC-JSON API: preciousblock

Description

Treats a block as if it were received before others with the same work. A can override the effect of an earlier one. The effects of preciousblock are not retained across restarts.

Usage

preciousblock(con, blockhash)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

blockhash

character, the hash of the block to mark as precious.

Author

Bernhard Pfaff

References

https://bitcoin.org/en/developer-reference#preciousblock, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs

See Also

Other Blockchain RPCs: decodescript, getbestblockhash, getblockchaininfo, getblockcount, getblockhash, getblockheader, getblock, getchaintips, getchaintxstats, getdifficulty, getmempoolancestors, getmempooldescendants, getmempoolentry, getmempoolinfo, getrawmempool, gettxoutproof, gettxoutsetinfo, gettxout, pruneblockchain, verifychain, verifytxoutproof