HomePhabricator

No need to check for duplicate fileids in all dbenvs

Description

No need to check for duplicate fileids in all dbenvs

Summary:
Since we have .walletlock in each directory, we don't need the duplicate
fileid checks across all dbenvs as it shouldn't be possible anyways.

This is a backport of core#19335 [4/5]
https://github.com/bitcoin/bitcoin/pull/19335/commits/00f0041351bcd6ddbab110df1189f79ce011e192

Depends on D10036

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Jul 16 2020, 18:24
PiRKCommitted on Sep 6 2021, 16:03
PiRKPushed on Sep 6 2021, 16:03
Reviewer
Restricted Project
Differential Revision
D10037: No need to check for duplicate fileids in all dbenvs
Parents
rABC2a0157d45a65: walletdb: Move Db->open to BerkeleyDatabase::Open
Branches
Unknown
Tags
Unknown