mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
Merge pull request #6457
0ef9858
Documenting pruned, pruneheight and softforks in getblockchaininfo (Simon Males)0c89579
Include pruned state in chaininfo.json (Simon Males)
This commit is contained in:
commit
3c923e8975
2 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,9 @@ Only supports JSON as output format.
|
||||||
* difficulty : (numeric) the current difficulty
|
* difficulty : (numeric) the current difficulty
|
||||||
* verificationprogress : (numeric) estimate of verification progress [0..1]
|
* verificationprogress : (numeric) estimate of verification progress [0..1]
|
||||||
* chainwork : (string) total amount of work in active chain, in hexadecimal
|
* 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
|
####Query UTXO set
|
||||||
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`
|
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`
|
||||||
|
|
|
@ -594,6 +594,8 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp)
|
||||||
" \"difficulty\": xxxxxx, (numeric) the current difficulty\n"
|
" \"difficulty\": xxxxxx, (numeric) the current difficulty\n"
|
||||||
" \"verificationprogress\": xxxx, (numeric) estimate of verification progress [0..1]\n"
|
" \"verificationprogress\": xxxx, (numeric) estimate of verification progress [0..1]\n"
|
||||||
" \"chainwork\": \"xxxx\" (string) total amount of work in active chain, in hexadecimal\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"
|
" \"softforks\": [ (array) status of softforks in progress\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" \"id\": \"xxxx\", (string) name of softfork\n"
|
" \"id\": \"xxxx\", (string) name of softfork\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue