0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-10 10:52:31 -05:00
bitcoin-bitcoin-core/src/bench
Russell Yanofsky ab31b9d6fe Fix wallet unload race condition
Currently it's possible for ReleaseWallet to delete the CWallet pointer while
it is processing BlockConnected, etc chain notifications.

To fix this, unregister from notifications earlier in UnloadWallet instead of
ReleaseWallet, and use a new RegisterSharedValidationInterface function to
prevent the CValidationInterface shared_ptr from being deleted until the last
notification is actually finished.
2020-03-27 15:17:35 +00:00
..
data Add deserialize + CheckBlock benchmarks, and a full block hex 2016-11-09 11:27:59 -08:00
.gitignore Ignore bench_bitcoin binary. 2015-10-06 17:46:12 +02:00
base58.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
bech32.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
bench.cpp Fix benchmarks filters 2020-01-28 17:10:15 +02:00
bench.h scripted-diff: Bump copyright of files changed in 2020 2020-01-15 02:18:00 +07:00
bench_bitcoin.cpp Merge #17279: refactor: Remove redundant c_str() calls in formatting 2019-10-28 15:10:06 -04:00
block_assemble.cpp rpc: Remove mempool global from miner 2019-12-23 06:12:10 +07:00
ccoins_caching.cpp refactor: test/bench: dedup SetupDummyInputs() 2020-02-28 21:09:03 +01:00
chacha20.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
chacha_poly_aead.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
checkblock.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
checkqueue.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
coin_selection.cpp Refactor: Allow LegacyScriptPubKeyMan to be null 2020-01-23 16:34:28 -05:00
crypto_hash.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
data.cpp bench: Move generated data to a dedicated translation unit 2019-07-02 18:11:15 +01:00
data.h bench: Move generated data to a dedicated translation unit 2019-07-02 18:11:15 +01:00
duplicate_inputs.cpp [validation] Add CValidationState subclasses 2019-10-29 15:46:45 -04:00
examples.cpp scripted-diff: Replace MilliSleep with UninterruptibleSleep 2020-02-21 10:06:21 -08:00
gcs_filter.cpp blockfilter: Refactor GCS params into struct. 2018-11-06 09:12:54 -08:00
lockedpool.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
mempool_eviction.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
mempool_stress.cpp bench: Remove redundant copy constructor in mempool_stress 2019-11-01 18:15:53 -04:00
merkle_root.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
poly1305.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
prevector.cpp Drop defunct IS_TRIVIALLY_CONSTRUCTIBLE handling from prevector.h 2018-11-14 12:19:04 -05:00
rollingbloom.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
rpc_blockchain.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
rpc_mempool.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
util_time.cpp util: Add type safe GetTime 2019-05-23 14:12:32 -04:00
verify_script.cpp Merge #16902: O(1) OP_IF/NOTIF/ELSE/ENDIF script implementation 2020-03-14 21:03:45 +01:00
wallet_balance.cpp Fix wallet unload race condition 2020-03-27 15:17:35 +00:00