bitcoin/src/wallet
Wladimir J. van der Laan d42a4fe5aa
Merge #11041: Add LookupBlockIndex
92fabcd44 Add LookupBlockIndex function (João Barbosa)
43a32b739 Add missing cs_lock in CreateWalletFromFile (João Barbosa)
f814a3e8f Fix cs_main lock in LoadExternalBlockFile (João Barbosa)
c651df8b3 Lock cs_main while loading block index in AppInitMain (João Barbosa)
02de6a6bc Assert cs_main is held when accessing mapBlockIndex (João Barbosa)

Pull request description:

  Replace all `mapBlockIndex` lookups with the new `LookupBlockIndex()`. In some cases it avoids a second lookup.

Tree-SHA512: ca31118f028a19721f2191d86f2dd398144d04df345694575a64aeb293be2f85785201480c3c578a0ec99690516205708558c0fd4168b09313378fd4e60a8412
2018-03-13 19:12:35 +01:00
..
test Merge #11687: External wallet files 2018-03-07 17:11:54 +01:00
coincontrol.h [wallet] Add change type to CCoinControl 2018-01-24 15:52:05 +00:00
crypter.cpp Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
crypter.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
db.cpp Create new wallet databases as directories rather than files 2018-03-03 10:26:55 -05:00
db.h Allow wallet files in multiple directories 2018-03-03 10:26:55 -05:00
feebumper.cpp Merge #12356: Fix 'mempool min fee not met' debug output 2018-02-15 16:35:42 +01:00
feebumper.h feebumper: Use PreconditionChecks to determine bump eligibility 2018-01-29 18:31:33 -05:00
fees.cpp Disable wallet fallbackfee by default on mainnet 2018-02-25 09:33:46 +08:00
fees.h scripted-diff: Replace #include "" with #include <> (ryanofsky) 2017-11-16 08:23:01 +13:00
init.cpp Create new wallet databases as directories rather than files 2018-03-03 10:26:55 -05:00
init.h [trivial] fixup comment for VerifyWallets() 2017-09-07 16:22:11 -07:00
rpcdump.cpp Merge #11041: Add LookupBlockIndex 2018-03-13 19:12:35 +01:00
rpcwallet.cpp Merge #11041: Add LookupBlockIndex 2018-03-13 19:12:35 +01:00
rpcwallet.h Split signrawtransaction into wallet and non-wallet 2018-02-17 11:42:00 -05:00
wallet.cpp Merge #11041: Add LookupBlockIndex 2018-03-13 19:12:35 +01:00
wallet.h Split up and sanitize CAccountingEntry serialization 2018-03-11 10:56:31 -07:00
walletdb.cpp Merge #11687: External wallet files 2018-03-07 17:11:54 +01:00
walletdb.h Allow wallet files in multiple directories 2018-03-03 10:26:55 -05:00
walletutil.cpp Don't allow relative -walletdir paths 2018-01-18 15:09:27 -05:00
walletutil.h Cleanups for walletdir PR 2017-12-13 23:36:43 +13:00