bitcoin/src/wallet
Wladimir J. van der Laan ebc6542d98
Merge #15322: wallet: Add missing cs_db lock
712d35bc56 wallet: Add missing cs_db lock (João Barbosa)

Pull request description:

  Without this lock `BerkeleyEnvironment::~BerkeleyEnvironment` and `GetWalletEnv` would race for `g_dbenvs`. This wasn't detected before because thread safety analysis does not check constructors
  and destructors.

  Reference: http://releases.llvm.org/5.0.2/tools/clang/docs/ThreadSafetyAnalysis.html#no-checking-inside-constructors-and-destructors

Tree-SHA512: 350cb2b991ca699a6bca85f87c82c38f0814484c8ccb0d7d83cb3bff9afcf60dd32b2a9554a9e72eb5803bfad8b6970fe7da618b39be5889178b86faa1b74124
2019-02-04 13:02:43 +01:00
..
test Merge #11911: Free BerkeleyEnvironment instances when not in use 2019-01-31 18:05:24 +01:00
coincontrol.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
coincontrol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
coinselection.cpp Introduce a Shuffle for FastRandomContext and use it in wallet and coinselection 2018-12-12 14:22:12 -08:00
coinselection.h amount: Move CAmount CENT to unit test header 2018-09-17 14:34:56 -04:00
crypter.cpp [tools] Add wallet inspection and modification tool 2019-01-30 16:26:52 -05:00
crypter.h [tools] Add wallet inspection and modification tool 2019-01-30 16:26:52 -05:00
db.cpp wallet: Add missing cs_db lock 2019-02-01 21:13:08 +00:00
db.h Merge #11911: Free BerkeleyEnvironment instances when not in use 2019-01-31 18:05:24 +01:00
feebumper.cpp Pass chain locked variables where needed 2018-11-06 11:44:40 -04:00
feebumper.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
fees.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
fees.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
init.cpp rpc: Make unloadwallet wait for complete wallet unload 2019-01-15 00:01:00 +00:00
rpcdump.cpp Merge #15308: build: Restore compatibility with older boost 2019-02-01 13:05:30 -05:00
rpcwallet.cpp Merge #15235: Do not import private keys to wallets with private keys disabled 2019-02-01 14:01:32 +01:00
rpcwallet.h Simplify arguments to SignPSBTInput 2018-11-01 12:11:24 -07:00
wallet.cpp Merge #15308: build: Restore compatibility with older boost 2019-02-01 13:05:30 -05:00
wallet.h Merge #13926: [Tools] bitcoin-wallet - a tool for creating and managing wallets offline 2019-01-31 11:07:51 -05:00
walletdb.cpp Use C++11 default member initializers 2019-01-05 16:16:37 +01:00
walletdb.h [wallet] Kill accounts 2018-08-30 16:08:42 +02:00
wallettool.cpp [tools] Add wallet inspection and modification tool 2019-01-30 16:26:52 -05:00
wallettool.h [tools] Add wallet inspection and modification tool 2019-01-30 16:26:52 -05:00
walletutil.cpp Merge #14350: Add WalletLocation class 2018-11-05 13:17:03 +01:00
walletutil.h wallet: Add WalletLocation utility class 2018-10-25 11:53:17 +01:00