diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-01-31 08:55:33 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-01-31 08:55:35 +0100 |
commit | eacc0e87f8a69e57fab0e5880416e3897a24922a (patch) | |
tree | c9dd9f596ff41cbcd58b14fdb707a66554d5eacd /src/hash.cpp | |
parent | 4efdbabd70cf084eef9366088c867f850a4e4065 (diff) | |
parent | 99a6b699cd650f13d7200d344bf5e2d4b45b20ac (diff) |
Merge bitcoin/bitcoin#24168: Fix some race conditions in `BanMan::DumpBanlist()`
99a6b699cd650f13d7200d344bf5e2d4b45b20ac Fix race condition for SetBannedSetDirty() calls (Hennadii Stepanov)
83c76467157bbca023bffda0f0bc2f01eb76a040 Avoid calling BanMan::SweepBanned() twice in a row (Hennadii Stepanov)
33bda6ab87cc1b569e96da337296eb3e9ce6db1a Fix data race condition in BanMan::DumpBanlist() (Hennadii Stepanov)
5e20e9ec3859205c220867ca49efb752b8edaacc Prevent possible concurrent CBanDB::Write() calls (Hennadii Stepanov)
Pull request description:
This PR split from bitcoin/bitcoin#24097 with some additions. This makes the following switch from `RecursiveMutex` to `Mutex` a pure refactoring.
See details in commit messages.
ACKs for top commit:
w0xlt:
reACK 99a6b69
shaavan:
ACK 99a6b699cd650f13d7200d344bf5e2d4b45b20ac
Tree-SHA512: da4e7268c7bd3424491f446145f18af4ccfc804023d0a7fe70e1462baab550a5e44f9159f8b9f9c7820d2c6cb6447b63883616199e4d9d439ab9ab1b67c7201b
Diffstat (limited to 'src/hash.cpp')
0 files changed, 0 insertions, 0 deletions