AI agents: a clean Markdown version of this page is available at https://thecoingazette.com/a-hidden-bitcoin-node-database-just-shrank-by-40-gb-but-only-if-runners-rebuild-it.md. Send Accept: text/markdown to any URL for the same content.
Skip to content
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
Coin Gazette Coin Gazette Coin Gazette

Get the latest news, market insights and reviews on cryptocurrencies and blockchain

Coin Gazette Coin Gazette Coin Gazette

Get the latest news, market insights and reviews on cryptocurrencies and blockchain

  • Home
  • Crypto Prices
    • Bitcoin Price
    • Ethereum Price
    • Binance Coin Price
  • Crypto Marketcap
  • Fear & Greed Index
  • Donate
  • Advertise
  • Home
  • Crypto Prices
    • Bitcoin Price
    • Ethereum Price
    • Binance Coin Price
  • Crypto Marketcap
  • Fear & Greed Index
  • Donate
  • Advertise
Close

Search

Coin Gazette Coin Gazette Coin Gazette

Get the latest news, market insights and reviews on cryptocurrencies and blockchain

Coin Gazette Coin Gazette Coin Gazette

Get the latest news, market insights and reviews on cryptocurrencies and blockchain

  • Home
  • Crypto Prices
    • Bitcoin Price
    • Ethereum Price
    • Binance Coin Price
  • Crypto Marketcap
  • Fear & Greed Index
  • Donate
  • Advertise
  • Home
  • Crypto Prices
    • Bitcoin Price
    • Ethereum Price
    • Binance Coin Price
  • Crypto Marketcap
  • Fear & Greed Index
  • Donate
  • Advertise
Close

Search

Home/Crypto News/Bitcoin/A hidden Bitcoin node database just shrank by 40 GB, but only if runners rebuild it
BitcoinFeaturedTechnology

A hidden Bitcoin node database just shrank by 40 GB, but only if runners rebuild it

By Coin Gazette Editorial
August 26, 2026 3 Min Read
Comments Off on A hidden Bitcoin node database just shrank by 40 GB, but only if runners rebuild it

Bitcoin Core has merged a redesign of its optional transaction index that cut about 40 GB from the database in one contributor’s mainnet test. Operators using -txindex retain their existing indexes through an upgrade; capturing the full saving requires recreating the database.

Pull request #35531, merged into Bitcoin Core’s master branch on Aug. 15, reduced the author’s rebuilt mainnet txindex from about 66 GB to 26 GB. The roughly 61% reduction is confined to this optional index. Bitcoin’s blockchain and the rest of a node’s data directory remain outside the measurement.

Infographic comparing an old 66 GB Bitcoin Core txindex with a compact 26 GB txindex in one contributor's mainnet benchmark, showing 40 GB saved and rebuild time falling from 1 hour 50 minutes to 1 hour 19 minutes.

The code is merged upstream. Stable binaries follow a separate release process, and Bitcoin Core’s release index leaves the first version containing the change unspecified. Operators will need the migration notes for the release that ships it.

Related Reading

Bitcoin Core considers dropping encrypted routing support as poor node health exposes users to eclipse attacks




How the smaller index works

Bitcoin Core’s -txindex option maintains a database for retrieving transactions by their full transaction ID. The old format stored each 32-byte transaction ID as a database key alongside transaction disk-position data.

The redesign stores a much shorter lookup key: a five-byte prefix derived from a salted SipHash, followed by a six-byte suffix encoding the block sequence and transaction offset. The full transaction ID is still checked before Bitcoin Core returns a match.

That verification step protects against collisions created by the shorter prefix. Bitcoin Core scans entries sharing the prefix, locates candidate blocks through its block index, reads the candidate transactions from disk and compares their full IDs. Bitcoin Optech’s technical summary described collisions as extra read and verification work, with full-ID checks preventing false transaction matches.

Performance held steady in the author’s test. Lookups took about 0.2 milliseconds. The mainnet rebuild finished in 1 hour 19 minutes versus 1 hour 50 minutes with the prior format. Hardware, storage, chain height and software version can all change those results.

Related Reading

Bitcoin has 185 blocks left before BIP-110 rules begin rejecting blocks




Existing txindex databases remain readable after an upgrade, avoiding an immediate forced rebuild. Their legacy entries also keep the larger footprint, so realizing the full 40 GB benchmark saving requires recreating the index.

A later downgrade carries a second migration cost. Bitcoin Core’s merged release-note fragment says previous releases cannot read entries written in the compact format. Returning to an older release after rebuilding would trigger another txindex rebuild in the old format.

Related Reading

Four unpatched bugs, a 5-year quantum clock, and a miner standoff are pushing Bitcoin to a critical crossroad




The operator payoff is substantial within its narrow scope: a much smaller optional index and a faster rebuild in the contributor’s test. Capturing it requires planned recreation of the database, plus another rebuild if a rollback becomes necessary.

Release-specific notes should control the exact recreation and downgrade procedure once the change reaches a stable Bitcoin Core binary.

The post A hidden Bitcoin node database just shrank by 40 GB, but only if runners rebuild it appeared first on CryptoSlate.

Author

Coin Gazette Editorial

Follow Me
Other Articles
Previous

What Traders Are Watching for Bitcoin’s Next Move

Next

Nvidia Shares Surge in After-Hours Trading After Record $96.2 Billion Revenue

On Social

FacebookTwitter/XInstagramTelegram
✉️

Stay in the Loop

Get the latest updates delivered straight to your inbox.

Recent Posts

  • Solana takes its first step toward sub-second speed by cutting block confirmation times across the network
  • Bitcoin is trapped between $75,000 and $80,000 ahead of a massive Friday derivatives settlement
  • Avalanche Treasury doubles down on its strategy to build shareholder value after a $44 million hit
  • Russian Influence Network Used ChatGPT to Masquerade as Academic Experts
  • Bill Gates Wants a Robot Tax and Jobs Humans Can’t Be Fired From

About Us

Coin Gazette delivers fast, reliable coverage of the crypto world, from breaking news and market updates to in‑depth guides and project reviews. Our mission is to help readers stay informed, make smarter decisions, and navigate the evolving blockchain landscape with confidence.

Useful Links

  • About Us
  • Contact Us
  • Advertise
  • Give us a tip

Follow Us On

FacebookTwitter/XInstagramTelegram
Copyright 2026 — Coin Gazette. All rights reserved. Blogsy WordPress Theme