0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00
bitcoin-core/src
Wladimir J. van der Laan 2b88f67e0b
Merge #14320: [bugfix] wallet: Fix duplicate fileid detection
4ea77320c5 tests: add test case for loading copied wallet twice (Chun Kuan Lee)
2d796faf62 wallet: Fix duplicate fileid (Chun Kuan Lee)

Pull request description:

  The implementation in current master can not detect if the file ID is duplicate with flushed `BerkeleyEnvironment`. This PR would store the file ID in a global variable `g_fileids` and release it when the `BerkeleyDatabase` close. So it won't have to rely on a `Db*`.

  Fix #14304

Tree-SHA512: 0632254b696bb4c671b5e2e5781e9012df54ba3c6ab0f919d9f6d31f374d3b0f8bd968b90b537884ac8c3d2906afdd58c2ce258666263464c7dbd636960b0e8f
2018-10-24 17:37:32 +02:00
..
bench
compat
config
consensus
crypto
index
interfaces Merge #11634: wallet: Add missing cs_wallet/cs_KeyStore locks to wallet 2018-10-24 05:01:29 -04:00
leveldb
obj
obj-test
policy
primitives Avoid 1 << 31 (UB) in calculation of SEQUENCE_LOCKTIME_DISABLE_FLAG 2018-10-18 23:14:20 +02:00
qt Merge #14451: Add BIP70 deprecation warning and allow building GUI without BIP70 support 2018-10-24 16:29:50 +02:00
rpc Merge #14296: [wallet] Remove addwitnessaddress 2018-10-24 08:09:48 -04:00
script Add key origin support to descriptors 2018-10-20 20:29:02 -07:00
secp256k1
support
test Add tests for key origin support 2018-10-20 20:29:02 -07:00
univalue
wallet Merge #14320: [bugfix] wallet: Fix duplicate fileid detection 2018-10-24 17:37:32 +02:00
zmq
.clang-format
addrdb.cpp
addrdb.h
addrman.cpp
addrman.h
amount.h
arith_uint256.cpp
arith_uint256.h
base58.cpp
base58.h
bech32.cpp
bech32.h
bitcoin-cli-res.rc
bitcoin-cli.cpp
bitcoin-tx-res.rc
bitcoin-tx.cpp
bitcoind-res.rc
bitcoind.cpp
blockencodings.cpp
blockencodings.h
blockfilter.cpp
blockfilter.h
bloom.cpp
bloom.h
chain.cpp
chain.h
chainparams.cpp
chainparams.h
chainparamsbase.cpp
chainparamsbase.h
chainparamsseeds.h
checkpoints.cpp
checkpoints.h
checkqueue.h
clientversion.cpp
clientversion.h
coins.cpp
coins.h
compat.h
compressor.cpp
compressor.h
core_io.h
core_memusage.h
core_read.cpp
core_write.cpp
cuckoocache.h
dbwrapper.cpp
dbwrapper.h
dummywallet.cpp interfaces: Add getWalletDir and listWalletDir to Node 2018-10-18 23:26:06 +01:00
fs.cpp
fs.h
hash.cpp
hash.h
httprpc.cpp
httprpc.h
httpserver.cpp
httpserver.h
indirectmap.h
init.cpp
init.h
key.cpp
key.h
key_io.cpp
key_io.h
keystore.cpp
keystore.h
limitedmap.h
logging.cpp
logging.h
Makefile.am
Makefile.bench.include
Makefile.leveldb.include
Makefile.qt.include Merge #14451: Add BIP70 deprecation warning and allow building GUI without BIP70 support 2018-10-24 16:29:50 +02:00
Makefile.qttest.include
Makefile.test.include
memusage.h
merkleblock.cpp
merkleblock.h
miner.cpp
miner.h
net.cpp
net.h
net_processing.cpp
net_processing.h
netaddress.cpp
netaddress.h
netbase.cpp
netbase.h
netmessagemaker.h
noui.cpp
noui.h
outputtype.cpp
outputtype.h
pow.cpp
pow.h
prevector.h
protocol.cpp
protocol.h
pubkey.cpp
pubkey.h
random.cpp
random.h
rest.cpp
reverse_iterator.h
reverselock.h
scheduler.cpp
scheduler.h
serialize.h
shutdown.cpp
shutdown.h
span.h
streams.h
sync.cpp
sync.h
threadinterrupt.cpp
threadinterrupt.h
threadsafety.h
timedata.cpp
timedata.h
tinyformat.h
torcontrol.cpp
torcontrol.h
txdb.cpp
txdb.h
txmempool.cpp
txmempool.h
ui_interface.cpp
ui_interface.h
uint256.cpp
uint256.h
undo.h
util.cpp
util.h
utilmemory.h
utilmoneystr.cpp
utilmoneystr.h
utilstrencodings.cpp
utilstrencodings.h
utiltime.cpp
utiltime.h
validation.cpp Merge #12842: Prevent concurrent savemempool 2018-10-24 15:20:33 +02:00
validation.h
validationinterface.cpp
validationinterface.h
version.h
versionbits.cpp
versionbits.h
versionbitsinfo.cpp
versionbitsinfo.h
walletinitinterface.h
warnings.cpp
warnings.h