55 #include "monero_wallet_model.h" 83 virtual void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height,
double percent_done,
const std::string& message) {}
139 throw std::runtime_error(
"is_view_only() not supported");
149 virtual void set_daemon_connection(
const std::string& uri,
const std::string& username =
"",
const std::string& password =
"") {
150 throw std::runtime_error(
"set_daemon_connection() not supported");
159 throw std::runtime_error(
"set_daemon_connection() not supported");
168 throw std::runtime_error(
"get_daemon_connection() not supported");
177 throw std::runtime_error(
"is_connected() not supported");
186 throw std::runtime_error(
"is_daemon_synced() not supported");
195 throw std::runtime_error(
"is_daemon_trusted() not supported");
204 throw std::runtime_error(
"is_synced() not supported");
213 throw std::runtime_error(
"get_version() not supported");
222 throw std::runtime_error(
"get_path() not supported");
231 throw std::runtime_error(
"get_network_type() not supported");
240 throw std::runtime_error(
"get_mnemonic() not supported");
249 throw std::runtime_error(
"get_mnemonic_language() not supported");
258 throw std::runtime_error(
"get_public_view_key() not supported");
267 throw std::runtime_error(
"get_private_view_key() not supported");
276 throw std::runtime_error(
"get_public_spend_key() not supported");
285 throw std::runtime_error(
"get_private_spend_key() not supported");
304 virtual std::string
get_address(
const uint32_t account_idx,
const uint32_t subaddress_idx)
const {
305 throw std::runtime_error(
"get_address() not supported");
316 throw std::runtime_error(
"get_address_index() not supported");
327 throw std::runtime_error(
"get_integrated_address() not supported");
337 throw std::runtime_error(
"decode_integrated_address() not supported");
346 throw std::runtime_error(
"get_height() not supported");
355 throw std::runtime_error(
"get_sync_height() not supported");
364 throw std::runtime_error(
"set_sync_height() not supported");
373 throw std::runtime_error(
"get_daemon_height() not supported");
382 throw std::runtime_error(
"get_daemon_max_peer_height() not supported");
391 throw std::runtime_error(
"add_listener() not supported");
400 throw std::runtime_error(
"remove_listener() not supported");
407 throw std::runtime_error(
"get_listeners() not supported");
416 throw std::runtime_error(
"sync() not supported");
426 throw std::runtime_error(
"sync() not supported");
436 throw std::runtime_error(
"sync() not supported");
447 throw std::runtime_error(
"sync() not supported");
454 throw std::runtime_error(
"start_syncing() not supported");
461 throw std::runtime_error(
"stop_syncing() not supported");
474 throw std::runtime_error(
"rescan_spent() not supported");
485 throw std::runtime_error(
"rescan_blockchain() not supported");
494 throw std::runtime_error(
"get_balance() not supported");
504 throw std::runtime_error(
"get_balance() not supported");
514 virtual uint64_t
get_balance(uint32_t account_idx, uint32_t subaddress_idx)
const {
515 throw std::runtime_error(
"get_balance() not supported");
524 throw std::runtime_error(
"get_unlocked_balance() not supported");
534 throw std::runtime_error(
"get_unlocked_balance() not supported");
545 throw std::runtime_error(
"get_unlocked_balance() not supported");
563 virtual std::vector<monero_account>
get_accounts(
bool include_subaddresses)
const {
573 virtual std::vector<monero_account>
get_accounts(
const std::string& tag)
const {
584 virtual std::vector<monero_account>
get_accounts(
bool include_subaddresses,
const std::string& tag)
const {
585 throw std::runtime_error(
"get_accounts() not supported");
606 throw std::runtime_error(
"get_account() not supported");
616 throw std::runtime_error(
"create_account() not supported");
625 virtual std::vector<monero_subaddress>
get_subaddresses(
const uint32_t account_idx)
const {
636 virtual std::vector<monero_subaddress>
get_subaddresses(
const uint32_t account_idx,
const std::vector<uint32_t>& subaddress_indices)
const {
637 throw std::runtime_error(
"get_subaddresses() not supported");
648 throw std::runtime_error(
"get_subaddress() not supported");
659 throw std::runtime_error(
"create_subaddress() not supported");
668 virtual std::vector<std::shared_ptr<monero_tx_wallet>>
get_txs()
const {
669 throw std::runtime_error(
"get_txs() not supported");
685 throw std::runtime_error(
"get_txs(query) not supported");
696 virtual std::vector<std::shared_ptr<monero_tx_wallet>>
get_txs(
const monero_tx_query& query, std::vector<std::string>& missing_tx_hashes)
const {
697 throw std::runtime_error(
"get_txs(query, missing_tx_hashes) not supported");
717 throw std::runtime_error(
"get_transfers() not supported");
733 throw std::runtime_error(
"get_outputs() not supported");
742 throw std::runtime_error(
"get_outputs_hex() not supported");
752 throw std::runtime_error(
"import_outputs_hex() not supported");
761 throw std::runtime_error(
"get_key_images() not supported");
770 virtual std::shared_ptr<monero_key_image_import_result>
import_key_images(
const std::vector<std::shared_ptr<monero_key_image>>& key_images) {
771 throw std::runtime_error(
"import_key_images() not supported");
781 if (config.m_can_split != boost::none && config.m_can_split.get())
throw std::runtime_error(
"Cannot split transactions with create_tx(); use create_txs() instead");
783 config_copy.m_can_split =
false;
794 throw std::runtime_error(
"create_txs() not supported");
804 throw std::runtime_error(
"sweep_unlocked() not supported");
814 throw std::runtime_error(
"sweep_output() not supported");
823 virtual std::vector<std::shared_ptr<monero_tx_wallet>>
sweep_dust(
bool relay =
false) {
824 throw std::runtime_error(
"sweep_dust() not supported");
833 virtual std::string
relay_tx(
const std::string& tx_metadata) {
834 std::vector<std::string> tx_metadatas;
835 tx_metadatas.push_back(tx_metadata);
846 return relay_tx(tx.m_metadata.get());
855 virtual std::vector<std::string>
relay_txs(
const std::vector<std::shared_ptr<monero_tx_wallet>>& txs) {
856 std::vector<std::string> tx_hexes;
857 for (
const std::shared_ptr<monero_tx_wallet>& tx : txs) tx_hexes.push_back(tx->m_metadata.get());
867 virtual std::vector<std::string>
relay_txs(
const std::vector<std::string>& tx_metadatas) {
868 throw std::runtime_error(
"relay_txs() not supported");
878 throw std::runtime_error(
"parse_tx_set() not supported");
887 virtual std::string
sign_txs(
const std::string& unsigned_tx_hex) {
888 throw std::runtime_error(
"sign_txs() not supported");
897 virtual std::vector<std::string>
submit_txs(
const std::string& signed_tx_hex) {
898 throw std::runtime_error(
"submit_txs() not supported");
908 throw std::runtime_error(
"sign_message() not supported");
919 virtual bool verify_message(
const std::string& msg,
const std::string& address,
const std::string& signature)
const {
920 throw std::runtime_error(
"verify_message() not supported");
929 virtual std::string
get_tx_key(
const std::string& tx_hash)
const {
930 throw std::runtime_error(
"get_tx_key() not supported");
941 virtual std::shared_ptr<monero_check_tx>
check_tx_key(
const std::string& tx_hash,
const std::string& tx_key,
const std::string& address)
const {
942 throw std::runtime_error(
"check_tx_key() not supported");
953 virtual std::string
get_tx_proof(
const std::string& tx_hash,
const std::string& address,
const std::string& message)
const {
954 throw std::runtime_error(
"get_tx_proof() not supported");
966 virtual std::shared_ptr<monero_check_tx>
check_tx_proof(
const std::string& tx_hash,
const std::string& address,
const std::string& message,
const std::string& signature)
const {
967 throw std::runtime_error(
"check_tx_proof() not supported");
977 virtual std::string
get_spend_proof(
const std::string& tx_hash,
const std::string& message)
const {
978 throw std::runtime_error(
"get_spend_proof() not supported");
989 virtual bool check_spend_proof(
const std::string& tx_hash,
const std::string& message,
const std::string& signature)
const {
990 throw std::runtime_error(
"check_spend_proof() not supported");
1000 throw std::runtime_error(
"get_reserve_proof_wallet() not supported");
1012 throw std::runtime_error(
"get_reserve_proof_account() not supported");
1023 virtual std::shared_ptr<monero_check_reserve>
check_reserve_proof(
const std::string& address,
const std::string& message,
const std::string& signature)
const {
1024 throw std::runtime_error(
"check_reserve_proof() not supported");
1034 throw std::runtime_error(
"get_tx_note() not supported");
1043 virtual std::vector<std::string>
get_tx_notes(
const std::vector<std::string>& tx_hashes)
const {
1044 throw std::runtime_error(
"get_tx_notes() not supported");
1053 virtual void set_tx_note(
const std::string& tx_hash,
const std::string& note) {
1054 throw std::runtime_error(
"set_tx_note() not supported");
1063 virtual void set_tx_notes(
const std::vector<std::string>& tx_hashes,
const std::vector<std::string>& notes) {
1064 throw std::runtime_error(
"set_tx_notes() not supported");
1074 throw std::runtime_error(
"get_address_book_entries() not supported");
1085 throw std::runtime_error(
"add_address_book_entry() not supported");
1097 virtual void edit_address_book_entry(uint64_t index,
bool set_address,
const std::string& address,
bool set_description,
const std::string& description) {
1098 throw std::runtime_error(
"edit_address_book_entry() not supported");
1107 throw std::runtime_error(
"delete_address_book_entry() not supported");
1117 throw std::runtime_error(
"create_payment_uri() not supported");
1127 throw std::runtime_error(
"parse_payment_uri() not supported");
1138 throw std::runtime_error(
"get_attribute() not supported");
1148 throw std::runtime_error(
"set_attribute() not supported");
1158 virtual void start_mining(boost::optional<uint64_t> num_threads, boost::optional<bool> background_mining, boost::optional<bool> ignore_battery) {
1159 throw std::runtime_error(
"start_mining() not supported");
1166 throw std::runtime_error(
"stop_mining() not supported");
1175 throw std::runtime_error(
"wait_for_next_block() not supported");
1184 throw std::runtime_error(
"is_multisig_import_needed() not supported");
1195 throw std::runtime_error(
"get_multisig_info() not supported");
1205 throw std::runtime_error(
"prepare_multisig() not supported");
1217 throw std::runtime_error(
"make_multisig() not supported");
1230 throw std::runtime_error(
"exchange_multisig_keys() not supported");
1239 throw std::runtime_error(
"get_multisig_hex() not supported");
1253 throw std::runtime_error(
"import_multisig_hex() not supported");
1263 throw std::runtime_error(
"monero_multisig_sign_result() not supported");
1273 throw std::runtime_error(
"submit_multisig_tx_hex() not supported");
1280 throw std::runtime_error(
"save() not supported");
1289 virtual void move_to(std::string path, std::string password) {
1290 throw std::runtime_error(
"move_to() not supported");
1299 throw std::runtime_error(
"close() not supported");
Definition: monero_wallet_model.h:414
+
virtual void edit_address_book_entry(uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description)
Definition: monero_wallet.h:1097
Definition: monero_daemon.cpp:58
-
virtual void rescan_blockchain()
Definition: monero_wallet.h:476
-
virtual void add_listener(monero_wallet_listener &listener)
Definition: monero_wallet.h:382
-
virtual uint64_t get_daemon_max_peer_height() const
Definition: monero_wallet.h:373
-
virtual std::vector< std::shared_ptr< monero_tx_wallet > > get_txs(const monero_tx_query &query) const
Definition: monero_wallet.h:676
-
virtual monero_network_type get_network_type() const
Definition: monero_wallet.h:222
-
virtual int import_outputs_hex(const std::string &outputs_hex)
Definition: monero_wallet.h:743
-
Definition: monero_wallet.h:115
-
virtual monero_multisig_sign_result sign_multisig_tx_hex(const std::string &multisig_tx_hex)
Definition: monero_wallet.h:1254
-
virtual std::string get_primary_address() const
Definition: monero_wallet.h:285
-
virtual void close(bool save=false)
Definition: monero_wallet.h:1290
-
virtual monero_tx_set parse_tx_set(const monero_tx_set &tx_set)
Definition: monero_wallet.h:869
-
virtual std::string get_spend_proof(const std::string &tx_hash, const std::string &message) const
Definition: monero_wallet.h:969
-
virtual bool is_connected() const
Definition: monero_wallet.h:168
-
virtual monero_sync_result sync(monero_wallet_listener &listener)
Definition: monero_wallet.h:417
-
virtual monero_multisig_init_result make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password)
Definition: monero_wallet.h:1208
+
virtual void rescan_blockchain()
Definition: monero_wallet.h:484
+
virtual void add_listener(monero_wallet_listener &listener)
Definition: monero_wallet.h:390
+
virtual uint64_t get_daemon_max_peer_height() const
Definition: monero_wallet.h:381
+
virtual std::vector< std::shared_ptr< monero_tx_wallet > > get_txs(const monero_tx_query &query) const
Definition: monero_wallet.h:684
+
virtual monero_network_type get_network_type() const
Definition: monero_wallet.h:230
+
virtual int import_outputs_hex(const std::string &outputs_hex)
Definition: monero_wallet.h:751
+
Definition: monero_wallet.h:123
+
virtual monero_multisig_sign_result sign_multisig_tx_hex(const std::string &multisig_tx_hex)
Definition: monero_wallet.h:1262
+
virtual std::string get_primary_address() const
Definition: monero_wallet.h:293
+
virtual void close(bool save=false)
Definition: monero_wallet.h:1298
+
virtual monero_tx_set parse_tx_set(const monero_tx_set &tx_set)
Definition: monero_wallet.h:877
+
virtual std::string get_spend_proof(const std::string &tx_hash, const std::string &message) const
Definition: monero_wallet.h:977
+
virtual bool is_connected() const
Definition: monero_wallet.h:176
+
virtual monero_sync_result sync(monero_wallet_listener &listener)
Definition: monero_wallet.h:425
+
virtual monero_multisig_init_result make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password)
Definition: monero_wallet.h:1216
Definition: monero_wallet_model.h:322
-
virtual std::string prepare_multisig()
Definition: monero_wallet.h:1196
-
virtual std::shared_ptr< monero_key_image_import_result > import_key_images(const std::vector< std::shared_ptr< monero_key_image >> &key_images)
Definition: monero_wallet.h:762
-
virtual ~monero_wallet()
Definition: monero_wallet.h:122
-
virtual bool check_spend_proof(const std::string &tx_hash, const std::string &message, const std::string &signature) const
Definition: monero_wallet.h:981
-
virtual bool get_attribute(const std::string &key, std::string &value) const
Definition: monero_wallet.h:1129
-
virtual std::shared_ptr< monero_check_tx > check_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message, const std::string &signature) const
Definition: monero_wallet.h:958
-
virtual monero_version get_version() const
Definition: monero_wallet.h:204
-
virtual monero_multisig_init_result exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password)
Definition: monero_wallet.h:1221
-
virtual void on_output_spent(const monero_output_wallet &output)
Definition: monero_wallet.h:104
-
virtual uint64_t get_unlocked_balance() const
Definition: monero_wallet.h:515
-
virtual std::string get_path() const
Definition: monero_wallet.h:213
+
virtual std::string prepare_multisig()
Definition: monero_wallet.h:1204
+
virtual std::shared_ptr< monero_key_image_import_result > import_key_images(const std::vector< std::shared_ptr< monero_key_image >> &key_images)
Definition: monero_wallet.h:770
+
virtual ~monero_wallet()
Definition: monero_wallet.h:130
+
virtual bool check_spend_proof(const std::string &tx_hash, const std::string &message, const std::string &signature) const
Definition: monero_wallet.h:989
+
virtual bool get_attribute(const std::string &key, std::string &value) const
Definition: monero_wallet.h:1137
+
virtual std::shared_ptr< monero_check_tx > check_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message, const std::string &signature) const
Definition: monero_wallet.h:966
+
virtual monero_version get_version() const
Definition: monero_wallet.h:212
+
virtual monero_multisig_init_result exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password)
Definition: monero_wallet.h:1229
+
virtual void on_output_spent(const monero_output_wallet &output)
Definition: monero_wallet.h:112
+
virtual uint64_t get_unlocked_balance() const
Definition: monero_wallet.h:523
+
virtual std::string get_path() const
Definition: monero_wallet.h:221
Definition: monero_wallet.h:71
-
virtual std::vector< std::string > get_tx_notes(const std::vector< std::string > &tx_hashes) const
Definition: monero_wallet.h:1035
-
virtual std::vector< monero_account > get_accounts(bool include_subaddresses) const
Definition: monero_wallet.h:555
-
virtual std::string sign_txs(const std::string &unsigned_tx_hex)
Definition: monero_wallet.h:879
-
virtual uint64_t get_balance() const
Definition: monero_wallet.h:485
-
virtual std::vector< monero_account > get_accounts() const
Definition: monero_wallet.h:545
+
virtual std::vector< std::string > get_tx_notes(const std::vector< std::string > &tx_hashes) const
Definition: monero_wallet.h:1043
+
virtual std::vector< monero_account > get_accounts(bool include_subaddresses) const
Definition: monero_wallet.h:563
+
virtual std::string sign_txs(const std::string &unsigned_tx_hex)
Definition: monero_wallet.h:887
+
virtual uint64_t get_balance() const
Definition: monero_wallet.h:493
+
virtual std::vector< monero_account > get_accounts() const
Definition: monero_wallet.h:553
Definition: monero_wallet_model.h:428
-
virtual std::vector< monero_subaddress > get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const
Definition: monero_wallet.h:628
+
virtual std::vector< monero_subaddress > get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const
Definition: monero_wallet.h:636
Definition: monero_wallet_model.h:278
-
virtual void start_mining(boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery)
Definition: monero_wallet.h:1150
-
virtual std::string get_private_spend_key() const
Definition: monero_wallet.h:276
-
virtual uint64_t get_balance(uint32_t account_idx, uint32_t subaddress_idx) const
Definition: monero_wallet.h:506
-
virtual boost::optional< monero_rpc_connection > get_daemon_connection() const
Definition: monero_wallet.h:159
-
virtual std::string create_payment_uri(const monero_tx_config &config) const
Definition: monero_wallet.h:1108
-
virtual void stop_syncing()
Definition: monero_wallet.h:452
-
virtual uint64_t get_daemon_height() const
Definition: monero_wallet.h:364
-
virtual std::vector< std::shared_ptr< monero_tx_wallet > > sweep_dust(bool relay=false)
Definition: monero_wallet.h:815
+
virtual void start_mining(boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery)
Definition: monero_wallet.h:1158
+
virtual std::string get_private_spend_key() const
Definition: monero_wallet.h:284
+
virtual uint64_t get_balance(uint32_t account_idx, uint32_t subaddress_idx) const
Definition: monero_wallet.h:514
+
virtual boost::optional< monero_rpc_connection > get_daemon_connection() const
Definition: monero_wallet.h:167
+
virtual std::string create_payment_uri(const monero_tx_config &config) const
Definition: monero_wallet.h:1116
+
virtual void stop_syncing()
Definition: monero_wallet.h:460
+
virtual uint64_t get_daemon_height() const
Definition: monero_wallet.h:372
+
virtual std::vector< std::shared_ptr< monero_tx_wallet > > sweep_dust(bool relay=false)
Definition: monero_wallet.h:823
Definition: monero_wallet_model.h:438
-
virtual std::string get_outputs_hex() const
Definition: monero_wallet.h:733
-
virtual bool is_multisig_import_needed() const
Definition: monero_wallet.h:1175
-
virtual monero_integrated_address decode_integrated_address(const std::string &integrated_address) const
Definition: monero_wallet.h:328
+
virtual std::string get_outputs_hex() const
Definition: monero_wallet.h:741
+
virtual bool is_multisig_import_needed() const
Definition: monero_wallet.h:1183
+
virtual monero_integrated_address decode_integrated_address(const std::string &integrated_address) const
Definition: monero_wallet.h:336
Definition: monero_daemon_model.h:99
-
virtual void stop_mining()
Definition: monero_wallet.h:1157
-
virtual std::vector< std::string > submit_multisig_tx_hex(const std::string &signed_multisig_tx_hex)
Definition: monero_wallet.h:1264
+
virtual void stop_mining()
Definition: monero_wallet.h:1165
+
virtual std::vector< std::string > submit_multisig_tx_hex(const std::string &signed_multisig_tx_hex)
Definition: monero_wallet.h:1272
Definition: monero_wallet_model.h:244
-
virtual void set_attribute(const std::string &key, const std::string &val)
Definition: monero_wallet.h:1139
-
virtual std::vector< monero_account > get_accounts(bool include_subaddresses, const std::string &tag) const
Definition: monero_wallet.h:576
-
virtual void start_syncing()
Definition: monero_wallet.h:445
-
virtual std::shared_ptr< monero_check_tx > check_tx_key(const std::string &tx_hash, const std::string &tx_key, const std::string &address) const
Definition: monero_wallet.h:933
-
virtual std::vector< std::string > relay_txs(const std::vector< std::shared_ptr< monero_tx_wallet >> &txs)
Definition: monero_wallet.h:847
-
virtual std::string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const
Definition: monero_wallet.h:296
-
virtual void set_daemon_connection(const std::string &uri, const std::string &username="", const std::string &password="")
Definition: monero_wallet.h:141
-
virtual std::string relay_tx(const monero_tx_wallet &tx)
Definition: monero_wallet.h:837
-
virtual std::string relay_tx(const std::string &tx_metadata)
Definition: monero_wallet.h:825
-
virtual std::string get_tx_key(const std::string &tx_hash) const
Definition: monero_wallet.h:921
-
virtual std::shared_ptr< monero_tx_config > parse_payment_uri(const std::string &uri) const
Definition: monero_wallet.h:1118
-
virtual std::vector< std::shared_ptr< monero_output_wallet > > get_outputs(const monero_output_query &query) const
Definition: monero_wallet.h:724
-
virtual std::string get_tx_note(const std::string &tx_hash) const
Definition: monero_wallet.h:1025
-
virtual void set_tx_note(const std::string &tx_hash, const std::string ¬e)
Definition: monero_wallet.h:1045
-
virtual std::string sign_message(const std::string &msg) const
Definition: monero_wallet.h:899
+
virtual void set_attribute(const std::string &key, const std::string &val)
Definition: monero_wallet.h:1147
+
virtual std::vector< monero_account > get_accounts(bool include_subaddresses, const std::string &tag) const
Definition: monero_wallet.h:584
+
virtual void start_syncing()
Definition: monero_wallet.h:453
+
virtual std::shared_ptr< monero_check_tx > check_tx_key(const std::string &tx_hash, const std::string &tx_key, const std::string &address) const
Definition: monero_wallet.h:941
+
virtual std::vector< std::string > relay_txs(const std::vector< std::shared_ptr< monero_tx_wallet >> &txs)
Definition: monero_wallet.h:855
+
virtual std::string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const
Definition: monero_wallet.h:304
+
virtual void set_daemon_connection(const std::string &uri, const std::string &username="", const std::string &password="")
Definition: monero_wallet.h:149
+
virtual std::string relay_tx(const monero_tx_wallet &tx)
Definition: monero_wallet.h:845
+
virtual std::string relay_tx(const std::string &tx_metadata)
Definition: monero_wallet.h:833
+
virtual std::string get_tx_key(const std::string &tx_hash) const
Definition: monero_wallet.h:929
+
virtual std::shared_ptr< monero_tx_config > parse_payment_uri(const std::string &uri) const
Definition: monero_wallet.h:1126
+
virtual std::vector< std::shared_ptr< monero_output_wallet > > get_outputs(const monero_output_query &query) const
Definition: monero_wallet.h:732
+
virtual std::string get_tx_note(const std::string &tx_hash) const
Definition: monero_wallet.h:1033
+
virtual void set_tx_note(const std::string &tx_hash, const std::string ¬e)
Definition: monero_wallet.h:1053
+
virtual std::string sign_message(const std::string &msg) const
Definition: monero_wallet.h:907
Definition: monero_wallet_model.h:67
-
virtual std::string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const
Definition: monero_wallet.h:1003
+
virtual std::string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const
Definition: monero_wallet.h:1011
Definition: monero_wallet_model.h:308
-
virtual monero_integrated_address get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const
Definition: monero_wallet.h:318
-
virtual monero_subaddress get_address_index(const std::string &address) const
Definition: monero_wallet.h:307
-
virtual std::string get_private_view_key() const
Definition: monero_wallet.h:258
-
virtual std::vector< std::shared_ptr< monero_transfer > > get_transfers(const monero_transfer_query &query) const
Definition: monero_wallet.h:708
-
virtual void set_sync_height(uint64_t sync_height)
Definition: monero_wallet.h:355
-
virtual void on_output_received(const monero_output_wallet &output)
Definition: monero_wallet.h:97
-
virtual monero_account create_account(const std::string &label="")
Definition: monero_wallet.h:607
-
virtual std::string get_multisig_hex()
Definition: monero_wallet.h:1230
-
virtual uint64_t get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const
Definition: monero_wallet.h:536
-
virtual std::vector< std::string > submit_txs(const std::string &signed_tx_hex)
Definition: monero_wallet.h:889
-
virtual std::string get_public_view_key() const
Definition: monero_wallet.h:249
-
virtual uint64_t add_address_book_entry(const std::string &address, const std::string &description)
Definition: monero_wallet.h:1076
-
virtual std::vector< std::shared_ptr< monero_tx_wallet > > get_txs(const monero_tx_query &query, std::vector< std::string > &missing_tx_hashes) const
Definition: monero_wallet.h:688
+
virtual monero_integrated_address get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const
Definition: monero_wallet.h:326
+
virtual monero_subaddress get_address_index(const std::string &address) const
Definition: monero_wallet.h:315
+
virtual std::string get_private_view_key() const
Definition: monero_wallet.h:266
+
virtual std::vector< std::shared_ptr< monero_transfer > > get_transfers(const monero_transfer_query &query) const
Definition: monero_wallet.h:716
+
virtual void set_sync_height(uint64_t sync_height)
Definition: monero_wallet.h:363
+
virtual void on_output_received(const monero_output_wallet &output)
Definition: monero_wallet.h:105
+
virtual monero_account create_account(const std::string &label="")
Definition: monero_wallet.h:615
+
virtual std::string get_multisig_hex()
Definition: monero_wallet.h:1238
+
virtual uint64_t get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const
Definition: monero_wallet.h:544
+
virtual std::vector< std::string > submit_txs(const std::string &signed_tx_hex)
Definition: monero_wallet.h:897
+
virtual std::string get_public_view_key() const
Definition: monero_wallet.h:257
+
virtual uint64_t add_address_book_entry(const std::string &address, const std::string &description)
Definition: monero_wallet.h:1084
+
virtual std::vector< std::shared_ptr< monero_tx_wallet > > get_txs(const monero_tx_query &query, std::vector< std::string > &missing_tx_hashes) const
Definition: monero_wallet.h:696
Definition: monero_wallet_model.h:225
-
virtual std::vector< std::shared_ptr< monero_key_image > > get_key_images() const
Definition: monero_wallet.h:752
+
virtual std::vector< std::shared_ptr< monero_key_image > > get_key_images() const
Definition: monero_wallet.h:760
virtual void on_new_block(uint64_t height)
Definition: monero_wallet.h:90
-
virtual monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const
Definition: monero_wallet.h:597
-
virtual std::string get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const
Definition: monero_wallet.h:945
+
virtual monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const
Definition: monero_wallet.h:605
+
virtual std::string get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const
Definition: monero_wallet.h:953
Definition: monero_wallet_model.h:96
-
virtual void save()
Definition: monero_wallet.h:1271
-
virtual std::shared_ptr< monero_tx_wallet > sweep_output(const monero_tx_config &config)
Definition: monero_wallet.h:805
-
virtual std::string get_reserve_proof_wallet(const std::string &message) const
Definition: monero_wallet.h:991
-
virtual std::string get_public_spend_key() const
Definition: monero_wallet.h:267
+
virtual void save()
Definition: monero_wallet.h:1279
+
virtual std::shared_ptr< monero_tx_wallet > sweep_output(const monero_tx_config &config)
Definition: monero_wallet.h:813
+
virtual std::string get_reserve_proof_wallet(const std::string &message) const
Definition: monero_wallet.h:999
+
virtual std::string get_public_spend_key() const
Definition: monero_wallet.h:275
Definition: monero_wallet_model.h:79
-
virtual bool is_synced() const
Definition: monero_wallet.h:195
-
virtual std::shared_ptr< monero_tx_wallet > create_tx(const monero_tx_config &config)
Definition: monero_wallet.h:772
-
virtual bool is_daemon_trusted() const
Definition: monero_wallet.h:186
-
virtual monero_subaddress create_subaddress(uint32_t account_idx, const std::string &label="")
Definition: monero_wallet.h:650
+
virtual bool is_synced() const
Definition: monero_wallet.h:203
+
virtual void on_balances_changed(uint64_t new_balance, uint64_t new_unlocked_balance)
Definition: monero_wallet.h:98
+
virtual std::shared_ptr< monero_tx_wallet > create_tx(const monero_tx_config &config)
Definition: monero_wallet.h:780
+
virtual bool is_daemon_trusted() const
Definition: monero_wallet.h:194
+
virtual monero_subaddress create_subaddress(uint32_t account_idx, const std::string &label="")
Definition: monero_wallet.h:658
Definition: monero_wallet_model.h:205
-
virtual void rescan_spent()
Definition: monero_wallet.h:465
-
virtual void set_daemon_connection(const boost::optional< monero_rpc_connection > &connection)
Definition: monero_wallet.h:150
-
virtual monero_multisig_info get_multisig_info()
Definition: monero_wallet.h:1186
-
virtual uint64_t get_balance(uint32_t account_idx) const
Definition: monero_wallet.h:495
-
virtual std::string get_mnemonic_language() const
Definition: monero_wallet.h:240
+
virtual void rescan_spent()
Definition: monero_wallet.h:473
+
virtual void set_daemon_connection(const boost::optional< monero_rpc_connection > &connection)
Definition: monero_wallet.h:158
+
virtual monero_multisig_info get_multisig_info()
Definition: monero_wallet.h:1194
+
virtual uint64_t get_balance(uint32_t account_idx) const
Definition: monero_wallet.h:503
+
virtual std::string get_mnemonic_language() const
Definition: monero_wallet.h:248
Definition: monero_wallet_model.h:183
-
virtual std::vector< monero_subaddress > get_subaddresses(const uint32_t account_idx) const
Definition: monero_wallet.h:617
-
virtual monero_sync_result sync(uint64_t start_height)
Definition: monero_wallet.h:427
-
virtual uint64_t wait_for_next_block()
Definition: monero_wallet.h:1166
-
virtual void delete_address_book_entry(uint64_t index)
Definition: monero_wallet.h:1098
-
virtual bool is_view_only() const
Definition: monero_wallet.h:130
-
virtual uint64_t get_unlocked_balance(uint32_t account_idx) const
Definition: monero_wallet.h:525
+
virtual std::vector< monero_subaddress > get_subaddresses(const uint32_t account_idx) const
Definition: monero_wallet.h:625
+
virtual monero_sync_result sync(uint64_t start_height)
Definition: monero_wallet.h:435
+
virtual uint64_t wait_for_next_block()
Definition: monero_wallet.h:1174
+
virtual void delete_address_book_entry(uint64_t index)
Definition: monero_wallet.h:1106
+
virtual bool is_view_only() const
Definition: monero_wallet.h:138
+
virtual uint64_t get_unlocked_balance(uint32_t account_idx) const
Definition: monero_wallet.h:533
monero_network_type
Definition: monero_daemon_model.h:90
-
virtual uint64_t get_sync_height() const
Definition: monero_wallet.h:346
-
virtual std::vector< std::shared_ptr< monero_tx_wallet > > sweep_unlocked(const monero_tx_config &config)
Definition: monero_wallet.h:795
-
virtual monero_sync_result sync()
Definition: monero_wallet.h:407
-
virtual void remove_listener(monero_wallet_listener &listener)
Definition: monero_wallet.h:391
-
virtual monero_subaddress get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const
Definition: monero_wallet.h:639
-
virtual void set_tx_notes(const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es)
Definition: monero_wallet.h:1055
-
virtual std::vector< monero_account > get_accounts(const std::string &tag) const
Definition: monero_wallet.h:565
-
virtual int import_multisig_hex(const std::vector< std::string > &multisig_hexes)
Definition: monero_wallet.h:1244
-
virtual void move_to(std::string path, std::string password)
Definition: monero_wallet.h:1281
-
virtual std::shared_ptr< monero_check_reserve > check_reserve_proof(const std::string &address, const std::string &message, const std::string &signature) const
Definition: monero_wallet.h:1015
+
virtual uint64_t get_sync_height() const
Definition: monero_wallet.h:354
+
virtual std::vector< std::shared_ptr< monero_tx_wallet > > sweep_unlocked(const monero_tx_config &config)
Definition: monero_wallet.h:803
+
virtual monero_sync_result sync()
Definition: monero_wallet.h:415
+
virtual void remove_listener(monero_wallet_listener &listener)
Definition: monero_wallet.h:399
+
virtual monero_subaddress get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const
Definition: monero_wallet.h:647
+
virtual void set_tx_notes(const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es)
Definition: monero_wallet.h:1063
+
virtual std::vector< monero_account > get_accounts(const std::string &tag) const
Definition: monero_wallet.h:573
+
virtual int import_multisig_hex(const std::vector< std::string > &multisig_hexes)
Definition: monero_wallet.h:1252
+
virtual void move_to(std::string path, std::string password)
Definition: monero_wallet.h:1289
+
virtual std::shared_ptr< monero_check_reserve > check_reserve_proof(const std::string &address, const std::string &message, const std::string &signature) const
Definition: monero_wallet.h:1023
virtual void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const std::string &message)
Definition: monero_wallet.h:83
-
virtual std::vector< std::shared_ptr< monero_tx_wallet > > get_txs() const
Definition: monero_wallet.h:660
-
virtual std::vector< monero_address_book_entry > get_address_book_entries(const std::vector< uint64_t > &indices) const
Definition: monero_wallet.h:1065
-
virtual bool is_daemon_synced() const
Definition: monero_wallet.h:177
-
virtual std::string get_mnemonic() const
Definition: monero_wallet.h:231
-
virtual uint64_t get_height() const
Definition: monero_wallet.h:337
-
virtual monero_sync_result sync(uint64_t start_height, monero_wallet_listener &listener)
Definition: monero_wallet.h:438
-
virtual std::vector< std::string > relay_txs(const std::vector< std::string > &tx_metadatas)
Definition: monero_wallet.h:859
-
virtual std::set< monero_wallet_listener * > get_listeners()
Definition: monero_wallet.h:398
+
virtual std::vector< std::shared_ptr< monero_tx_wallet > > get_txs() const
Definition: monero_wallet.h:668
+
virtual std::vector< monero_address_book_entry > get_address_book_entries(const std::vector< uint64_t > &indices) const
Definition: monero_wallet.h:1073
+
virtual bool is_daemon_synced() const
Definition: monero_wallet.h:185
+
virtual std::string get_mnemonic() const
Definition: monero_wallet.h:239
+
virtual uint64_t get_height() const
Definition: monero_wallet.h:345
+
virtual monero_sync_result sync(uint64_t start_height, monero_wallet_listener &listener)
Definition: monero_wallet.h:446
+
virtual std::vector< std::string > relay_txs(const std::vector< std::string > &tx_metadatas)
Definition: monero_wallet.h:867
+
virtual std::set< monero_wallet_listener * > get_listeners()
Definition: monero_wallet.h:406
Definition: monero_wallet_model.h:343
-
virtual std::vector< std::shared_ptr< monero_tx_wallet > > create_txs(const monero_tx_config &config)
Definition: monero_wallet.h:785
+
virtual std::vector< std::shared_ptr< monero_tx_wallet > > create_txs(const monero_tx_config &config)
Definition: monero_wallet.h:793
Definition: monero_wallet_core.cpp:679
-
virtual bool verify_message(const std::string &msg, const std::string &address, const std::string &signature) const
Definition: monero_wallet.h:911
-
virtual monero_account get_account(uint32_t account_idx) const
Definition: monero_wallet.h:586
+
virtual bool verify_message(const std::string &msg, const std::string &address, const std::string &signature) const
Definition: monero_wallet.h:919
+
virtual monero_account get_account(uint32_t account_idx) const
Definition: monero_wallet.h:594