|
| | Wallet2CallbackImpl (WalletImpl *wallet) |
| | ~Wallet2CallbackImpl () |
| void | setListener (WalletListener *listener) |
| WalletListener * | getListener () const |
| virtual void | on_new_block (uint64_t height, const cryptonote::block &block) |
| virtual void | on_etn_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) |
| virtual void | on_unconfirmed_etn_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index) |
| virtual void | on_etn_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) |
| virtual void | on_skip_transaction (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &tx) |
| virtual void | on_lw_new_block (uint64_t height) |
| virtual void | on_lw_etn_received (uint64_t height, const crypto::hash &txid, uint64_t amount) |
| virtual void | on_lw_unconfirmed_etn_received (uint64_t height, const crypto::hash &txid, uint64_t amount) |
| virtual void | on_lw_etn_spent (uint64_t height, const crypto::hash &txid, uint64_t amount) |
| virtual void | on_device_button_request (uint64_t code) |
| virtual void | on_device_button_pressed () |
| virtual boost::optional< epee::wipeable_string > | on_device_pin_request () |
| virtual boost::optional< epee::wipeable_string > | on_device_passphrase_request (bool on_device) |
| virtual void | on_device_progress (const hw::device_progress &event) |
| virtual boost::optional< epee::wipeable_string > | on_get_password (const char *reason) |
| virtual void | on_pool_tx_removed (const crypto::hash &txid) |
| virtual | ~i_wallet2_callback () |
Definition at line 124 of file wallet.cpp.
◆ Wallet2CallbackImpl()
| Electroneum::Wallet2CallbackImpl::Wallet2CallbackImpl |
( |
WalletImpl * | wallet | ) |
|
|
inline |
Definition at line 127 of file wallet.cpp.
130 {
131
132 }
WalletListener * m_listener
◆ ~Wallet2CallbackImpl()
| Electroneum::Wallet2CallbackImpl::~Wallet2CallbackImpl |
( |
| ) |
|
|
inline |
◆ getListener()
| WalletListener * Electroneum::Wallet2CallbackImpl::getListener |
( |
| ) |
const |
|
inline |
◆ on_device_button_pressed()
| virtual void Electroneum::Wallet2CallbackImpl::on_device_button_pressed |
( |
| ) |
|
|
inlinevirtual |
◆ on_device_button_request()
| virtual void Electroneum::Wallet2CallbackImpl::on_device_button_request |
( |
uint64_t | code | ) |
|
|
inlinevirtual |
◆ on_device_passphrase_request()
| virtual boost::optional< epee::wipeable_string > Electroneum::Wallet2CallbackImpl::on_device_passphrase_request |
( |
bool | on_device | ) |
|
|
inlinevirtual |
Reimplemented from tools::i_wallet2_callback.
Definition at line 272 of file wallet.cpp.
273 {
275 auto passphrase =
m_listener->onDevicePassphraseRequest(on_device);
276 if (!on_device && passphrase) {
277 return boost::make_optional(epee::wipeable_string((*passphrase).data(), (*passphrase).size()));
278 }
279 }
280 return boost::none;
281 }
◆ on_device_pin_request()
| virtual boost::optional< epee::wipeable_string > Electroneum::Wallet2CallbackImpl::on_device_pin_request |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from tools::i_wallet2_callback.
Definition at line 261 of file wallet.cpp.
262 {
265 if (pin){
266 return boost::make_optional(epee::wipeable_string((*pin).data(), (*pin).size()));
267 }
268 }
269 return boost::none;
270 }
◆ on_device_progress()
| virtual void Electroneum::Wallet2CallbackImpl::on_device_progress |
( |
const hw::device_progress & | event | ) |
|
|
inlinevirtual |
◆ on_etn_received()
Reimplemented from tools::i_wallet2_callback.
Definition at line 162 of file wallet.cpp.
163 {
164
166
168 << ", tx: " << tx_hash
170 << ", idx: " << subaddr_index);
171
175 }
176 }
std::string print_etn(uint64_t amount, unsigned int decimal_point)
◆ on_etn_spent()
◆ on_lw_etn_received()
◆ on_lw_etn_spent()
◆ on_lw_new_block()
| virtual void Electroneum::Wallet2CallbackImpl::on_lw_new_block |
( |
uint64_t | height | ) |
|
|
inlinevirtual |
◆ on_lw_unconfirmed_etn_received()
| virtual void Electroneum::Wallet2CallbackImpl::on_lw_unconfirmed_etn_received |
( |
uint64_t | height, |
|
|
const crypto::hash & | txid, |
|
|
uint64_t | amount ) |
|
inlinevirtual |
◆ on_new_block()
◆ on_skip_transaction()
◆ on_unconfirmed_etn_received()
◆ setListener()
| void Electroneum::Wallet2CallbackImpl::setListener |
( |
WalletListener * | listener | ) |
|
|
inline |
◆ m_listener
◆ m_wallet
| WalletImpl* Electroneum::Wallet2CallbackImpl::m_wallet |
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/wallet/api/wallet.cpp