Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

Bitcoin Core getchainstates RPC: AssumeUTXO Validation Guide

Bitcoin Core 26 getchainstates guide covering active and background chainstates, work ordering, snapshot bases, validation flags, cache metrics and monitoring.

Bitcoin Core getchainstates RPC guide cover

This guide explains Bitcoin Core getchainstates 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 26.0 introduced getchainstates to expose the chainstates used during assumeUTXO snapshot synchronisation. It returns the header count and an array ordered by work with the most-work active chainstate last.
  • Why it matters: getchainstates makes assumeUTXO trust visible. Operational completion is not a current snapshot tip; it is a matching snapshot base plus a fully validated background history and reconciled active chainstate.
  • Current position: Require a second reviewer and explicit rollback or expiry, and pause payments, signing or network-dependent services until post-change evidence is complete.

Bitcoin Core getchainstates RPC in simple English

Bitcoin Core getchainstates RPC: Keep monitoring until background validation succeeds and chainstate cleanup is observed. Reconcile tips after reorganisations and never delete original data merely because the snapshot tip is current.

Simple example

A miner is checking Bitcoin Core getchainstates RPC. Snapshot_blockhash appears when a chainstate is based on a snapshot. Compare it with the intended assumeUTXO base and the source snapshot record.

Key terms in plain English

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.
UTXO:
An unspent transaction output: a piece of bitcoin that can be used as an input to a later transaction.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Result shape

headers is global header progress. Each chainstate includes blocks, bestblockhash, difficulty, verificationprogress, cache allocations, optional snapshot_blockhash and validated.

Ordering

The array is ordered by work and the most-work active state is last. Do not assume the first entry is primary or hard-code a two-entry array forever.

Snapshot identity

snapshot_blockhash appears when a chainstate is based on a snapshot. Compare it with the intended assumeUTXO base and the source snapshot record.

Bitcoin Core getchainstates RPC technical diagram
Snapshot identity: the fields, validation boundary and operational evidence that implementations need to agree.

Validated flag

true means every block in that chainstate has been validated. False identifies a snapshot-based state whose background justification is incomplete.

Progress

verificationprogress is an estimate toward the network tip, not a cryptographic completion proof. Track blocks and bestblockhash and watch for sustained stalls.

Cache metrics

coins_db_cache_bytes and coins_tip_cache_bytes reveal allocation, not actual resident memory or performance. Correlate them with host metrics and configuration.

Completion policy

Keep monitoring until background validation succeeds and chainstate cleanup is observed. Reconcile tips after reorganisations and never delete original data merely because the snapshot tip is current. Build a revision-pinned evidence pack on an isolated node, wallet or protocol harness.

Frequently asked questions

What is the main point of Bitcoin Core getchainstates RPC?

Bitcoin Core getchainstates RPC: Keep monitoring until background validation succeeds and chainstate cleanup is observed.

For Bitcoin Core getchainstates RPC, what should a beginner know about result shape?

headers is global header progress. Each chainstate includes blocks, bestblockhash, difficulty, verificationprogress, cache allocations, optional snapshot_blockhash and validated.

For Bitcoin Core getchainstates RPC, what should a beginner know about ordering?

The array is ordered by work and the most-work active state is last.

For Bitcoin Core getchainstates RPC, what should a beginner know about snapshot identity?

snapshot_blockhash appears when a chainstate is based on a snapshot. Compare it with the intended assumeUTXO base and the source snapshot record.

Conclusion

getchainstates makes assumeUTXO trust visible. Operational completion is not a current snapshot tip; it is a matching snapshot base plus a fully validated background history and reconciled active chainstate.

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.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

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.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners