// keystore implementation
// Generate a new key
- std::vector<unsigned char> GenerateNewKey();
+ std::vector<unsigned char> 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)
// 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);
};