X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.h;h=056f553805723d5d67b3344fd2ec8eef7a560596;hb=3176e0f244d929669aa3e1d81e0787d82d9150d3;hp=4750a6bfa8c8a50d0a744237fce307df0120a420;hpb=2a7d702d81cf4d5afdcba80a25005196feb39282;p=novacoin.git diff --git a/src/wallet.h b/src/wallet.h index 4750a6b..056f553 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -118,7 +118,7 @@ public: // keystore implementation // Generate a new key - std::vector GenerateNewKey(); + std::vector GenerateNewKey(bool bCompressed); // Adds a key to the store, and saves it to disk. bool AddKey(const CKey& key); // Adds a key to the store, without saving it to disk (used by LoadWallet) @@ -276,8 +276,7 @@ public: // get the current wallet format (the oldest client version guaranteed to understand this wallet) int GetVersion() { return nWalletVersion; } - bool CheckSpentCoins(int& nMismatchSpent, int64& nBalanceInQuestion); - void FixSpentCoins(int& nMismatchSpent, int64& nBalanceInQuestion); + void FixSpentCoins(int& nMismatchSpent, int64& nBalanceInQuestion, bool fCheckOnly = false); void DisableTransaction(const CTransaction &tx); };