mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-10 04:33:59 +01:00
Rename FlushWalletDB -> CompactWalletDB, add function description
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user