HomePhabricator

walletdb: remove fAggressive from Salvage

Description

walletdb: remove fAggressive from Salvage

Summary:

The only call to Salvage set fAggressive = true so remove that parameter
and always use DB_AGGRESSIVE

Partial backport (5/11) of core PR18918:
https://github.com/bitcoin/bitcoin/pull/18918/commits/07250b8dcebe2b97ed0fd900ad35cba4091b8ecf

Depends on D8591.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on May 15 2020, 22:48
FabienCommitted on Dec 7 2020, 08:32
FabienPushed on Dec 7 2020, 08:33
Reviewer
Restricted Project
Differential Revision
D8592: walletdb: remove fAggressive from Salvage
Parents
rABC6877a3d97156: walletdb: don't automatically salvage when corruption is detected
Branches
Unknown
Tags
Unknown