aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-11-04 11:44:44 +0100
committerWladimir J. van der Laan <[email protected]>2015-11-04 11:45:33 +0100
commitaca0c00ae1fcd4ddaadf7a35765f763a7bc4b946 (patch)
tree0bc5bbb7fefb099f7c1802d7cbf09d75a14df573 /src/wallet/db.cpp
parentMerge pull request #6930 (diff)
parentBugfix: Omit wallet-related options from -help when wallet is disabled (diff)
downloaddiscoin-aca0c00ae1fcd4ddaadf7a35765f763a7bc4b946.tar.xz
discoin-aca0c00ae1fcd4ddaadf7a35765f763a7bc4b946.zip
Merge pull request #6905
a6efc01 Bugfix: Omit wallet-related options from -help when wallet is disabled (Luke Dashjr) 5f9260f Bugfix: If genproclimit is omitted to RPC setgenerate, don't change it; also show correct default in getmininginfo (Luke Dashjr) 420a82f Bugfix: Describe dblogsize option correctly (it refers to the wallet database, not memory pool) (Luke Dashjr) caa3d42 Bugfix: RPC: blockchain: Display correct defaults in help for verifychain method (Luke Dashjr)
Diffstat (limited to 'src/wallet/db.cpp')
-rw-r--r--src/wallet/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp
index e5bc653c3..cf6122813 100644
--- a/src/wallet/db.cpp
+++ b/src/wallet/db.cpp
@@ -293,7 +293,7 @@ void CDB::Flush()
if (fReadOnly)
nMinutes = 1;
- bitdb.dbenv->txn_checkpoint(nMinutes ? GetArg("-dblogsize", 100) * 1024 : 0, nMinutes, 0);
+ bitdb.dbenv->txn_checkpoint(nMinutes ? GetArg("-dblogsize", DEFAULT_WALLET_DBLOGSIZE) * 1024 : 0, nMinutes, 0);
}
void CDB::Close()