TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Visualization of how Bitcoin's UTXO set has evolved over time

1 pointsby gitmagicabout 7 years ago

1 comment

gitmagicabout 7 years ago
Each pixel represents a block, where each column is 300 blocks. The orange visualizes the number of unspent transaction outputs per block, and the blue visualizes the amount of unspent BTC per block.<p>How I made it:<p>1. Precalculated all block heights to snapshot the UTXO stats at (every 1008 blocks) 2. Downloaded the whole blockchain using the Bitcoin Core client 3. Wrote a script that invalidates all blocks to X using the Bitcoin Core’s RPC 4. Saved a snapshot of the UTXO set using the same method as for utxo-stats.com (see source code below) 5. Saved price with each snapshot (from a csv file downloaded from coindesk.com) 6. Repeated step 3 - 5 by invalidating the next 1008 blocks 7. Copied the source code for utxo-stats.com modified it to load these snapshots one by one 8. Recorded the screen using QuickTime 9. Imported the movie into iMovie and sped it up<p>Source code for utxo-stats.com: <a href="https:&#x2F;&#x2F;github.com&#x2F;blockfirm&#x2F;utxo-stats.com" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blockfirm&#x2F;utxo-stats.com</a><p>Modified version of the Bitcoin Core client: <a href="https:&#x2F;&#x2F;github.com&#x2F;blockfirm&#x2F;bitcoin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blockfirm&#x2F;bitcoin</a>