Rename FlushWalletDB -> CompactWalletDB, add function description

This commit is contained in:
Matt Corallo
2017-01-23 09:27:59 -05:00
parent 735d9b5362
commit 0235be1e7a
3 changed files with 4 additions and 3 deletions

View File

@@ -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)) {