| preciousblock {rbtc} | R Documentation |
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)
Arguments
con |
object of class |
blockhash |
|
Value
A S4-object of class ANSRPC.
Author(s)
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