aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-01-23 09:27:59 -0500
committerMatt Corallo <git@bluematt.me>2017-03-06 18:35:20 -0500
commit0235be1e7aa84ceb2c882c33fc279d4593e14968 (patch)
tree2225ae11bd76d7a24044601b29ca9707f4845283 /src/wallet/walletdb.h
parent735d9b5362aeca34c0e62006986fe9d82c24ca08 (diff)
downloadbitcoin-0235be1e7aa84ceb2c882c33fc279d4593e14968.tar.xz
Rename FlushWalletDB -> CompactWalletDB, add function description
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 85364c134d..2e9899acc6 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -193,6 +193,7 @@ private:
void operator=(const CWalletDB&);
};
-void MaybeFlushWalletDB();
+//! Compacts BDB state so that wallet.dat is self-contained (if there are changes)
+void MaybeCompactWalletDB();
#endif // BITCOIN_WALLET_WALLETDB_H