preciousblock: RPC-JSON API: preciousblock

Description Usage Arguments Value Author(s) References See Also

View source: R/BlockchainRpcs.R

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

1
preciousblock(con, blockhash)

Arguments

con

object of class CONRPC.

blockhash

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

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


rbtc documentation built on May 2, 2019, 12:20 p.m.

Related to preciousblock in rbtc...