This guide explains Bitcoin Core getblockchaininfo RPC in plain English. It shows what the command does, what its result means and what it cannot prove.
TL;DR
- What it is: Bitcoin Core 0.16.0 getblockchaininfo returned a consolidated view of chain processing: network, processed blocks, validated headers, best block, difficulty, median time, verification progress, initial-download estimate, chainwork, disk size, pruning state, soft-fork status and warnings. No single field proved readiness.
- Why it matters: getblockchaininfo is the core chain-health summary, but readiness emerges from a consistent set of identity, chainwork, freshness, pruning and warning signals. No single boolean or progress value is enough.
- Current position: Bitcoin Core 0.16.0 getblockchaininfo returned a consolidated view of chain processing: network, processed blocks, validated headers, best block, difficulty, median time, verification progress, initial-download estimate, chainwork, disk size, pruning state, soft-fork status and warnings.
Bitcoin Core getblockchaininfo RPC in simple English
Bitcoin Core getblockchaininfo RPC: chain identifies main, test or regtest under the historical naming. Check it before interpreting any hash, height or balance and bind the expected genesis identity in higher-assurance systems.
Simple example
A node operator is checking Bitcoin Core getblockchaininfo RPC. Do not enable withdrawals because progress rounded to one or because IBD became false before monitoring and wallet rescans are complete.
Key terms in plain English
- BIP:
- Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
- Bitcoin Core:
- Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
- RPC:
- A command that software sends to a node to request information or a local action.
- Soft fork:
- A proposed tightening of Bitcoin rules that old nodes may not enforce themselves.
- Node:
- A computer running Bitcoin software that checks data and communicates with other peers.
Network identity
chain identifies main, test or regtest under the historical naming. Check it before interpreting any hash, height or balance and bind the expected genesis identity in higher-assurance systems. A responsive node on the wrong network is an operational failure, not a degraded success.
Blocks, headers and tip
blocks counts processed active-chain blocks while headers counts validated headers. A gap can be normal during initial sync or signal stalled block acquisition. Pair both with bestblockhash, median time and independent peer observations; equal heights alone do not prove equal chainwork or tip.
Progress and initial download
verificationprogress and initialblockdownload are estimates and debug-oriented signals. Use them with last-block age, chainwork and service-specific thresholds. Do not enable withdrawals because progress rounded to one or because IBD became false before monitoring and wallet rescans are complete.
Chainwork and difficulty
chainwork provides cumulative work in hexadecimal and difficulty describes the current target relative to the reference. Compare chainwork across compatible nodes to detect a lower-work branch. Preserve big integers exactly; converting long hexadecimal work to floating point can erase meaningful differences.
Pruning and disk
pruned changes the availability contract. Pruneheight gives the lowest complete stored block, while automatic settings and target size appear conditionally. Archive-dependent services must refuse assignment to a pruned node whose retained range cannot satisfy them. Monitor actual disk headroom beyond the configured target.
Soft forks and warnings
The response included legacy softfork and BIP 9 deployment state plus warnings. Status fields are version- and period-dependent; interpret defined, started, locked-in, active and failed under the named deployment. Warnings should page an operator under policy, not be discarded because historical safe mode was disabled.
Monitoring matrix
Test fresh, syncing, caught-up, pruned, stalled and forked regtest nodes. Validate conditional fields, schema changes, chainwork precision and warning handling. Gate each dependent service separately, because block explorers, mining templates, deposits and withdrawals have different readiness requirements.
Frequently asked questions
What is the main point of Bitcoin Core getblockchaininfo RPC?
Bitcoin Core getblockchaininfo RPC: chain identifies main, test or regtest under the historical naming. Check it before interpreting any hash, height or balance and bind the expected genesis identity in higher-assurance systems.
For Bitcoin Core getblockchaininfo RPC, what should a beginner know about network identity?
chain identifies main, test or regtest under the historical naming. Check it before interpreting any hash, height or balance and bind the expected genesis identity in higher-assurance systems.
For Bitcoin Core getblockchaininfo RPC, what should a beginner know about blocks, headers and tip?
blocks counts processed active-chain blocks while headers counts validated headers. A gap can be normal during initial sync or signal stalled block acquisition.
For Bitcoin Core getblockchaininfo RPC, what should a beginner know about progress and initial download?
verificationprogress and initialblockdownload are estimates and debug-oriented signals. Use them with last-block age, chainwork and service-specific thresholds.
Conclusion
getblockchaininfo is the core chain-health summary, but readiness emerges from a consistent set of identity, chainwork, freshness, pruning and warning signals. No single boolean or progress value is enough.
Primary sources
Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.
Join the ASIC Mining Discussion
Members can read and join the discussion
Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.
Membership helps us protect the discussion from spam and keep answers useful.