WalletListener::moneySpent test

This commit is contained in:
Ilya Kitaev
2016-05-16 13:11:44 +03:00
parent 060bb62e29
commit 64348a2d11
3 changed files with 173 additions and 64 deletions

View File

@@ -106,8 +106,8 @@ struct TransactionHistory
struct WalletListener
{
virtual ~WalletListener() = 0;
virtual void moneySpent(const std::string &txId, uint64_t amount);
virtual void moneyReceived(const std::string &txId, uint64_t amount);
virtual void moneySpent(const std::string &txId, uint64_t amount) = 0;
virtual void moneyReceived(const std::string &txId, uint64_t amount) = 0;
// TODO: on_skip_transaction;
};