aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge #9227: Make nWalletDBUpdated atomic to avoid a potential race.Wladimir J. van der Laan2017-02-061-3/+0
|\ | | | | | | d63ff62 Make nWalletDBUpdated atomic to avoid a potential race. (Patrick Strateman)
| * Make nWalletDBUpdated atomic to avoid a potential race.Patrick Strateman2016-12-211-3/+0
| |
* | Merge #9353: Add data() method to CDataStream (and use it)Pieter Wuille2017-01-091-4/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 5113474 wallet: Use CDataStream.data() (Wladimir J. van der Laan) e2300ff bench: Use CDataStream.data() (Wladimir J. van der Laan) adff950 dbwrapper: Use new .data() method of CDataStream (Wladimir J. van der Laan) a2141e4 streams: Remove special cases for ancient MSVC (Wladimir J. van der Laan) af4c44c streams: Add data() method to CDataStream (Wladimir J. van der Laan)
| * | wallet: Use CDataStream.data()Wladimir J. van der Laan2016-12-151-4/+4
| |/
* / Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
|/ | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Do not shadow variables.Pavel Janík2016-08-311-3/+3
|
* Berkeley DB v6 compatibility fixAlexey Vesnin2016-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes building error looking like this: CXX wallet/libbitcoin_wallet_a-db.o wallet/db.cpp: In member function ‘void CDBEnv::EnvShutdown()’: wallet/db.cpp:46:16: error: call of overloaded ‘DbEnv(int)’ is ambiguous DbEnv(0).remove(strPath.c_str(), 0); ^ wallet/db.cpp:46:16: note: candidates are: In file included from wallet/db.h:21:0, from wallet/db.cpp:6: /usr/include/db_cxx.h:916:2: note: DbEnv::DbEnv(const DbEnv&) DbEnv(const DbEnv &); ^ /usr/include/db_cxx.h:518:2: note: DbEnv::DbEnv(DB_ENV) DbEnv(DB_ENV *dbenv); ^ /usr/include/db_cxx.h:516:2: note: DbEnv::DbEnv(u_int32_t) DbEnv(u_int32_t flags); ^ Makefile:5780: recipe for target 'wallet/libbitcoin_wallet_a-db.o' failed make[2]: ** [wallet/libbitcoin_wallet_a-db.o] Error 1
* [Wallet] remove unused code/conditions in ReadAtCursorJonas Schnelli2016-08-231-1/+1
|
* CDB: fix debug outputcrowning-2016-08-181-1/+1
| | | It doesn't really help to clear a variable before printing it to the debug log.
* Merge #7537: wallet: Warn on unexpected EOF while salvaging walletWladimir J. van der Laan2016-02-291-3/+19
|\ | | | | | | ca8fb59 wallet: Warn on unexpected EOF while salvaging wallet (Wladimir J. van der Laan)
| * wallet: Warn on unexpected EOF while salvaging walletWladimir J. van der Laan2016-02-151-3/+19
| | | | | | | | | | | | | | | | Check for EOF before every getline, and warn when reading gets to EOF before the end of the data. Stricter error checking could shed more light on issues such as #7463 and #7379.
* | test: test leading space for ParseHexWladimir J. van der Laan2016-02-151-3/+3
|/ | | | | | BerkeleyDB dump files have key and value lines indented. The salvage code passes these to ParseHex as-is. Check this in the tests (should just pass with current code).
* [walletdb] Fix syntax error in key parserMarcoFalke2016-01-201-1/+1
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Constrain constant values to a single location in codeLuke Dashjr2015-11-281-1/+1
|
* Bugfix: Describe dblogsize option correctly (it refers to the wallet ↵Luke Dashjr2015-10-011-1/+1
| | | | database, not memory pool)
* fix crash on shutdown when e.g. changing -txindex and abort actionPhilip Kaufmann2015-06-161-6/+6
| | | | | | | | - fixes #3136 - the problem is related to Boost path and a static initialized internal pointer - using a std::string in CDBEnv::EnvShutdown() prevents the problem - this removes the boost::filesystem::path path field from CDBEnv
* use constant references for strings in functions in wallet/*.*Philip Kaufmann2015-03-211-2/+2
|
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-0/+462
could once be renamed from /src/wallet to /src/legacywallet.