|
Monero
|


Public Member Functions | |
| MyWalletListener (Monero::Wallet *wallet) | |
| void | reset () |
| virtual void | moneySpent (const string &txId, uint64_t amount) |
| virtual void | moneyReceived (const string &txId, uint64_t amount) |
| virtual void | unconfirmedMoneyReceived (const string &txId, uint64_t amount) |
| virtual void | newBlock (uint64_t height) |
| newBlock - called when new block received | |
| virtual void | updated () |
| updated - generic callback, called when any event (sent/received/block reveived/etc) happened with the wallet; | |
| virtual void | refreshed () |
| refreshed - called when wallet refreshed by background thread or explicitly refreshed by calling "refresh" synchronously | |
| Public Member Functions inherited from Monero::WalletListener | |
| virtual | ~WalletListener ()=0 |
| virtual void | moneySpent (const std::string &txId, uint64_t amount)=0 |
| moneySpent - called when money spent | |
| virtual void | moneyReceived (const std::string &txId, uint64_t amount)=0 |
| moneyReceived - called when money received | |
| virtual void | unconfirmedMoneyReceived (const std::string &txId, uint64_t amount)=0 |
| unconfirmedMoneyReceived - called when payment arrived in tx pool | |
| virtual void | onDeviceButtonRequest (uint64_t code) |
| called by device if the action is required | |
| virtual void | onDeviceButtonPressed () |
| called by device if the button was pressed | |
| virtual optional< std::string > | onDevicePinRequest () |
| called by device when PIN is needed | |
| virtual optional< std::string > | onDevicePassphraseRequest (bool &on_device) |
| called by device when passphrase entry is needed | |
| virtual void | onDeviceProgress (const DeviceProgress &event) |
| Signalizes device operation progress. | |
| virtual void | onSetWallet (Wallet *wallet) |
| If the listener is created before the wallet this enables to set created wallet object. | |
Public Attributes | |
| Monero::Wallet * | wallet |
| uint64_t | total_tx |
| uint64_t | total_rx |
| boost::mutex | mutex |
| boost::condition_variable | cv_send |
| boost::condition_variable | cv_receive |
| boost::condition_variable | cv_update |
| boost::condition_variable | cv_refresh |
| boost::condition_variable | cv_newblock |
| bool | send_triggered |
| bool | receive_triggered |
| bool | newblock_triggered |
| bool | update_triggered |
| bool | refresh_triggered |
|
inline |
|
inlinevirtual |
newBlock - called when new block received
| height | - block height |
Implements Monero::WalletListener.
|
inlinevirtual |
refreshed - called when wallet refreshed by background thread or explicitly refreshed by calling "refresh" synchronously
Implements Monero::WalletListener.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
updated - generic callback, called when any event (sent/received/block reveived/etc) happened with the wallet;
Implements Monero::WalletListener.
| boost::condition_variable MyWalletListener::cv_newblock |
| boost::condition_variable MyWalletListener::cv_receive |
| boost::condition_variable MyWalletListener::cv_refresh |
| boost::condition_variable MyWalletListener::cv_send |
| boost::condition_variable MyWalletListener::cv_update |
| boost::mutex MyWalletListener::mutex |
| bool MyWalletListener::newblock_triggered |
| bool MyWalletListener::receive_triggered |
| bool MyWalletListener::refresh_triggered |
| bool MyWalletListener::send_triggered |
| uint64_t MyWalletListener::total_rx |
| uint64_t MyWalletListener::total_tx |
| bool MyWalletListener::update_triggered |
| Monero::Wallet* MyWalletListener::wallet |