Cointime

Download App
iOS & Android

Boost Your Bitcoin Node Sync With UTXO Snapshots

Cointime Official

From lopp net blog by Jameson Lopp

The recent Bitcoin Core v28 release added support for a new feature that has been under development for 5 years. First proposed in 2019 by James O’Beirne, AssumeUTXO enables full nodes to defer verification of old blockchain history by loading a recent snapshot of the UTXO set at a specific block height and syncing to chain tip from that point. This allows wallets and other software using the full node to start receiving and sending transactions within minutes of the node being started instead of having to wait hours or days for it to sync and validate the chain from the genesis block.

When you use AssumeUTXO, the node starts syncing from the snapshot to the chain tip, then the node downloads and verifies the old blockchain history in the background until it eventually verifies its initial UTXO state at the loaded snapshot, allowing it to ultimately obtain the same trustless security as a node that doesn’t use AssumeUTXO.

How to Use UTXO Snapshots

  1. Download a UTXO Snapshot file. You can find one for block height 840,000 on my site or from this torrent: magnet:?xt=urn:btih:596c26cc709e213fdfec997183ff67067241440c&dn=utxo-840000.dat&tr=udp%3A%2F%2Ftracker.bitcoin.sprovoost.nl%3A6969
  2. Download Bitcoin Core v28 or later.
  3. Run Bitcoin Core: bitcoind -daemon
  4. Wait for the block headers to finish syncing (should only take 1 or 2 minutes)
  5. Load the snapshot via: bitcoin-cli loadtxoutset /path/to/utxo-snapshot-height-840000.dat
  6. Wait for the command to finish (this will take tens of minutes depending upon the speed of your machine)
  7. Once the command finishes, your node's sync progress will jump forward to the block height of the snapshot and continue syncing normally from there.
  8. After it reaches chain tip, the node will start performing a sync from genesis in the background, but the node will be usable during that time.

Frequently Asked Questions

  1. Does it matter where I get the snapshot dat file from? No; Bitcoin Core will only load a snapshot with an aggregate UTXO set hash that matches one that's hard coded into Core.
  2. Can I create my own snapshots and load them? You can generate snapshots with the dumptxoutset RPC command or with this utility script. However, you won't be able to load a snapshot unless it's at one of the block heights hard coded into Core. At time of writing, the only supported height is 840,000.
  3. Can I use this to sync a pruned node? Yes.
  4. Can I use this to sync a node with indexes enabled? Yes, though it won't make building the indexes any faster - they still have to be generated linearly from genesis.

How Much Faster Does the Node Sync?

I ran two syncs of Bitcoin Core v28 on my benchmark machine with full default settings. One sync ran entirely from genesis while the other loaded the snapshot as soon as it started syncing.

It took 10 minutes for the node to load the snapshot, then it took 84 minutes to finish syncing to chain tip. On the other hand, it took 659 minutes to perform a full sync from genesis.

So we can see that the speedup is quite significant!

Is It Worth the Trouble?

You'll want to weigh some trade-offs when decided if you want to sync your node from a snapshot.

  1. How much of a rush are you in to be able to use your node?
  2. How fast is your node hardware? If it's really fast and can sync from genesis in less than a day, perhaps it's not worth the extra steps to load a snapshot. Something like a Raspberry Pi would likely find much greater benefit from loading a snapshot.

While I only expect that more technically savvy node operators who are comfortable operating on the command line will take advantage of this feature right now, it can certainly be worth the extra steps in order to get an order of magnitude speedup!

Perhaps in the future, Bitcoin Core could offer a bundled download that includes a recent snapshot that gets automatically loaded on startup so that less sophisticated users can also take advantage of this functionality.

Comments

All Comments

Recommended for you

  • Iran Plans Access and Fee System for Vessels in the Strait of Hormuz

    On March 30, according to CCTV, Aladdin Boroujerdi, a member of the National Security and Foreign Policy Commission of the Iranian Islamic Parliament, stated that in light of the current international security situation and external threats, Iran is seriously considering withdrawing from the Treaty on the Non-Proliferation of Nuclear Weapons. Additionally, Iran plans to implement stricter access and fee systems for vessels passing through the Strait of Hormuz. Boroujerdi also mentioned that Iran currently has complete control over this strategic waterway. He revealed that Iran intends to establish a new management system for the strait, modeled after Turkey's management of the Bosphorus and Egypt's management of the Suez Canal, requiring vessels passing through the strait to obtain permission from Iran and pay corresponding transit and service fees. (Dongxin News Agency)

  • Ethereum Foundation Stakes $46.2 Million in ETH

    On March 30, Arkham monitoring reported that the Ethereum Foundation has just staked $46.2 million worth of ETH, marking the largest amount of ETH staked in the foundation's history.

  • US Special Forces May Participate in Island Seizure or Iran Nuclear Tasks

    On March 30, according to a report by the New York Times on March 29, two U.S. military officials revealed that hundreds of U.S. special operations personnel have arrived in the Middle East, including Army Rangers and Navy SEALs, to provide 'more options' for U.S. military actions against Iran. The report states that these special operations forces have not yet been assigned specific tasks, but as professional ground combat units, they may be involved in operations related to the Strait of Hormuz, Hark Island, or Iran's nuclear facilities. (CCTV International News)

  • FTSE China A50 Index Futures Turn Positive

    On March 30, FTSE China A50 Index futures turned positive after previously dropping more than 1%. (Jin Shi)

  • Trump Claims Iran Has Agreed to Most of the '15-Point Plan'

    On March 30, CNN reported that U.S. President Trump stated that Iran has agreed to most of the content in the ceasefire '15-point plan'. (Xinhua News Agency)

  • BTC Surpasses $67,000

    Market data shows that BTC has surpassed $67,000, currently priced at $67,017.45, with a 24-hour increase of 0.44%. The market is experiencing significant fluctuations, so please ensure proper risk management.

  • Trump: US Will Act Swiftly if Iran Charges Fees in Strait of Hormuz

    On March 30, when asked about Iran's plans to charge fees in the Strait of Hormuz, US President Trump stated that he needed to confirm the validity of this information, but that the US could terminate such actions very quickly. "We can complete this task in two minutes. We can do it so swiftly that you would feel dizzy," he said. He noted that Saudi Arabia, Qatar, the UAE, and Bahrain are retaliating against Iran. "I was very surprised by their attack. But once attacked, they retaliated effectively. We have very strong communication, but people from all these countries say they have been fighting all along," he added. (Jinshi)

  • A-shares Trading Volume Exceeds 500 Billion Yuan

    On March 30, the trading volume of the Shanghai and Shenzhen stock exchanges exceeded 500 billion yuan, an increase of 86.4 billion yuan compared to the same time the previous day. (Jin Shi)

  • Trump: Iran Has Allowed 20 Tankers to Pass Through the Strait of Hormuz

    On March 30, U.S. President Trump stated on the 29th that Iran allowed 10 tankers flying the Pakistani flag to pass through the Strait of Hormuz last week, and the number has now increased to 20. He told the Financial Times, 'These tankers have set sail and are heading straight through the center of the strait.' The decision was approved by Iran's Islamic Parliament Speaker Ghalibaf. (Xinhua)

  • China's AI Model Usage Surges Nearly 34% Month-on-Month, Outpacing the U.S. for Four Consecutive Weeks

    On March 30, according to the latest data from institutions, the total global usage of AI large models reached 22.7 trillion tokens last week, reflecting an 11.2% month-on-month increase. Among the listed AI models, the weekly usage of Chinese AI models rose to 9.857 trillion tokens, marking a 33.94% increase from the previous week; the weekly usage of U.S. AI models was 3.007 trillion tokens, with a month-on-month growth of 1.79%. The weekly usage of Chinese AI models has increased for four consecutive weeks, consistently surpassing that of the U.S. In the past week, the top four global usage rankings were all occupied by Chinese AI models. Xiaomi's MiMo-V2-Pro maintained its top position with a weekly usage of 3.96 trillion tokens; Step 3.5 Flash (free) ranked second with a weekly usage of 1.49 trillion tokens; MiniMax M2.7 entered the rankings at third place with a weekly usage of 1.29 trillion tokens; and DeepSeek V3.2 ranked fourth with a weekly usage of 1.24 trillion tokens, reflecting an 8.7% increase. Meanwhile, MiniMax M2.5, which ranked third the previous week, fell to ninth place, nearly dropping out of the rankings, with a weekly usage of 0.909 trillion tokens, down 30% month-on-month. (Dongxin News Agency)