diff options
author | Matt Corallo <git@bluematt.me> | 2017-01-23 09:27:59 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-03-06 18:35:20 -0500 |
commit | 0235be1e7aa84ceb2c882c33fc279d4593e14968 (patch) | |
tree | 2225ae11bd76d7a24044601b29ca9707f4845283 /src/wallet/walletdb.cpp | |
parent | 735d9b5362aeca34c0e62006986fe9d82c24ca08 (diff) |
Rename FlushWalletDB -> CompactWalletDB, add function description
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r-- | src/wallet/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index ae95fc4f29..5ba9f150a8 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -777,7 +777,7 @@ DBErrors CWalletDB::ZapWalletTx(vector<CWalletTx>& vWtx) return DB_LOAD_OK; } -void MaybeFlushWalletDB() +void MaybeCompactWalletDB() { static std::atomic<bool> fOneThread; if (fOneThread.exchange(true)) { |