From 14607a26b8d968eb32e91d5dab5a90c4d50d2cdf Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 24 Aug 2023 16:10:17 -0400 Subject: [PATCH] update docs --- docs/classmonero_1_1monero__wallet.html | 18 +-- docs/classmonero_1_1monero__wallet__full.html | 16 +-- docs/monero__utils_8h_source.html | 136 +++++++++++++++--- docs/monero__wallet__full_8h_source.html | 114 +++++++-------- 4 files changed, 188 insertions(+), 96 deletions(-) diff --git a/docs/classmonero_1_1monero__wallet.html b/docs/classmonero_1_1monero__wallet.html index 3050f46..0ee343a 100644 --- a/docs/classmonero_1_1monero__wallet.html +++ b/docs/classmonero_1_1monero__wallet.html @@ -863,7 +863,7 @@ Public Member Functions -
Returns
the created transaction
+
Returns
the created transaction (free memory using monero_utils::free)
@@ -897,7 +897,7 @@ Public Member Functions -
Returns
the created transactions
+
Returns
the created transactions (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -2102,7 +2102,7 @@ Public Member Functions -
Returns
wallet outputs per the query
+
Returns
wallet outputs per the query (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -2699,7 +2699,7 @@ Public Member Functions -
Returns
wallet transfers per the query
+
Returns
wallet transfers per the query (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -2889,7 +2889,7 @@ Public Member Functions

Get all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.

-
Returns
all wallet transactions
+
Returns
all wallet transactions (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -2926,7 +2926,7 @@ Public Member Functions -
Returns
wallet transactions per the query
+
Returns
wallet transactions per the query (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -4600,7 +4600,7 @@ Public Member Functions -
Returns
the created transactions
+
Returns
the created transactions (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -4636,7 +4636,7 @@ Public Member Functions -
Returns
the created transaction
+
Returns
the created transaction (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

@@ -4672,7 +4672,7 @@ Public Member Functions -
Returns
the created transactions
+
Returns
the created transactions (free memory using monero_utils::free)

Reimplemented in monero::monero_wallet_full.

diff --git a/docs/classmonero_1_1monero__wallet__full.html b/docs/classmonero_1_1monero__wallet__full.html index f201834..1695b51 100644 --- a/docs/classmonero_1_1monero__wallet__full.html +++ b/docs/classmonero_1_1monero__wallet__full.html @@ -1103,7 +1103,7 @@ struct wallet2_listener -
Returns
the created transactions
+
Returns
the created transactions (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -2253,7 +2253,7 @@ struct wallet2_listener -
Returns
wallet outputs per the query
+
Returns
wallet outputs per the query (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -2769,7 +2769,7 @@ struct wallet2_listener -
Returns
wallet transfers per the query
+
Returns
wallet transfers per the query (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -2959,7 +2959,7 @@ struct wallet2_listener

Get all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.

-
Returns
all wallet transactions
+
Returns
all wallet transactions (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -2996,7 +2996,7 @@ struct wallet2_listener -
Returns
wallet transactions per the query
+
Returns
wallet transactions per the query (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -4665,7 +4665,7 @@ struct wallet2_listener -
Returns
the created transactions
+
Returns
the created transactions (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -4701,7 +4701,7 @@ struct wallet2_listener -
Returns
the created transaction
+
Returns
the created transaction (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

@@ -4737,7 +4737,7 @@ struct wallet2_listener -
Returns
the created transactions
+
Returns
the created transactions (free memory using monero_utils::free)

Reimplemented from monero::monero_wallet.

diff --git a/docs/monero__utils_8h_source.html b/docs/monero__utils_8h_source.html index 51bde89..078897a 100644 --- a/docs/monero__utils_8h_source.html +++ b/docs/monero__utils_8h_source.html @@ -163,28 +163,119 @@ $(function() {
175 return ss.str();
176 }
177
-
183 static void free(std::shared_ptr<monero_block> block) {
-
184 for (std::shared_ptr<monero_tx>& tx : block->m_txs) {
-
185 tx->m_block.reset();
-
186 monero_tx_wallet* tx_wallet = dynamic_cast<monero_tx_wallet*>(tx.get());
-
187 if (tx_wallet != nullptr) {
-
188 if (tx_wallet->m_outgoing_transfer != boost::none) tx_wallet->m_outgoing_transfer.get()->m_tx.reset();
-
189 for (std::shared_ptr<monero_transfer> transfer : tx_wallet->m_incoming_transfers) transfer->m_tx.reset();
-
190 for (std::shared_ptr<monero_output> output : tx_wallet->m_outputs) output->m_tx.reset();
-
191 for (std::shared_ptr<monero_output> input : tx_wallet->m_inputs) {
-
192 input->m_key_image.reset();
-
193 input->m_tx.reset();
-
194 }
-
195 }
-
196 }
-
197 block.reset();
-
198 }
-
199
-
205 static void free(std::vector<std::shared_ptr<monero_block>> blocks) {
-
206 for (std::shared_ptr<monero_block>& block : blocks) monero_utils::free(block);
-
207 }
-
208}
-
209#endif /* monero_utils_h */
+
178 // ----------------------------- GATHER BLOCKS ------------------------------
+
179
+
180 static std::vector<std::shared_ptr<monero_block>> get_blocks_from_txs(std::vector<std::shared_ptr<monero_tx_wallet>> txs) {
+
181 std::shared_ptr<monero_block> unconfirmed_block = nullptr; // placeholder for unconfirmed txs
+
182 std::vector<std::shared_ptr<monero_block>> blocks;
+
183 std::unordered_set<std::shared_ptr<monero_block>> seen_block_ptrs;
+
184 for (const std::shared_ptr<monero_tx_wallet>& tx : txs) {
+
185 if (tx->m_block == boost::none) {
+
186 if (unconfirmed_block == nullptr) unconfirmed_block = std::make_shared<monero_block>();
+
187 tx->m_block = unconfirmed_block;
+
188 unconfirmed_block->m_txs.push_back(tx);
+
189 }
+
190 std::unordered_set<std::shared_ptr<monero_block>>::const_iterator got = seen_block_ptrs.find(tx->m_block.get());
+
191 if (got == seen_block_ptrs.end()) {
+
192 seen_block_ptrs.insert(tx->m_block.get());
+
193 blocks.push_back(tx->m_block.get());
+
194 }
+
195 }
+
196 return blocks;
+
197 }
+
198
+
199 static std::vector<std::shared_ptr<monero_block>> get_blocks_from_transfers(std::vector<std::shared_ptr<monero_transfer>> transfers) {
+
200 std::shared_ptr<monero_block> unconfirmed_block = nullptr; // placeholder for unconfirmed txs in return json
+
201 std::vector<std::shared_ptr<monero_block>> blocks;
+
202 std::unordered_set<std::shared_ptr<monero_block>> seen_block_ptrs;
+
203 for (auto const& transfer : transfers) {
+
204 std::shared_ptr<monero_tx_wallet> tx = transfer->m_tx;
+
205 if (tx->m_block == boost::none) {
+
206 if (unconfirmed_block == nullptr) unconfirmed_block = std::make_shared<monero_block>();
+
207 tx->m_block = unconfirmed_block;
+
208 unconfirmed_block->m_txs.push_back(tx);
+
209 }
+
210 std::unordered_set<std::shared_ptr<monero_block>>::const_iterator got = seen_block_ptrs.find(tx->m_block.get());
+
211 if (got == seen_block_ptrs.end()) {
+
212 seen_block_ptrs.insert(tx->m_block.get());
+
213 blocks.push_back(tx->m_block.get());
+
214 }
+
215 }
+
216 return blocks;
+
217 }
+
218
+
219 static std::vector<std::shared_ptr<monero_block>> get_blocks_from_outputs(std::vector<std::shared_ptr<monero_output_wallet>> outputs) {
+
220 std::vector<std::shared_ptr<monero_block>> blocks;
+
221 std::unordered_set<std::shared_ptr<monero_block>> seen_block_ptrs;
+
222 for (auto const& output : outputs) {
+
223 std::shared_ptr<monero_tx_wallet> tx = std::static_pointer_cast<monero_tx_wallet>(output->m_tx);
+
224 if (tx->m_block == boost::none) throw std::runtime_error("Need to handle unconfirmed output");
+
225 std::unordered_set<std::shared_ptr<monero_block>>::const_iterator got = seen_block_ptrs.find(*tx->m_block);
+
226 if (got == seen_block_ptrs.end()) {
+
227 seen_block_ptrs.insert(*tx->m_block);
+
228 blocks.push_back(*tx->m_block);
+
229 }
+
230 }
+
231 return blocks;
+
232 }
+
233
+
234 // ------------------------------ FREE MEMORY -------------------------------
+
235
+
236 static void free(std::shared_ptr<monero_block> block) {
+
237 for (std::shared_ptr<monero_tx>& tx : block->m_txs) {
+
238 tx->m_block->reset();
+
239 monero_tx_wallet* tx_wallet = dynamic_cast<monero_tx_wallet*>(tx.get());
+
240 if (tx_wallet != nullptr) {
+
241 if (tx_wallet->m_tx_set != boost::none) tx_wallet->m_tx_set->reset();
+
242 if (tx_wallet->m_outgoing_transfer != boost::none) tx_wallet->m_outgoing_transfer.get()->m_tx.reset();
+
243 for (std::shared_ptr<monero_transfer> transfer : tx_wallet->m_incoming_transfers) transfer->m_tx.reset();
+
244 for (std::shared_ptr<monero_output> output : tx_wallet->m_outputs) output->m_tx.reset();
+
245 for (std::shared_ptr<monero_output> input : tx_wallet->m_inputs) {
+
246 input->m_key_image.reset();
+
247 input->m_tx.reset();
+
248 }
+
249 }
+
250 monero_tx_query* tx_query = dynamic_cast<monero_tx_query*>(tx.get());
+
251 if (tx_query != nullptr) {
+
252 if (tx_query->m_transfer_query != boost::none) {
+
253 tx_query->m_transfer_query.get()->m_tx_query->reset();
+
254 tx_query->m_transfer_query.get().reset();
+
255 }
+
256 if (tx_query->m_output_query != boost::none) {
+
257 tx_query->m_output_query.get()->m_tx_query->reset();
+
258 tx_query->m_output_query.get().reset();
+
259 }
+
260 }
+
261 }
+
262 block.reset();
+
263 }
+
264
+
265 static void free(std::vector<std::shared_ptr<monero_block>> blocks) {
+
266 for (std::shared_ptr<monero_block>& block : blocks) monero_utils::free(block);
+
267 }
+
268
+
269 static void free(std::shared_ptr<monero_tx> tx) {
+
270 if (tx->m_block == boost::none) {
+
271 std::shared_ptr<monero_block> block = std::make_shared<monero_block>();
+
272 tx->m_block = block;
+
273 block->m_txs.push_back(tx);
+
274 }
+
275 monero_utils::free(tx->m_block.get());
+
276 }
+
277
+
278 static void free(std::vector<std::shared_ptr<monero_tx_wallet>> txs) {
+
279 return monero_utils::free(monero_utils::get_blocks_from_txs(txs));
+
280 }
+
281
+
282 static void free(std::vector<std::shared_ptr<monero_transfer>> transfers) {
+
283 return monero_utils::free(monero_utils::get_blocks_from_transfers(transfers));
+
284 }
+
285
+
286 static void free(std::vector<std::shared_ptr<monero_output_wallet>> outputs) {
+
287 return monero_utils::free(monero_utils::get_blocks_from_outputs(outputs));
+
288 }
+
289}
+
290#endif /* monero_utils_h */
Definition: monero_utils.h:67
bool is_valid_language(const std::string &language)
Definition: monero_utils.cpp:303
std::shared_ptr< monero_block > cn_block_to_block(const cryptonote::block &cn_block)
Definition: monero_utils.cpp:316
@@ -192,6 +283,7 @@ $(function() {
std::shared_ptr< monero_tx > cn_tx_to_tx(const cryptonote::transaction &cn_tx, bool init_as_tx_wallet=false)
Definition: monero_utils.cpp:332
monero_network_type
Definition: monero_daemon_model.h:90
Definition: monero_wallet_model.h:354
+
Definition: monero_wallet_model.h:309
Definition: monero_wallet_model.h:275
diff --git a/docs/monero__wallet__full_8h_source.html b/docs/monero__wallet__full_8h_source.html index 92a1a9f..8e742c2 100644 --- a/docs/monero__wallet__full_8h_source.html +++ b/docs/monero__wallet__full_8h_source.html @@ -255,111 +255,111 @@ $(function() {
287 };
288}
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:3215
+
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:3221
std::string get_seed() const override
Definition: monero_wallet_full.cpp:1344
-
std::vector< std::shared_ptr< monero_output_wallet > > get_outputs(const monero_output_query &query) const override
Definition: monero_wallet_full.cpp:1842
+
std::vector< std::shared_ptr< monero_output_wallet > > get_outputs(const monero_output_query &query) const override
Definition: monero_wallet_full.cpp:1848
static bool wallet_exists(const std::string &path)
Definition: monero_wallet_full.cpp:1041
-
std::string get_tx_note(const std::string &tx_hash) const override
Definition: monero_wallet_full.cpp:3033
+
std::string get_tx_note(const std::string &tx_hash) const override
Definition: monero_wallet_full.cpp:3039
monero_version get_version() const override
Definition: monero_wallet_full.cpp:1329
uint64_t get_restore_height() const override
Definition: monero_wallet_full.cpp:1461
std::string get_private_view_key() const override
Definition: monero_wallet_full.cpp:1368
-
std::string prepare_multisig() override
Definition: monero_wallet_full.cpp:3297
+
std::string prepare_multisig() override
Definition: monero_wallet_full.cpp:3303
std::string get_public_view_key() const override
Definition: monero_wallet_full.cpp:1363
-
std::vector< monero_address_book_entry > get_address_book_entries(const std::vector< uint64_t > &indices) const override
Definition: monero_wallet_full.cpp:3068
+
std::vector< monero_address_book_entry > get_address_book_entries(const std::vector< uint64_t > &indices) const override
Definition: monero_wallet_full.cpp:3074
monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const override
Definition: monero_wallet_full.cpp:1649
-
std::vector< std::shared_ptr< monero_tx_wallet > > sweep_dust(bool relay=false) override
Definition: monero_wallet_full.cpp:2450
+
std::vector< std::shared_ptr< monero_tx_wallet > > sweep_dust(bool relay=false) override
Definition: monero_wallet_full.cpp:2456
void set_daemon_proxy(const std::string &uri="") override
Definition: monero_wallet_full.cpp:1282
-
void set_attribute(const std::string &key, const std::string &val) override
Definition: monero_wallet_full.cpp:3211
-
void set_tx_notes(const std::vector< std::string > &tx_hashes, const std::vector< std::string > &notes) override
Definition: monero_wallet_full.cpp:3060
+
void set_attribute(const std::string &key, const std::string &val) override
Definition: monero_wallet_full.cpp:3217
+
void set_tx_notes(const std::vector< std::string > &tx_hashes, const std::vector< std::string > &notes) override
Definition: monero_wallet_full.cpp:3066
void stop_syncing() override
Definition: monero_wallet_full.cpp:1559
std::string get_path() const override
Definition: monero_wallet_full.cpp:1336
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:1681
-
void set_tx_note(const std::string &tx_hash, const std::string &note) override
Definition: monero_wallet_full.cpp:3050
-
int import_multisig_hex(const std::vector< std::string > &multisig_hexes) override
Definition: monero_wallet_full.cpp:3341
-
std::vector< std::shared_ptr< monero_key_image > > export_key_images(bool all=false) const override
Definition: monero_wallet_full.cpp:1879
-
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:1894
-
monero_multisig_sign_result sign_multisig_tx_hex(const std::string &multisig_tx_hex) override
Definition: monero_wallet_full.cpp:3369
-
void freeze_output(const std::string &key_image) override
Definition: monero_wallet_full.cpp:1921
-
std::vector< std::string > relay_txs(const std::vector< std::string > &tx_metadatas) override
Definition: monero_wallet_full.cpp:2550
+
void set_tx_note(const std::string &tx_hash, const std::string &note) override
Definition: monero_wallet_full.cpp:3056
+
int import_multisig_hex(const std::vector< std::string > &multisig_hexes) override
Definition: monero_wallet_full.cpp:3347
+
std::vector< std::shared_ptr< monero_key_image > > export_key_images(bool all=false) const override
Definition: monero_wallet_full.cpp:1885
+
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:1900
+
monero_multisig_sign_result sign_multisig_tx_hex(const std::string &multisig_tx_hex) override
Definition: monero_wallet_full.cpp:3375
+
void freeze_output(const std::string &key_image) override
Definition: monero_wallet_full.cpp:1927
+
std::vector< std::string > relay_txs(const std::vector< std::string > &tx_metadatas) override
Definition: monero_wallet_full.cpp:2556
monero_subaddress create_subaddress(uint32_t account_idx, const std::string &label="") override
Definition: monero_wallet_full.cpp:1690
void rescan_blockchain() override
Definition: monero_wallet_full.cpp:1590
bool is_view_only() const override
Definition: monero_wallet_full.h:138
static std::vector< std::string > get_seed_languages()
Definition: monero_wallet_full.cpp:1248
void rescan_spent() override
Definition: monero_wallet_full.cpp:1582
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)
Definition: monero_wallet_full.cpp:1059
-
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:2805
+
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:2811
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:1071
-
std::string get_tx_key(const std::string &tx_hash) const override
Definition: monero_wallet_full.cpp:2844
-
void thaw_output(const std::string &key_image) override
Definition: monero_wallet_full.cpp:1928
+
std::string get_tx_key(const std::string &tx_hash) const override
Definition: monero_wallet_full.cpp:2850
+
void thaw_output(const std::string &key_image) override
Definition: monero_wallet_full.cpp:1934
uint64_t get_unlocked_balance() const override
Definition: monero_wallet_full.cpp:1613
monero_subaddress get_address_index(const std::string &address) const override
Definition: monero_wallet_full.cpp:1390
-
std::vector< std::string > submit_txs(const std::string &signed_tx_hex) override
Definition: monero_wallet_full.cpp:2779
-
std::vector< std::shared_ptr< monero_tx_wallet > > create_txs(const monero_tx_config &config) override
Definition: monero_wallet_full.cpp:1942
-
std::shared_ptr< monero_tx_config > parse_payment_uri(const std::string &uri) const override
Definition: monero_wallet_full.cpp:3179
-
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:3012
-
std::vector< std::string > submit_multisig_tx_hex(const std::string &signed_multisig_tx_hex) override
Definition: monero_wallet_full.cpp:3412
-
std::string get_spend_proof(const std::string &tx_hash, const std::string &message) const override
Definition: monero_wallet_full.cpp:2969
+
std::vector< std::string > submit_txs(const std::string &signed_tx_hex) override
Definition: monero_wallet_full.cpp:2785
+
std::vector< std::shared_ptr< monero_tx_wallet > > create_txs(const monero_tx_config &config) override
Definition: monero_wallet_full.cpp:1948
+
std::shared_ptr< monero_tx_config > parse_payment_uri(const std::string &uri) const override
Definition: monero_wallet_full.cpp:3185
+
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:3018
+
std::vector< std::string > submit_multisig_tx_hex(const std::string &signed_multisig_tx_hex) override
Definition: monero_wallet_full.cpp:3418
+
std::string get_spend_proof(const std::string &tx_hash, const std::string &message) const override
Definition: monero_wallet_full.cpp:2975
boost::optional< monero_rpc_connection > get_daemon_connection() const override
Definition: monero_wallet_full.cpp:1291
uint64_t get_height_by_date(uint16_t year, uint8_t month, uint8_t day) const override
Definition: monero_wallet_full.cpp:1486
-
std::string export_outputs(bool all=false) const override
Definition: monero_wallet_full.cpp:1863
+
std::string export_outputs(bool all=false) const override
Definition: monero_wallet_full.cpp:1869
monero_integrated_address decode_integrated_address(const std::string &integrated_address) const override
Definition: monero_wallet_full.cpp:1441
std::vector< std::shared_ptr< monero_tx_wallet > > get_txs() const override
Definition: monero_wallet_full.cpp:1716
-
std::vector< std::shared_ptr< monero_tx_wallet > > sweep_unlocked(const monero_tx_config &config) override
Definition: monero_wallet_full.cpp:2104
-
monero_tx_set describe_tx_set(const monero_tx_set &tx_set) override
Definition: monero_wallet_full.cpp:2598
-
int import_outputs(const std::string &outputs_hex) override
Definition: monero_wallet_full.cpp:1867
-
std::string get_payment_uri(const monero_tx_config &config) const override
Definition: monero_wallet_full.cpp:3156
-
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:2937
+
std::vector< std::shared_ptr< monero_tx_wallet > > sweep_unlocked(const monero_tx_config &config) override
Definition: monero_wallet_full.cpp:2110
+
monero_tx_set describe_tx_set(const monero_tx_set &tx_set) override
Definition: monero_wallet_full.cpp:2604
+
int import_outputs(const std::string &outputs_hex) override
Definition: monero_wallet_full.cpp:1873
+
std::string get_payment_uri(const monero_tx_config &config) const override
Definition: monero_wallet_full.cpp:3162
+
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:2943
void start_syncing(uint64_t sync_period_in_ms) override
Definition: monero_wallet_full.cpp:1550
void add_listener(monero_wallet_listener &listener) override
Definition: monero_wallet_full.cpp:1490
-
void save() override
Definition: monero_wallet_full.cpp:3466
-
bool is_output_frozen(const std::string &key_image) override
Definition: monero_wallet_full.cpp:1935
-
monero_multisig_init_result exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password) override
Definition: monero_wallet_full.cpp:3311
+
void save() override
Definition: monero_wallet_full.cpp:3472
+
bool is_output_frozen(const std::string &key_image) override
Definition: monero_wallet_full.cpp:1941
+
monero_multisig_init_result exchange_multisig_keys(const std::vector< std::string > &mutisig_hexes, const std::string &password) override
Definition: monero_wallet_full.cpp:3317
bool is_daemon_synced() const override
Definition: monero_wallet_full.cpp:1314
-
std::string sign_txs(const std::string &unsigned_tx_hex) override
Definition: monero_wallet_full.cpp:2757
-
bool is_multisig_import_needed() const override
Definition: monero_wallet_full.cpp:3287
-
std::string get_reserve_proof_wallet(const std::string &message) const override
Definition: monero_wallet_full.cpp:2998
-
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:2811
-
std::shared_ptr< monero_tx_wallet > sweep_output(const monero_tx_config &config) override
Definition: monero_wallet_full.cpp:2306
-
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:2919
-
void stop_mining() override
Definition: monero_wallet_full.cpp:3245
-
bool get_attribute(const std::string &key, std::string &value) const override
Definition: monero_wallet_full.cpp:3207
+
std::string sign_txs(const std::string &unsigned_tx_hex) override
Definition: monero_wallet_full.cpp:2763
+
bool is_multisig_import_needed() const override
Definition: monero_wallet_full.cpp:3293
+
std::string get_reserve_proof_wallet(const std::string &message) const override
Definition: monero_wallet_full.cpp:3004
+
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:2817
+
std::shared_ptr< monero_tx_wallet > sweep_output(const monero_tx_config &config) override
Definition: monero_wallet_full.cpp:2312
+
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:2925
+
void stop_mining() override
Definition: monero_wallet_full.cpp:3251
+
bool get_attribute(const std::string &key, std::string &value) const override
Definition: monero_wallet_full.cpp:3213
~monero_wallet_full()
Definition: monero_wallet_full.cpp:1256
bool is_daemon_trusted() const override
Definition: monero_wallet_full.cpp:1320
-
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:2869
+
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:2875
void scan_txs(const std::vector< std::string > &tx_hashes) override
Definition: monero_wallet_full.cpp:1564
std::string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override
Definition: monero_wallet_full.cpp:1386
std::set< monero_wallet_listener * > get_listeners() override
Definition: monero_wallet_full.cpp:1500
-
bool check_spend_proof(const std::string &tx_hash, const std::string &message, const std::string &signature) const override
Definition: monero_wallet_full.cpp:2982
-
void delete_address_book_entry(uint64_t index) override
Definition: monero_wallet_full.cpp:3150
-
uint64_t add_address_book_entry(const std::string &address, const std::string &description) override
Definition: monero_wallet_full.cpp:3100
-
std::string get_keys_file_buffer(const epee::wipeable_string &password, bool view_only) const
Definition: monero_wallet_full.cpp:3471
+
bool check_spend_proof(const std::string &tx_hash, const std::string &message, const std::string &signature) const override
Definition: monero_wallet_full.cpp:2988
+
void delete_address_book_entry(uint64_t index) override
Definition: monero_wallet_full.cpp:3156
+
uint64_t add_address_book_entry(const std::string &address, const std::string &description) override
Definition: monero_wallet_full.cpp:3106
+
std::string get_keys_file_buffer(const epee::wipeable_string &password, bool view_only) const
Definition: monero_wallet_full.cpp:3477
bool is_connected_to_daemon() const override
Definition: monero_wallet_full.cpp:1306
-
void change_password(const std::string &old_password, const std::string &new_password) override
Definition: monero_wallet_full.cpp:3453
+
void change_password(const std::string &old_password, const std::string &new_password) override
Definition: monero_wallet_full.cpp:3459
static monero_wallet_full * open_wallet(const std::string &path, const std::string &password, const monero_network_type network_type)
Definition: monero_wallet_full.cpp:1049
-
uint64_t wait_for_next_block() override
Definition: monero_wallet_full.cpp:3255
-
monero_multisig_info get_multisig_info() const override
Definition: monero_wallet_full.cpp:3291
+
uint64_t wait_for_next_block() override
Definition: monero_wallet_full.cpp:3261
+
monero_multisig_info get_multisig_info() const override
Definition: monero_wallet_full.cpp:3297
uint64_t get_balance() const override
Definition: monero_wallet_full.cpp:1599
monero_integrated_address get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override
Definition: monero_wallet_full.cpp:1411
-
void move_to(const std::string &path, const std::string &password) override
Definition: monero_wallet_full.cpp:3461
+
void move_to(const std::string &path, const std::string &password) override
Definition: monero_wallet_full.cpp:3467
std::string get_seed_language() const override
Definition: monero_wallet_full.cpp:1358
-
std::string make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override
Definition: monero_wallet_full.cpp:3304
+
std::string make_multisig(const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override
Definition: monero_wallet_full.cpp:3310
monero_network_type get_network_type() const override
Definition: monero_wallet_full.cpp:1340
monero_account create_account(const std::string &label="") override
Definition: monero_wallet_full.cpp:1666
monero_sync_result sync() override
Definition: monero_wallet_full.cpp:1504
-
std::string export_multisig_hex() override
Definition: monero_wallet_full.cpp:3334
+
std::string export_multisig_hex() override
Definition: monero_wallet_full.cpp:3340
void remove_listener(monero_wallet_listener &listener) override
Definition: monero_wallet_full.cpp:1495
uint64_t get_height() const override
Definition: monero_wallet_full.cpp:1457
-
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:3117
+
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:3123
std::string get_private_spend_key() const override
Definition: monero_wallet_full.cpp:1378
-
void close(bool save=false) override
Definition: monero_wallet_full.cpp:3485
+
void close(bool save=false) override
Definition: monero_wallet_full.cpp:3491
uint64_t get_daemon_max_peer_height() const override
Definition: monero_wallet_full.cpp:1477
void set_subaddress_label(uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") override
Definition: monero_wallet_full.cpp:1710
uint64_t get_daemon_height() const override
Definition: monero_wallet_full.cpp:1469
std::string get_public_spend_key() const override
Definition: monero_wallet_full.cpp:1373
-
std::vector< std::shared_ptr< monero_transfer > > get_transfers(const monero_transfer_query &query) const override
Definition: monero_wallet_full.cpp:1821
-
std::vector< std::string > get_tx_notes(const std::vector< std::string > &tx_hashes) const override
Definition: monero_wallet_full.cpp:3043
+
std::vector< std::shared_ptr< monero_transfer > > get_transfers(const monero_transfer_query &query) const override
Definition: monero_wallet_full.cpp:1827
+
std::vector< std::string > get_tx_notes(const std::vector< std::string > &tx_hashes) const override
Definition: monero_wallet_full.cpp:3049
bool is_synced() const override
Definition: monero_wallet_full.cpp:1325
-
std::string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const override
Definition: monero_wallet_full.cpp:3004
+
std::string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const std::string &message) const override
Definition: monero_wallet_full.cpp:3010
void set_restore_height(uint64_t restore_height) override
Definition: monero_wallet_full.cpp:1465
void set_daemon_connection(const std::string &uri, const std::string &username="", const std::string &password="") override
Definition: monero_wallet_full.cpp:1261
Definition: monero_wallet.h:71