Page MenuHomePhabricator

UTXO snapshot creation (dumptxoutset)
ClosedPublic

Authored by deadalnix on Fri, Oct 16, 00:38.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Project
Commits
rABCa2fd700b8464: UTXO snapshot creation (dumptxoutset)
Summary
  • add unused SnapshotMetadata class
  • coinstats: add coins_count

Also changes existing CCoinsStats attributes to be C++11 initialized.

  • rpc: add dumptxoutset

Allows the creation of a UTXO snapshot to disk.

  • devtools: add utxo_snapshot.sh

to allow easy (if not time-consuming) generation and verification of
snapshots.

  • test: add dumptxoutset RPC test

This is a backport of Core PR16899

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Fri, Oct 16, 00:56
This revision was landed with ongoing or failed builds.Fri, Oct 16, 00:59
This revision was automatically updated to reflect the committed changes.