bitcoin/src/wallet/test
MarcoFalke e895fdc9fc
Merge #11634: wallet: Add missing cs_wallet/cs_KeyStore locks to wallet
69e7ee2dd8 Add GUARDED_BY(cs_wallet) for setExternalKeyPool, mapKeyMetadata, m_script_metadata and setLockedCoins (practicalswift)
37b2538c2d Add GUARDED_BY(cs_wallet) for encrypted_batch, nWalletMaxVersion, m_max_keypool_index and nOrderPosNext (practicalswift)
dee42927c9 wallet: Add Clang thread safety analysis annotations (practicalswift)
1c7e25db0c wallet: Add missing locks (practicalswift)

Pull request description:

  Add missing wallet locks:

  * Calling the function `GetConflicts(...)` requires holding the mutex `cs_wallet`
  * Calling the function `IsSpent(...)` requires holding the mutex `cs_wallet`
  * Accessing the variables `mapKeys` and `mapCryptedKeys` requires holding the mutex `cs_KeyStore`
  * Accessing the variable `nTimeFirstKey` requires holding the mutex `cs_wallet`
  * Accessing the variable `mapWallet` requires holding the mutex `cs_wallet`
  * Accessing the variable `nTimeFirstKey` requires holding the mutex `cs_wallet`

Tree-SHA512: 8a7b9a4e1f2147e77c04b817617a06304a2e2159148d3eb3514a3c09c41d77ef7e773df6e63880ad9acc026e00690f72d0c51f3f86279177f672d477423accca
2018-10-24 05:01:29 -04:00
..
coinselector_tests.cpp tests: Use MakeUnique to construct objects owned by unique_ptrs 2018-09-21 11:03:21 +02:00
init_test_fixture.cpp wallet: Add walletdir arg unit tests 2018-09-12 21:05:53 -04:00
init_test_fixture.h wallet: Add walletdir arg unit tests 2018-09-12 21:05:53 -04:00
init_tests.cpp wallet: Remove trailing separators from -walletdir arg 2018-09-12 21:05:53 -04:00
psbt_wallet_tests.cpp wallet: Add missing locks 2018-10-09 11:58:32 +02:00
wallet_crypto_tests.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet_test_fixture.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet_test_fixture.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet_tests.cpp Merge #10605: Add AssertLockHeld assertions in CWallet::ListCoins 2018-08-31 09:03:05 -04:00