Monero
Public Member Functions | List of all members
Monero::WalletListener Struct Referenceabstract

#include <wallet2_api.h>

Public Member Functions

virtual ~WalletListener ()=0
 
virtual void moneySpent (const std::string &txId, uint64_t amount)=0
 moneySpent - called when money spent More...
 
virtual void moneyReceived (const std::string &txId, uint64_t amount)=0
 moneyReceived - called when money received More...
 
virtual void unconfirmedMoneyReceived (const std::string &txId, uint64_t amount)=0
 unconfirmedMoneyReceived - called when payment arrived in tx pool More...
 
virtual void newBlock (uint64_t height)=0
 newBlock - called when new block received More...
 
virtual void updated ()=0
 updated - generic callback, called when any event (sent/received/block reveived/etc) happened with the wallet; More...
 
virtual void refreshed ()=0
 refreshed - called when wallet refreshed by background thread or explicitly refreshed by calling "refresh" synchronously More...
 

Constructor & Destructor Documentation

◆ ~WalletListener()

Monero::WalletListener::~WalletListener ( )
pure virtual

Member Function Documentation

◆ moneyReceived()

virtual void Monero::WalletListener::moneyReceived ( const std::string &  txId,
uint64_t  amount 
)
pure virtual

moneyReceived - called when money received

Parameters
txId- transaction id
amount- amount

◆ moneySpent()

virtual void Monero::WalletListener::moneySpent ( const std::string &  txId,
uint64_t  amount 
)
pure virtual

moneySpent - called when money spent

Parameters
txId- transaction id
amount- amount

◆ newBlock()

virtual void Monero::WalletListener::newBlock ( uint64_t  height)
pure virtual

newBlock - called when new block received

Parameters
height- block height

◆ refreshed()

virtual void Monero::WalletListener::refreshed ( )
pure virtual

refreshed - called when wallet refreshed by background thread or explicitly refreshed by calling "refresh" synchronously

◆ unconfirmedMoneyReceived()

virtual void Monero::WalletListener::unconfirmedMoneyReceived ( const std::string &  txId,
uint64_t  amount 
)
pure virtual

unconfirmedMoneyReceived - called when payment arrived in tx pool

Parameters
txId- transaction id
amount- amount

◆ updated()

virtual void Monero::WalletListener::updated ( )
pure virtual

updated - generic callback, called when any event (sent/received/block reveived/etc) happened with the wallet;


The documentation for this struct was generated from the following files: