Compare the UTXO set on two Bitcoin nodes
Two nodes can report the same height while describing different branches. A reproducible comparison pairs the UTXO commitment with the exact block hash.
Sample the same indexed block
On each mainnet node with a synced coinstatsindex, request the MuHash commitment at height 850000. An explicit historical height requires this index. Choose a height that both indexes have reached.
bitcoin-cli gettxoutsetinfo muhash 850000 | jq '{height, bestblock, txouts, muhash}'
Compare the snapshot identities first
Check bestblock first. If it differs, the records concern different histories and are unsuitable for an equality check. For matching blocks, compare txouts and the full muhash string. Equal counts alone would allow different coins to be counted in each set. Preserve both responses when investigating a discrepancy.
bitcoincore.org gettxoutsetinfo · bitcoincore.org getindexinfo