Learn R Programming

rbch (version 0.1-2)

verifychain: RPC-JSON API: verifychain

Description

Verifies blockchain database.

Usage

verifychain(con, checklevel = NULL, nblocks = NULL)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

checklevel

integer (optional, 0-4, default=3), how thorough the block verification is.

nblocks

integer (optional, default=6, 0=all), the number of blocks to check.

Author

Bernhard Pfaff

References

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

See Also

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