2021-11-27T20:45:59.650951Z Error updating blockchain info: error code: -1
2021-11-27T20:45:59.651743Z error message:
2021-11-27T20:45:59.652226Z getblockchaininfo
2021-11-27T20:45:59.652558Z Returns an object containing various state info regarding blockchain processing.
2021-11-27T20:45:59.652946Z
2021-11-27T20:45:59.653382Z Result:
2021-11-27T20:45:59.653857Z { (json object)
2021-11-27T20:45:59.654197Z "chain" : "str", (string) current network name (main, test, regtest)
2021-11-27T20:45:59.654507Z "blocks" : n, (numeric) the height of the most-work fully-validated chain. The genesis block has height 0
2021-11-27T20:45:59.654834Z "headers" : n, (numeric) the current number of headers we have validated
2021-11-27T20:45:59.655292Z "bestblockhash" : "str", (string) the hash of the currently best block
2021-11-27T20:45:59.655696Z "difficulty" : n, (numeric) the current difficulty
2021-11-27T20:45:59.656101Z "mediantime" : n, (numeric) median time for the current best block
2021-11-27T20:45:59.656831Z "verificationprogress" : n, (numeric) estimate of verification progress [0..1]
2021-11-27T20:45:59.657216Z "initialblockdownload" : true|false, (boolean) (debug information) estimate of whether this node is in Initial Block Download mode
2021-11-27T20:45:59.657585Z "chainwork" : "hex", (string) total amount of work in active chain, in hexadecimal
2021-11-27T20:45:59.658003Z "size_on_disk" : n, (numeric) the estimated size of the block and undo files on disk
2021-11-27T20:45:59.658874Z "pruned" : true|false, (boolean) if the blocks are subject to pruning
2021-11-27T20:45:59.659387Z "pruneheight" : n, (numeric) lowest-height complete block stored (only present if pruning is enabled)
2021-11-27T20:45:59.659880Z "automatic_pruning" : true|false, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)
2021-11-27T20:45:59.660283Z "prune_target_size" : n, (numeric) the target size used by pruning (only present if automatic pruning is enabled)
2021-11-27T20:45:59.660792Z "softforks" : { (json object) status of softforks
2021-11-27T20:45:59.661158Z "xxxx" : { (json object) name of the softfork
2021-11-27T20:45:59.661478Z "type" : "str", (string) one of "buried", "bip9"
2021-11-27T20:45:59.661814Z "bip9" : { (json object) status of bip9 softforks (only for "bip9" type)
2021-11-27T20:45:59.662140Z "status" : "str", (string) one of "defined", "started", "locked_in", "active", "failed"
2021-11-27T20:45:59.662560Z "bit" : n, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for "started" status)
2021-11-27T20:45:59.662987Z "start_time" : xxx, (numeric) the minimum median time past of a block at which the bit gains its meaning
2021-11-27T20:45:59.664301Z "timeout" : xxx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in
2021-11-27T20:45:59.664926Z "since" : n, (numeric) height of the first block to which the status applies
2021-11-27T20:45:59.665545Z "min_activation_height" : n, (numeric) minimum height of blocks for which the rules may be enforced
2021-11-27T20:45:59.666238Z "statistics" : { (json object) numeric statistics about BIP9 signalling for a softfork (only for "started" status)
2021-11-27T20:45:59.667210Z "period" : n, (numeric) the length in blocks of the BIP9 signalling period
2021-11-27T20:45:59.668406Z "threshold" : n, (numeric) the number of blocks with the version bit set required to activate the feature
2021-11-27T20:45:59.669542Z "elapsed" : n, (numeric) the number of blocks elapsed since the beginning of the current period
2021-11-27T20:45:59.670294Z "count" : n, (numeric) the number of blocks with the version bit set in the current period
2021-11-27T20:45:59.671458Z "possible" : true|false (boolean) returns false if there are not enough blocks left in this period to pass activation threshold
2021-11-27T20:45:59.674608Z }
2021-11-27T20:45:59.676325Z },
2021-11-27T20:45:59.676735Z "height" : n, (numeric) height of the first block which the rules are or will be enforced (only for "buried" type, or "bip9" type with "active" status)
2021-11-27T20:45:59.677055Z "active" : true|false (boolean) true if the rules are enforced for the mempool and the next block
2021-11-27T20:45:59.677383Z },
2021-11-27T20:45:59.677680Z ...
2021-11-27T20:45:59.678310Z },
2021-11-27T20:45:59.679707Z "warnings" : "str" (string) any network and blockchain warnings
2021-11-27T20:45:59.680199Z }
2021-11-27T20:45:59.680520Z
2021-11-27T20:45:59.680821Z Examples:
2021-11-27T20:45:59.681152Z > bitcoin-cli getblockchaininfo
2021-11-27T20:45:59.681462Z > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockchaininfo", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/
2021-11-27T20:45:59.681767Z
2021-11-27T20:45:59.682072Z
2021-11-27T20:45:59.650951Z Error updating blockchain info: error code: -1 2021-11-27T20:45:59.651743Z error message: 2021-11-27T20:45:59.652226Z getblockchaininfo 2021-11-27T20:45:59.652558Z Returns an object containing various state info regarding blockchain processing. 2021-11-27T20:45:59.652946Z 2021-11-27T20:45:59.653382Z Result: 2021-11-27T20:45:59.653857Z { (json object) 2021-11-27T20:45:59.654197Z "chain" : "str", (string) current network name (main, test, regtest) 2021-11-27T20:45:59.654507Z "blocks" : n, (numeric) the height of the most-work fully-validated chain. The genesis block has height 0 2021-11-27T20:45:59.654834Z "headers" : n, (numeric) the current number of headers we have validated 2021-11-27T20:45:59.655292Z "bestblockhash" : "str", (string) the hash of the currently best block 2021-11-27T20:45:59.655696Z "difficulty" : n, (numeric) the current difficulty 2021-11-27T20:45:59.656101Z "mediantime" : n, (numeric) median time for the current best block 2021-11-27T20:45:59.656831Z "verificationprogress" : n, (numeric) estimate of verification progress [0..1] 2021-11-27T20:45:59.657216Z "initialblockdownload" : true|false, (boolean) (debug information) estimate of whether this node is in Initial Block Download mode 2021-11-27T20:45:59.657585Z "chainwork" : "hex", (string) total amount of work in active chain, in hexadecimal 2021-11-27T20:45:59.658003Z "size_on_disk" : n, (numeric) the estimated size of the block and undo files on disk 2021-11-27T20:45:59.658874Z "pruned" : true|false, (boolean) if the blocks are subject to pruning 2021-11-27T20:45:59.659387Z "pruneheight" : n, (numeric) lowest-height complete block stored (only present if pruning is enabled) 2021-11-27T20:45:59.659880Z "automatic_pruning" : true|false, (boolean) whether automatic pruning is enabled (only present if pruning is enabled) 2021-11-27T20:45:59.660283Z "prune_target_size" : n, (numeric) the target size used by pruning (only present if automatic pruning is enabled) 2021-11-27T20:45:59.660792Z "softforks" : { (json object) status of softforks 2021-11-27T20:45:59.661158Z "xxxx" : { (json object) name of the softfork 2021-11-27T20:45:59.661478Z "type" : "str", (string) one of "buried", "bip9" 2021-11-27T20:45:59.661814Z "bip9" : { (json object) status of bip9 softforks (only for "bip9" type) 2021-11-27T20:45:59.662140Z "status" : "str", (string) one of "defined", "started", "locked_in", "active", "failed" 2021-11-27T20:45:59.662560Z "bit" : n, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for "started" status) 2021-11-27T20:45:59.662987Z "start_time" : xxx, (numeric) the minimum median time past of a block at which the bit gains its meaning 2021-11-27T20:45:59.664301Z "timeout" : xxx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in 2021-11-27T20:45:59.664926Z "since" : n, (numeric) height of the first block to which the status applies 2021-11-27T20:45:59.665545Z "min_activation_height" : n, (numeric) minimum height of blocks for which the rules may be enforced 2021-11-27T20:45:59.666238Z "statistics" : { (json object) numeric statistics about BIP9 signalling for a softfork (only for "started" status) 2021-11-27T20:45:59.667210Z "period" : n, (numeric) the length in blocks of the BIP9 signalling period 2021-11-27T20:45:59.668406Z "threshold" : n, (numeric) the number of blocks with the version bit set required to activate the feature 2021-11-27T20:45:59.669542Z "elapsed" : n, (numeric) the number of blocks elapsed since the beginning of the current period 2021-11-27T20:45:59.670294Z "count" : n, (numeric) the number of blocks with the version bit set in the current period 2021-11-27T20:45:59.671458Z "possible" : true|false (boolean) returns false if there are not enough blocks left in this period to pass activation threshold 2021-11-27T20:45:59.674608Z } 2021-11-27T20:45:59.676325Z }, 2021-11-27T20:45:59.676735Z "height" : n, (numeric) height of the first block which the rules are or will be enforced (only for "buried" type, or "bip9" type with "active" status) 2021-11-27T20:45:59.677055Z "active" : true|false (boolean) true if the rules are enforced for the mempool and the next block 2021-11-27T20:45:59.677383Z }, 2021-11-27T20:45:59.677680Z ... 2021-11-27T20:45:59.678310Z }, 2021-11-27T20:45:59.679707Z "warnings" : "str" (string) any network and blockchain warnings 2021-11-27T20:45:59.680199Z } 2021-11-27T20:45:59.680520Z 2021-11-27T20:45:59.680821Z Examples: 2021-11-27T20:45:59.681152Z > bitcoin-cli getblockchaininfo 2021-11-27T20:45:59.681462Z > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockchaininfo", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/ 2021-11-27T20:45:59.681767Z 2021-11-27T20:45:59.682072Z