Erase failed stake transaction from wallet to prevent slow return and loss of stake age

This commit is contained in:
Michael Toutonghi
2018-06-01 07:29:34 -07:00
parent 84d9a9b54a
commit ce379cf71a
3 changed files with 20 additions and 3 deletions

View File

@@ -28,6 +28,8 @@ void UnregisterValidationInterface(CValidationInterface* pwalletIn);
void UnregisterAllValidationInterfaces();
/** Push an updated transaction to all registered wallets */
void SyncWithWallets(const CTransaction& tx, const CBlock* pblock = NULL);
/** Erase a transaction from all registered wallets */
void EraseFromWallets(const uint256 &hash);
class CValidationInterface {
protected: