Page MenuHomePhabricator

UTXO snapshot creation (dumptxoutset)
ClosedPublic

Authored by deadalnix on Oct 16 2020, 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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