Page MenuHomePhabricator

[assumeutxo] add mainnet and testnet UTXO snapshot checkpoints
AcceptedPublic

Authored by PiRK on Thu, May 15, 08:59.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
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

Event Timeline

PiRK edited the summary of this revision. (Show Details)
PiRK added a parent revision: D18098: Bump version to 0.31.5.

add comments, add dependency

PiRK published this revision for review.Thu, May 15, 19:52
Fabien requested changes to this revision.Thu, May 15, 20:58
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/kernel/chainparams.cpp
216 ↗(On Diff #54023)

on may 15 we released 0.31.4, so this date is weird. The version is enough imo

This revision now requires changes to proceed.Thu, May 15, 20:58

remove block date in comment

This revision is now accepted and ready to land.Fri, May 16, 08:59