Browse Source

Documenting pruned, pruneheight and softforks in getblockchaininfo

0.13
Simon Males 9 years ago
parent
commit
0ef9858707
  1. 2
      doc/REST-interface.md
  2. 2
      src/rpcblockchain.cpp

2
doc/REST-interface.md

@ -41,6 +41,8 @@ Only supports JSON as output format. @@ -41,6 +41,8 @@ Only supports JSON as output format.
* verificationprogress : (numeric) estimate of verification progress [0..1]
* chainwork : (string) total amount of work in active chain, in hexadecimal
* pruned : (boolean) if the blocks are subject to pruning
* pruneheight : (numeric) heighest block available
* softforks : (array) status of softforks in progress
####Query UTXO set
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`

2
src/rpcblockchain.cpp

@ -594,6 +594,8 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp) @@ -594,6 +594,8 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp)
" \"difficulty\": xxxxxx, (numeric) the current difficulty\n"
" \"verificationprogress\": xxxx, (numeric) estimate of verification progress [0..1]\n"
" \"chainwork\": \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n"
" \"pruned\": xx, (boolean) if the blocks are subject to pruning\n"
" \"pruneheight\": xxxxxx, (numeric) heighest block available\n"
" \"softforks\": [ (array) status of softforks in progress\n"
" {\n"
" \"id\": \"xxxx\", (string) name of softfork\n"

Loading…
Cancel
Save