HomePhabricator

Fix the deserialization of CoinEntry

Description

Fix the deserialization of CoinEntry

Summary:
D9169 introduced new methods to make serialization/deserialization
easier to read and write, however the migration of CoinEntry is missing a VARINT() declaration and triggers a database corruption.

Test Plan:

ninja all check-all

./src/bitcoind

Should return no database corruption.

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
FabienAuthored on Feb 5 2021, 21:10
FabienPushed on Feb 5 2021, 21:48
Reviewer
Restricted Project
Differential Revision
D9181: Fix the deserialization of CoinEntry
Parents
rABC94640cfde31c: [backport#18587] gui: Avoid wallet tryGetBalances calls in WalletModel…
Branches
Unknown
Tags
Unknown