Page MenuHomePhabricator

rpc: Enhance metadata of the dumptxoutset output
AcceptedPublic

Authored by PiRK on Thu, Apr 24, 19:25.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

The following data is added:

  • A newly introduced utxo set magic
  • A version number
  • The network magic
  • The block height

This concludes backport of core#29612
https://github.com/bitcoin/bitcoin/pull/29612/commits/542e13b2937356810bda2c41be83c3b1675e2f2f

Depends on D17989

Test Plan

ninja all check-all

Dump an assumeutxo snapshot on a fully synced node, load it on a fresh new node, let it fully validate the chain

Event Timeline

PiRK edited the test plan for this revision. (Show Details)

remove mentions of signet in logs

PiRK published this revision for review.Fri, Apr 25, 06:13
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/kernel/chainparams.cpp
538

This is correct but very confusing. At some point we should have the type differentiated for the disk and network magic bytes

This revision is now accepted and ready to land.Fri, Apr 25, 09:57
test/functional/feature_assumeutxo.py
113