preciousblock: RPC-JSON API: preciousblock

View source: R/BlockchainRpcs.R

preciousblockR 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 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 Oct. 20, 2024, 5:06 p.m.

Related to preciousblock in rbtc...