tapyrus-core
tapyrus-core copied to clipboard
UTXO snapshot creation in Tapyrus
This PR ports 'dumptxoutset
' rpc from bitcoin core. It is renamed as utxosnapshot
in Tapyrus.
SnapshotMetadata
class in Tapyrus includes network Id and mode. Other data such as version, Bloch hash and coin count are the same as bitcoin. But block height is not included as it can be deduced from the hash.
Functional test rpc_dumptxoutset.py
is ported as rpc_utxosnapshot.py
and enhanced to verify the snapshot metadata