Bugfix: Describe dblogsize option correctly (it refers to the wallet database, not memory pool)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <db_cxx.h>
|
||||
|
||||
static const unsigned int DEFAULT_WALLET_DBLOGSIZE = 100;
|
||||
|
||||
extern unsigned int nWalletDBUpdated;
|
||||
|
||||
class CDBEnv
|
||||
|
||||
Reference in New Issue
Block a user