No description provided.
wallet: Avoid multiple BerkeleyBatch in DelAddressBook #19738
pull promag wants to merge 1 commits into bitcoin:master from promag:2020-08-deladdressbook changing 1 files +5 −3-
promag commented at 11:09 PM on August 16, 2020: member
- DrahtBot added the label Wallet on Aug 16, 2020
-
meshcollider commented at 3:24 AM on August 17, 2020: contributor
Code review ACK b2ce2b97501f8642b79da024dd485545b67f5533
-
achow101 commented at 5:08 PM on August 18, 2020: member
In
CWallet::FindNonChangeParentOutput, I think we should add anAssertLockHeld(cs_wallet)too. -
DrahtBot commented at 8:14 PM on August 20, 2020: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #18608 (refactor: Remove CAddressBookData::destdata by ryanofsky)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-
wallet: Avoid multiple BerkeleyBatch in DelAddressBook abac436760
- promag force-pushed on Sep 6, 2020
-
achow101 commented at 5:28 PM on September 6, 2020: member
ACK abac4367607d8d2b628e4db6a9663c960bacdacc
-
in src/wallet/wallet.cpp:2349 in abac436760
2345 | @@ -2346,6 +2346,7 @@ std::map<CTxDestination, std::vector<COutput>> CWallet::ListCoins() const 2346 | 2347 | const CTxOut& CWallet::FindNonChangeParentOutput(const CTransaction& tx, int output) const 2348 | { 2349 | + AssertLockHeld(cs_wallet);
jonatack commented at 7:14 PM on September 6, 2020:@achow101 per #19738 (comment) I'm curious why this should be added, as there is already an
AssertLockHeld(cs_wallet);at the top of its caller,ListCoins(). For a future call from elsewhere?
jonatack commented at 7:55 PM on September 6, 2020:No worries, I was only trying to understand the locking. This is fine.
jonatack commented at 7:18 PM on September 6, 2020: memberACK abac4367607d8d2b628e4db6a9663c960bacdacc
meshcollider commented at 3:43 AM on September 7, 2020: contributorre-utACK abac4367607d8d2b628e4db6a9663c960bacdacc
meshcollider merged this on Sep 7, 2020meshcollider closed this on Sep 7, 2020Fabcien referenced this in commit df5b53eeee on Sep 27, 2021DrahtBot locked this on Feb 15, 2022
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:14 UTC
More mirrored repositories can be found on mirror.b10c.me