pruneblockchain {rbtc} | R Documentation |
RPC-JSON API: pruneblockchain
Description
Pruning of blockchain.
Usage
pruneblockchain(con, height)
Arguments
con |
object of class |
height |
|
Value
A S4-object of class ANSRPC
.
Details
May be set to a discrete height, or a unix timestamp to prune blocks whose block time is at least 2 hours older than the provided timestamp.
Author(s)
Bernhard Pfaff
References
https://bitcoin.org/en/developer-reference#pruneblockchain, 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
,
preciousblock
, verifychain
,
verifytxoutproof