HomePhabricator

Remove version from UTXO and undo datastructures.
80df982ab2f6Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Remove version from UTXO and undo datastructures.

Summary:
This is a continuation of the work started with D342 . As this info is not very useful, we don't want to be saving it for every single UTXO so we drop it.

This require to add a specific way to verify the hash for on disk data as some of the legacy data do contain a version number that we do not parse anymore, and, as a result, checksum do not match the old way.

Test Plan:

make check
../../qa/pull-tester/rpc-tests.py

Start a node on a legacy .bitcoin folder, verify that it pick it up and can sync from it.
Perform a reorg and verify that it behaves properly.

Reviewers: freetrader, kyuupichan, awemany, sickpig, #bitcoin_abc, CCulianu

Reviewed By: freetrader, awemany, #bitcoin_abc, CCulianu

Subscribers: zander, CCulianu

Differential Revision: https://reviews.bitcoinabc.org/D362

Details

Provenance
deadalnixAuthored on Jul 21 2017, 13:07
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Reviewer
Restricted Project
Differential Revision
D362: Remove version from UTXO and undo datastructures.
Parents
rSTAGINGabce07aedab4: [net] Allow disconnectnode RPC to be called with node id
Branches
Unknown
Tags
Unknown