Monero C++ Library
Loading...
Searching...
No Matches
monero_wallet_full.h
1
52
53#pragma once
54
55#include "monero_wallet.h"
56#include "wallet/wallet2.h"
57
58#include <boost/thread/mutex.hpp>
59#include <boost/thread/thread.hpp>
60#include <boost/thread/condition_variable.hpp>
61
65namespace monero {
66
67 // -------------------------------- LISTENERS -------------------------------
68
69 // forward declaration of internal wallet2 listener
70 struct wallet2_listener;
71
72 // --------------------------- STATIC WALLET UTILS --------------------------
73
78
79 public:
80
87 static bool wallet_exists(const std::string& path);
88
98 static monero_wallet_full* open_wallet(const std::string& path, const std::string& password, const monero_network_type network_type, bool regtest = false);
99
112 static monero_wallet_full* open_wallet_data(const std::string& password, const monero_network_type, const std::string& keys_data, const std::string& cache_data, const monero_rpc_connection& daemon_connection = monero_rpc_connection(), std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory = nullptr, bool regtest = false);
113
121 static monero_wallet_full* create_wallet(const monero_wallet_config& config, std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory = nullptr);
122
128 static std::vector<std::string> get_seed_languages();
129
130 // ----------------------------- WALLET METHODS -----------------------------
131
136
140 bool is_view_only() const override { return m_w2->watch_only(); }
141 void set_daemon_connection(const std::string& uri, const std::string& username = "", const std::string& password = "", const std::string& proxy_uri = "") override;
142 void set_daemon_connection(const boost::optional<monero_rpc_connection>& connection) override;
143 boost::optional<monero_rpc_connection> get_daemon_connection() const override;
144 bool is_connected_to_daemon() const override;
145 bool is_daemon_synced() const override;
146 bool is_daemon_trusted() const override;
147 bool is_synced() const override;
148 monero_version get_version() const override;
149 std::string get_path() const override;
150 monero_network_type get_network_type() const override;
151 std::string get_seed() const override;
152 std::string get_seed_language() const override;
153 std::string get_public_view_key() const override;
154 std::string get_private_view_key() const override;
155 std::string get_public_spend_key() const override;
156 std::string get_private_spend_key() const override;
157 std::string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override;
158 monero_subaddress get_address_index(const std::string& address) const override;
159 monero_integrated_address get_integrated_address(const std::string& standard_address = "", const std::string& payment_id = "") const override;
160 monero_integrated_address decode_integrated_address(const std::string& integrated_address) const override;
161 uint64_t get_height() const override;
162 uint64_t get_restore_height() const override;
163 void set_restore_height(uint64_t restore_height) override;
164 uint64_t get_daemon_height() const override;
165 uint64_t get_daemon_max_peer_height() const override;
166 uint64_t get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const override;
167 void add_listener(monero_wallet_listener& listener) override;
168 void remove_listener(monero_wallet_listener& listener) override;
169 std::set<monero_wallet_listener*> get_listeners() override;
170 monero_sync_result sync() override;
172 monero_sync_result sync(uint64_t start_height) override;
173 monero_sync_result sync(uint64_t start_height, monero_wallet_listener& listener) override;
174 void start_syncing(uint64_t sync_period_in_ms) override;
175 void stop_syncing() override;
176 void scan_txs(const std::vector<std::string>& tx_hashes) override;
177 void rescan_spent() override;
178 void rescan_blockchain() override;
179 uint64_t get_balance() const override;
180 uint64_t get_balance(uint32_t account_idx) const override;
181 uint64_t get_balance(uint32_t account_idx, uint32_t subaddress_idx) const override;
182 uint64_t get_unlocked_balance() const override;
183 uint64_t get_unlocked_balance(uint32_t account_idx) const override;
184 uint64_t get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const override;
185 std::vector<monero_account> get_accounts(bool include_subaddresses, const std::string& tag) const override;
186 monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const override;
187 monero_account create_account(const std::string& label = "") override;
188 std::vector<monero_subaddress> get_subaddresses(const uint32_t account_idx, const std::vector<uint32_t>& subaddress_indices) const override;
189 monero_subaddress create_subaddress(uint32_t account_idx, const std::string& label = "") override;
190 void set_subaddress_label(uint32_t account_idx, uint32_t subaddress_idx, const std::string& label = "") override;
191 std::vector<std::shared_ptr<monero_tx_wallet>> get_txs() const override;
192 std::vector<std::shared_ptr<monero_tx_wallet>> get_txs(const monero_tx_query& query) const override;
193 std::vector<std::shared_ptr<monero_transfer>> get_transfers(const monero_transfer_query& query) const override;
194 std::vector<std::shared_ptr<monero_output_wallet>> get_outputs(const monero_output_query& query) const override;
195 std::string export_outputs(bool all = false) const override;
196 int import_outputs(const std::string& outputs_hex) override;
197 std::vector<std::shared_ptr<monero_key_image>> export_key_images(bool all = false) const override;
198 std::shared_ptr<monero_key_image_import_result> import_key_images(const std::vector<std::shared_ptr<monero_key_image>>& key_images) override;
199 void freeze_output(const std::string& key_image) override;
200 void thaw_output(const std::string& key_image) override;
201 bool is_output_frozen(const std::string& key_image) override;
203 std::vector<std::shared_ptr<monero_tx_wallet>> create_txs(const monero_tx_config& config) override;
204 std::vector<std::shared_ptr<monero_tx_wallet>> sweep_unlocked(const monero_tx_config& config) override;
205 std::shared_ptr<monero_tx_wallet> sweep_output(const monero_tx_config& config) override;
206 std::vector<std::shared_ptr<monero_tx_wallet>> sweep_dust(bool relay = false) override;
207 std::vector<std::string> relay_txs(const std::vector<std::string>& tx_metadatas) override;
208 monero_tx_set describe_tx_set(const monero_tx_set& tx_set) override;
209 monero_tx_set sign_txs(const std::string& unsigned_tx_hex) override;
210 std::vector<std::string> submit_txs(const std::string& signed_tx_hex) override;
211 std::string sign_message(const std::string& msg, monero_message_signature_type signature_type, uint32_t account_idx = 0, uint32_t subaddress_idx = 0) const override;
212 monero_message_signature_result verify_message(const std::string& msg, const std::string& address, const std::string& signature) const override;
213 std::string get_tx_key(const std::string& tx_hash) const override;
214 std::shared_ptr<monero_check_tx> check_tx_key(const std::string& tx_hash, const std::string& txKey, const std::string& address) const override;
215 std::string get_tx_proof(const std::string& tx_hash, const std::string& address, const std::string& message) const override;
216 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 override;
217 std::string get_spend_proof(const std::string& tx_hash, const std::string& message) const override;
218 bool check_spend_proof(const std::string& tx_hash, const std::string& message, const std::string& signature) const override;
219 std::string get_reserve_proof_wallet(const std::string& message) const override;
220 std::string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string& message) const override;
221 std::shared_ptr<monero_check_reserve> check_reserve_proof(const std::string& address, const std::string& message, const std::string& signature) const override;
222 std::string get_tx_note(const std::string& tx_hash) const override;
223 std::vector<std::string> get_tx_notes(const std::vector<std::string>& tx_hashes) const override;
224 void set_tx_note(const std::string& tx_hash, const std::string& note) override;
225 void set_tx_notes(const std::vector<std::string>& tx_hashes, const std::vector<std::string>& notes) override;
226 std::vector<monero_address_book_entry> get_address_book_entries(const std::vector<uint64_t>& indices) const override;
227 uint64_t add_address_book_entry(const std::string& address, const std::string& description) override;
228 void edit_address_book_entry(uint64_t index, bool set_address, const std::string& address, bool set_description, const std::string& description) override;
229 void delete_address_book_entry(uint64_t index) override;
230 std::string get_payment_uri(const monero_tx_config& config) const override;
231 std::shared_ptr<monero_tx_config> parse_payment_uri(const std::string& uri) const override;
232 bool get_attribute(const std::string& key, std::string& value) const override;
233 void set_attribute(const std::string& key, const std::string& val) override;
234 void start_mining(boost::optional<uint64_t> num_threads, boost::optional<bool> background_mining, boost::optional<bool> ignore_battery) override;
235 void stop_mining() override;
236 uint64_t wait_for_next_block() override;
237 bool is_multisig_import_needed() const override;
239 std::string prepare_multisig() override;
240 std::string make_multisig(const std::vector<std::string>& multisig_hexes, int threshold, const std::string& password) override;
241 monero_multisig_init_result exchange_multisig_keys(const std::vector<std::string>& multisig_hexes, const std::string& password) override;
242 std::string export_multisig_hex() override;
243 int import_multisig_hex(const std::vector<std::string>& multisig_hexes, const bool refresh_after_import = true) override;
244 monero_multisig_sign_result sign_multisig_tx_hex(const std::string& multisig_tx_hex) override;
245 std::vector<std::string> submit_multisig_tx_hex(const std::string& signed_multisig_tx_hex) override;
246 void change_password(const std::string& old_password, const std::string& new_password) override;
247 void move_to(const std::string& path, const std::string& password) override;
248 void save() override;
249 void close(bool save = false) override;
250 bool is_closed() const override { return m_is_closed; }
251
255 std::string get_keys_file_buffer(const epee::wipeable_string& password, bool view_only) const;
256 std::string get_cache_file_buffer() const;
257
258 // --------------------------------- PROTECTED --------------------------------
259
260 protected:
261 std::unique_ptr<tools::wallet2> m_w2; // internal wallet implementation
262
263 void init_common();
264
265 // ---------------------------------- PRIVATE ---------------------------------
266
267 private:
268 friend struct wallet2_listener;
269 std::unique_ptr<wallet2_listener> m_w2_listener; // internal wallet implementation listener
270 std::set<monero_wallet_listener*> m_listeners; // external wallet listeners
271 std::atomic<bool> m_is_closed;
272
273 static monero_wallet_full* create_wallet_from_seed(monero_wallet_config& config, std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory);
274 static monero_wallet_full* create_wallet_from_keys(monero_wallet_config& config, std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory);
275 static monero_wallet_full* create_wallet_random(monero_wallet_config& config, std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory);
276
277 std::vector<monero_subaddress> get_subaddresses_aux(uint32_t account_idx, const std::vector<uint32_t>& subaddress_indices, const std::vector<tools::wallet2::transfer_details>& transfers) const;
278 std::vector<std::shared_ptr<monero_transfer>> get_transfers_aux(const monero_transfer_query& query) const;
279 std::vector<std::shared_ptr<monero_output_wallet>> get_outputs_aux(const monero_output_query& query) const;
280 std::vector<std::shared_ptr<monero_tx_wallet>> sweep_account(const monero_tx_config& config); // sweeps unlocked funds within an account; private helper to sweep_unlocked()
281
282 void assert_not_closed() const;
283
284 // blockchain sync management
285 mutable std::atomic<bool> m_is_synced; // whether or not wallet is synced
286 mutable std::atomic<bool> m_is_connected; // cache connection status to avoid unecessary RPC calls
287 boost::condition_variable m_sync_cv; // to make sync threads woke
288 boost::mutex m_sync_mutex; // synchronize sync() and syncAsync() requests
289 std::atomic<bool> m_rescan_on_sync; // whether or not to rescan on sync
290 std::atomic<bool> m_syncing_enabled; // whether or not auto sync is enabled
291 std::atomic<bool> m_sync_loop_running; // whether or not the syncing thread is shut down
292 std::atomic<int> m_syncing_interval; // auto sync loop interval in milliseconds
293 boost::thread m_syncing_thread; // thread for auto sync loop
294 boost::mutex m_syncing_mutex; // synchronize auto sync loop
295 void run_sync_loop(); // run the sync loop in a thread
296 monero_sync_result lock_and_sync(boost::optional<uint64_t> start_height = boost::none); // internal function to synchronize request to sync and rescan
297 monero_sync_result sync_aux(boost::optional<uint64_t> start_height = boost::none); // internal function to immediately block, sync, and report progress
298 };
299}
Definition monero_wallet_full.h:77
void start_mining(boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) override
Definition monero_wallet_full.cpp:3376
std::string get_seed() const override
Definition monero_wallet_full.cpp:1391
std::vector< std::shared_ptr< monero_output_wallet > > get_outputs(const monero_output_query &query) const override
Definition monero_wallet_full.cpp:1940
static bool wallet_exists(const std::string &path)
Definition monero_wallet_full.cpp:1054
std::string get_tx_note(const std::string &tx_hash) const override
Definition monero_wallet_full.cpp:3182
monero_version get_version() const override
Definition monero_wallet_full.cpp:1373
uint64_t get_restore_height() const override
Definition monero_wallet_full.cpp:1519
std::string get_private_view_key() const override
Definition monero_wallet_full.cpp:1418
std::string prepare_multisig() override
Definition monero_wallet_full.cpp:3463
std::string get_public_view_key() const override
Definition monero_wallet_full.cpp:1412
std::vector< monero_address_book_entry > get_address_book_entries(const std::vector< uint64_t > &indices) const override
Definition monero_wallet_full.cpp:3221
monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const override
Definition monero_wallet_full.cpp:1732
std::vector< std::shared_ptr< monero_tx_wallet > > sweep_dust(bool relay=false) override
Definition monero_wallet_full.cpp:2565
void set_attribute(const std::string &key, const std::string &val) override
Definition monero_wallet_full.cpp:3371
void set_tx_notes(const std::vector< std::string > &tx_hashes, const std::vector< std::string > &notes) override
Definition monero_wallet_full.cpp:3212
void stop_syncing() override
Definition monero_wallet_full.cpp:1630
std::string get_path() const override
Definition monero_wallet_full.cpp:1381
std::vector< monero_subaddress > get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override
Definition monero_wallet_full.cpp:1766
void set_tx_note(const std::string &tx_hash, const std::string &note) override
Definition monero_wallet_full.cpp:3201
std::vector< std::shared_ptr< monero_key_image > > export_key_images(bool all=false) const override
Definition monero_wallet_full.cpp:1980
static monero_wallet_full * open_wallet(const std::string &path, const std::string &password, const monero_network_type network_type, bool regtest=false)
Definition monero_wallet_full.cpp:1062
std::shared_ptr< monero_key_image_import_result > import_key_images(const std::vector< std::shared_ptr< monero_key_image > > &key_images) override
Definition monero_wallet_full.cpp:1996
monero_multisig_sign_result sign_multisig_tx_hex(const std::string &multisig_tx_hex) override
Definition monero_wallet_full.cpp:3540
void freeze_output(const std::string &key_image) override
Definition monero_wallet_full.cpp:2024
std::vector< std::string > relay_txs(const std::vector< std::string > &tx_metadatas) override
Definition monero_wallet_full.cpp:2667
int import_multisig_hex(const std::vector< std::string > &multisig_hexes, const bool refresh_after_import=true) override
Definition monero_wallet_full.cpp:3511
monero_subaddress create_subaddress(uint32_t account_idx, const std::string &label="") override
Definition monero_wallet_full.cpp:1776
void rescan_blockchain() override
Definition monero_wallet_full.cpp:1665
bool is_view_only() const override
Definition monero_wallet_full.h:140
static std::vector< std::string > get_seed_languages()
Definition monero_wallet_full.cpp:1287
void rescan_spent() override
Definition monero_wallet_full.cpp:1656
std::string sign_message(const std::string &msg, monero_message_signature_type signature_type, uint32_t account_idx=0, uint32_t subaddress_idx=0) const override
Definition monero_wallet_full.cpp:2943
static monero_wallet_full * create_wallet(const monero_wallet_config &config, std::unique_ptr< epee::net_utils::http::http_client_factory > http_client_factory=nullptr)
Definition monero_wallet_full.cpp:1094
std::string get_tx_key(const std::string &tx_hash) const override
Definition monero_wallet_full.cpp:2984
void thaw_output(const std::string &key_image) override
Definition monero_wallet_full.cpp:2032
uint64_t get_unlocked_balance() const override
Definition monero_wallet_full.cpp:1692
monero_subaddress get_address_index(const std::string &address) const override
Definition monero_wallet_full.cpp:1444
std::vector< std::string > submit_txs(const std::string &signed_tx_hex) override
Definition monero_wallet_full.cpp:2916
std::vector< std::shared_ptr< monero_tx_wallet > > create_txs(const monero_tx_config &config) override
Definition monero_wallet_full.cpp:2053
std::shared_ptr< monero_tx_config > parse_payment_uri(const std::string &uri) const override
Definition monero_wallet_full.cpp:3337
std::shared_ptr< monero_check_reserve > check_reserve_proof(const std::string &address, const std::string &message, const std::string &signature) const override
Definition monero_wallet_full.cpp:3160
static monero_wallet_full * open_wallet_data(const std::string &password, const monero_network_type, const std::string &keys_data, const std::string &cache_data, const monero_rpc_connection &daemon_connection=monero_rpc_connection(), std::unique_ptr< epee::net_utils::http::http_client_factory > http_client_factory=nullptr, bool regtest=false)
Definition monero_wallet_full.cpp:1077
std::vector< std::string > submit_multisig_tx_hex(const std::string &signed_multisig_tx_hex) override
Definition monero_wallet_full.cpp:3584
std::string get_spend_proof(const std::string &tx_hash, const std::string &message) const override
Definition monero_wallet_full.cpp:3113
boost::optional< monero_rpc_connection > get_daemon_connection() const override
Definition monero_wallet_full.cpp:1329
uint64_t get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const override
Definition monero_wallet_full.cpp:1548
std::string export_outputs(bool all=false) const override
Definition monero_wallet_full.cpp:1962
monero_integrated_address decode_integrated_address(const std::string &integrated_address) const override
Definition monero_wallet_full.cpp:1497
monero_tx_set sign_txs(const std::string &unsigned_tx_hex) override
Definition monero_wallet_full.cpp:2876
std::vector< std::shared_ptr< monero_tx_wallet > > get_txs() const override
Definition monero_wallet_full.cpp:1804
std::vector< std::shared_ptr< monero_tx_wallet > > sweep_unlocked(const monero_tx_config &config) override
Definition monero_wallet_full.cpp:2216
monero_tx_set describe_tx_set(const monero_tx_set &tx_set) override
Definition monero_wallet_full.cpp:2716
int import_outputs(const std::string &outputs_hex) override
Definition monero_wallet_full.cpp:1967
std::string get_payment_uri(const monero_tx_config &config) const override
Definition monero_wallet_full.cpp:3313
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 override
Definition monero_wallet_full.cpp:3080
void start_syncing(uint64_t sync_period_in_ms) override
Definition monero_wallet_full.cpp:1620
void add_listener(monero_wallet_listener &listener) override
Definition monero_wallet_full.cpp:1553
void save() override
Definition monero_wallet_full.cpp:3641
bool is_output_frozen(const std::string &key_image) override
Definition monero_wallet_full.cpp:2040
bool is_daemon_synced() const override
Definition monero_wallet_full.cpp:1355
bool is_multisig_import_needed() const override
Definition monero_wallet_full.cpp:3451
std::string get_reserve_proof_wallet(const std::string &message) const override
Definition monero_wallet_full.cpp:3144
monero_message_signature_result verify_message(const std::string &msg, const std::string &address, const std::string &signature) const override
Definition monero_wallet_full.cpp:2950
std::shared_ptr< monero_tx_wallet > sweep_output(const monero_tx_config &config) override
Definition monero_wallet_full.cpp:2420
std::string get_tx_proof(const std::string &tx_hash, const std::string &address, const std::string &message) const override
Definition monero_wallet_full.cpp:3061
void stop_mining() override
Definition monero_wallet_full.cpp:3407
bool get_attribute(const std::string &key, std::string &value) const override
Definition monero_wallet_full.cpp:3366
~monero_wallet_full()
Definition monero_wallet_full.cpp:1295
bool is_daemon_trusted() const override
Definition monero_wallet_full.cpp:1362
monero_tx_priority get_default_fee_priority() const override
Definition monero_wallet_full.cpp:2048
std::shared_ptr< monero_check_tx > check_tx_key(const std::string &tx_hash, const std::string &txKey, const std::string &address) const override
Definition monero_wallet_full.cpp:3010
void scan_txs(const std::vector< std::string > &tx_hashes) override
Definition monero_wallet_full.cpp:1636
std::string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override
Definition monero_wallet_full.cpp:1439
std::set< monero_wallet_listener * > get_listeners() override
Definition monero_wallet_full.cpp:1565
bool check_spend_proof(const std::string &tx_hash, const std::string &message, const std::string &signature) const override
Definition monero_wallet_full.cpp:3127
void delete_address_book_entry(uint64_t index) override
Definition monero_wallet_full.cpp:3306
uint64_t add_address_book_entry(const std::string &address, const std::string &description) override
Definition monero_wallet_full.cpp:3254
std::string get_keys_file_buffer(const epee::wipeable_string &password, bool view_only) const
Definition monero_wallet_full.cpp:3647
bool is_connected_to_daemon() const override
Definition monero_wallet_full.cpp:1346
void change_password(const std::string &old_password, const std::string &new_password) override
Definition monero_wallet_full.cpp:3626
uint64_t wait_for_next_block() override
Definition monero_wallet_full.cpp:3418
monero_multisig_info get_multisig_info() const override
Definition monero_wallet_full.cpp:3456
uint64_t get_balance() const override
Definition monero_wallet_full.cpp:1675
monero_integrated_address get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override
Definition monero_wallet_full.cpp:1466
void move_to(const std::string &path, const std::string &password) override
Definition monero_wallet_full.cpp:3635
monero_multisig_init_result exchange_multisig_keys(const std::vector< std::string > &multisig_hexes, const std::string &password) override
Definition monero_wallet_full.cpp:3479
std::string get_seed_language() const override
Definition monero_wallet_full.cpp:1406
std::string make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override
Definition monero_wallet_full.cpp:3471
monero_network_type get_network_type() const override
Definition monero_wallet_full.cpp:1386
monero_account create_account(const std::string &label="") override
Definition monero_wallet_full.cpp:1750
monero_sync_result sync() override
Definition monero_wallet_full.cpp:1570
std::string export_multisig_hex() override
Definition monero_wallet_full.cpp:3503
void remove_listener(monero_wallet_listener &listener) override
Definition monero_wallet_full.cpp:1559
uint64_t get_height() const override
Definition monero_wallet_full.cpp:1514
void edit_address_book_entry(uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) override
Definition monero_wallet_full.cpp:3272
std::string get_private_spend_key() const override
Definition monero_wallet_full.cpp:1430
void close(bool save=false) override
Definition monero_wallet_full.cpp:3663
uint64_t get_daemon_max_peer_height() const override
Definition monero_wallet_full.cpp:1538
void set_subaddress_label(uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") override
Definition monero_wallet_full.cpp:1797
uint64_t get_daemon_height() const override
Definition monero_wallet_full.cpp:1529
std::string get_public_spend_key() const override
Definition monero_wallet_full.cpp:1424
std::vector< std::shared_ptr< monero_transfer > > get_transfers(const monero_transfer_query &query) const override
Definition monero_wallet_full.cpp:1918
std::vector< std::string > get_tx_notes(const std::vector< std::string > &tx_hashes) const override
Definition monero_wallet_full.cpp:3193
bool is_synced() const override
Definition monero_wallet_full.cpp:1368
bool is_closed() const override
Definition monero_wallet_full.h:250
void set_daemon_connection(const std::string &uri, const std::string &username="", const std::string &password="", const std::string &proxy_uri="") override
Definition monero_wallet_full.cpp:1300
std::string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const override
Definition monero_wallet_full.cpp:3151
void set_restore_height(uint64_t restore_height) override
Definition monero_wallet_full.cpp:1524
Definition monero_wallet.h:71
Definition monero_wallet.h:123
virtual std::vector< monero_account > get_accounts() const
Definition monero_wallet.h:577
Definition monero_daemon.cpp:58
monero_message_signature_type
Definition monero_wallet_model.h:413
monero_tx_priority
Definition monero_wallet_model.h:362
monero_network_type
Definition monero_daemon_model.h:92
Definition monero_wallet_model.h:124
Definition monero_wallet_model.h:351
Definition monero_wallet_model.h:421
Definition monero_wallet_model.h:463
Definition monero_wallet_model.h:477
Definition monero_wallet_model.h:487
Definition monero_wallet_model.h:253
Definition monero_daemon_model.h:111
Definition monero_wallet_model.h:107
Definition monero_wallet_model.h:95
Definition monero_wallet_model.h:211
Definition monero_wallet_model.h:372
Definition monero_wallet_model.h:306
Definition monero_wallet_model.h:337
Definition monero_daemon_model.h:101
Definition monero_wallet_model.h:67
Definition monero_wallet_full.cpp:705