mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-06 10:18:44 -05:00
6a72f26968
This change is intended to make the bitcoin node and its rpc, network and gui interfaces more responsive while the wallet is in use. Currently because the node's cs_main mutex is always locked before the wallet's cs_wallet mutex (to prevent deadlocks), cs_main currently stays locked while the wallet does relatively slow things like creating and listing transactions. This commit only remmove chain lock tacking in wallet code, and invert lock order from cs_main, cs_wallet to cs_wallet, cs_main. must happen at once to avoid any deadlock. Previous commit were only removing Chain::Lock methods to Chain interface and enforcing they take cs_main. Remove LockChain method from CWallet and Chain::Lock interface. |
||
---|---|---|
.. | ||
coinselector_tests.cpp | ||
db_tests.cpp | ||
init_test_fixture.cpp | ||
init_test_fixture.h | ||
init_tests.cpp | ||
ismine_tests.cpp | ||
psbt_wallet_tests.cpp | ||
scriptpubkeyman_tests.cpp | ||
wallet_crypto_tests.cpp | ||
wallet_test_fixture.cpp | ||
wallet_test_fixture.h | ||
wallet_tests.cpp |