HomePhabricator

[assumeutxo] add mainnet and testnet UTXO snapshot checkpoints

Description

[assumeutxo] add mainnet and testnet UTXO snapshot checkpoints

Summary:
Make it possible to use the loadtxoutset command with UTXO snapshots matching these exact parameters.

Depends on D18098

Test Plan:

src/bitcoin-cli  [-testnet] -rpcclienttimeout=0 -named dumptxoutset utxo_testnet_${height}.dat rollback=${height}

Check the output matches these parameters.

Move the utxo snapshot files out of the .bitcoin[/testnet3] data directory.
With a fresh node (new data directory), start the node then load the utxo snapshot and let it fully sync.

src/bitcoin-cli [-testnet] -rpcclienttimeout=0 loadtxoutset ~/utxo_mainnet_${height}.dat

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18093

Details

Provenance
PiRKAuthored on Thu, May 15, 07:57
PiRKPushed on Fri, May 16, 12:57
Reviewer
Restricted Project
Differential Revision
D18093: [assumeutxo] add mainnet and testnet UTXO snapshot checkpoints
Parents
rABC5a6d424c4a67: Bump version to 0.31.5
Branches
Unknown
Tags
Unknown