diff options
| author | Russell Yanofsky <[email protected]> | 2017-10-10 15:27:26 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2017-10-19 09:01:43 -0400 |
| commit | 478a89c1ef79a75275d1b508122c06eee9386b2d (patch) | |
| tree | 9537bcd85ca45299d363560f1a6dbb6847907919 /src/net_processing.cpp | |
| parent | Merge #11527: Remove my testnet DNS seed as I currently don't have the capaci... (diff) | |
| download | discoin-478a89c1ef79a75275d1b508122c06eee9386b2d.tar.xz discoin-478a89c1ef79a75275d1b508122c06eee9386b2d.zip | |
Avoid opening copied wallet databases simultaneously
Make sure wallet databases have unique fileids. If they don't, throw an error.
BDB caches do not work properly when more than one open database has the same
fileid, because values written to one database may show up in reads to other
databases.
Bitcoin will never create different databases with the same fileid, but users
can create them by manually copying database files.
BDB caching bug was reported by Chris Moore <[email protected]>
https://github.com/bitcoin/bitcoin/issues/11429
Fixes #11429
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions