umbrel-bitcoin icon indicating copy to clipboard operation
umbrel-bitcoin copied to clipboard

[Feature Request] - Implement Fast Sync (UTXO Set snapshot)

Open ffrediani opened this issue 1 year ago • 5 comments

Can Fast Sync be implemented on Umbrel Bitcoin in order to accelerate initial blockchain synchronization and allow users to start using some applications that are fine to use a in this way or when using a pruned node ?

How can UTXO Set snapshot can be implemented or at least be optional on Umbrel Bitcoin web interface to allow the user to choose it specifically in such cases ?

Reference: https://docs.btcpayserver.org/Docker/fastsync/

ffrediani avatar Jun 04 '24 22:06 ffrediani

I would recommend to implement support for AssumeUTXO instead, which will be available for mainnet use starting with Bitcoin Core v28 which should be available some time in October: https://github.com/bitcoin/bitcoin/issues/29891 I expect that BTCPayServer replaces Fast Sync with AssumeUTXO at some point in the future too.

fjahr avatar Aug 18 '24 16:08 fjahr

https://blog.lopp.net/bitcoin-node-sync-with-utxo-snapshots/

yshwanth avatar Mar 12 '25 11:03 yshwanth

https://blog.lopp.net/bitcoin-node-sync-with-utxo-snapshots/ How do we do this in Umbrel for fast sync and is there any guide ?

Why do you want to use fast sync and not assumeutxo? There is up-to-date documentation on assumeutxo: https://github.com/bitcoin/bitcoin/blob/master/doc/assumeutxo.md and the next bitcoin core release (v29) will allow a mainnet snapshot for 880,000: https://github.com/bitcoin/bitcoin/pull/31969

fjahr avatar Mar 12 '25 12:03 fjahr

That sounds a quiet interesting thing to have on Umbrel UX certainly.

https://blog.lopp.net/bitcoin-node-sync-with-utxo-snapshots/ How do we do this in Umbrel for fast sync and is there any guide ?

ffrediani avatar Mar 12 '25 22:03 ffrediani

There is up-to-date documentation on assumeutxo: https://github.com/bitcoin/bitcoin/blob/master/doc/assumeutxo.md and the next bitcoin core release (v29) will allow a mainnet snapshot for 880,000: bitcoin/bitcoin#31969

Steps

  • Download the utxo .dat file magnet using qBittorrent
  • Copy from utxo880k.dat file in Downloads, paste inside bitcoin data folder
  • Go to terminal inside bitcoin docker, execute those commands
  • Check troubleshoot for logs and successful chaintip
  • Check Bitcoin app to sync from 880000 onwards...!

yshwanth avatar Jun 19 '25 16:06 yshwanth