Hush witness rework, many thanks to @CryptoForge for this awesome code https://github.com/Cryptoforge-alt/pirate/tree/pirate_witness_rework

This commit is contained in:
DenioD
2020-02-15 14:14:39 +01:00
parent 4c39efccce
commit 6c48397cf3
11 changed files with 1233 additions and 281 deletions

View File

@@ -1208,6 +1208,12 @@ bool BackupWallet(const CWallet& wallet, const string& strDest)
return false;
}
bool CWalletDB::Compact(CDBEnv& dbenv, const std::string& strFile)
{
bool fSuccess = dbenv.Compact(strFile);
return fSuccess;
}
//
// Try to (very carefully!) recover wallet.dat if there is a problem.
//