From 0307d0faf0cda6b596bd977421223e487e77a63c Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 17 Jul 2019 09:45:22 -0400 Subject: [PATCH] internal wallet listener on_money_received() placeholder --- src/wallet/MoneroWallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index 46a5c61..766a61e 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -683,6 +683,11 @@ namespace monero { } } + virtual void on_money_received(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx, uint64_t amount, const cryptonote::subaddress_index& subaddr_index, uint64_t unlock_time) { + cout << "Wallet2Listener::on_money_received()" << endl; + throw runtime_error("Not implemented"); + } + virtual void on_money_spent(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& in_tx, uint64_t amount, const cryptonote::transaction& spend_tx, const cryptonote::subaddress_index& subaddr_index) { // cout << "Wallet2Listener::on_money_spent()" << endl; // // TODO;