diff options
author | fanquake <fanquake@gmail.com> | 2023-05-29 16:48:11 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-05-29 17:09:47 +0100 |
commit | fb4f04768634b1c494618f624e84c728f21e218e (patch) | |
tree | 3361ecb850ce7e27abeab95532057e21c80750ed /contrib | |
parent | dfe658009d5ab732bf48319588f532fbd2f11f1a (diff) | |
parent | 59c89447499bd9d6202269879555b8bc37373aa2 (diff) | |
download | bitcoin-fb4f04768634b1c494618f624e84c728f21e218e.tar.xz |
Merge bitcoin/bitcoin#27724: build: disable boost multi index safe mode in debug mode
59c89447499bd9d6202269879555b8bc37373aa2 build: disable boost multi index safe mode (willcl-ark)
Pull request description:
Fixes #27586
Disable boost multi index safe mode by default when configuring with
--enable-debug.
This option can cause transactions to take a long time to be accepted
into the mempool under certain conditions; iterator destruction takes
O(n) time vs O(1) as they are stored in a singly linked list. See
27586 and the [boost docs](https://www.boost.org/doc/libs/1_58_0/boost/multi_index/detail/safe_mode.hpp) for more information.
Re-enable it on the CI builds which previously had it enabled.
Re-enable it on the msan fuzz task so that we have fuzz tasks testing
with it enabled and disabled in this repo.
ACKs for top commit:
hebasto:
~ACK 59c89447499bd9d6202269879555b8bc37373aa2~
fanquake:
ACK 59c89447499bd9d6202269879555b8bc37373aa2
Tree-SHA512: ed654f63dbebdd02e4414d1f81147d92a4d490dbb5a2e0376858e3129097645f3a2df45191d6b40c410a76e803b0d28796d1a01c1d2fd995b94e8b7eb3949027
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions