From db56a03ff2820f85da21c3c8fc4cc60e64c5b88d Mon Sep 17 00:00:00 2001 From: Jaquee Date: Thu, 12 Jan 2017 18:23:23 +0100 Subject: Wallet2 + API: Callbacks for unconfirmed transfers --- src/simplewallet/simplewallet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/simplewallet/simplewallet.h') diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 753bca74d..4dbd3876e 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -184,6 +184,7 @@ namespace cryptonote //----------------- i_wallet2_callback --------------------- virtual void on_new_block(uint64_t height, const cryptonote::block& block); virtual void on_money_received(uint64_t height, const cryptonote::transaction& tx, uint64_t amount); + virtual void on_unconfirmed_money_received(uint64_t height, const cryptonote::transaction& tx, uint64_t amount); virtual void on_money_spent(uint64_t height, const cryptonote::transaction& in_tx, uint64_t amount, const cryptonote::transaction& spend_tx); virtual void on_skip_transaction(uint64_t height, const cryptonote::transaction& tx); //---------------------------------------------------------- -- cgit v1.2.3