diff --git a/docs/annotated.html b/docs/annotated.html index 8b38576..671cda0 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -1,14 +1,16 @@ - +
- +Public Member Functions | |
| virtual | ~monero_wallet () |
| virtual | ~monero_wallet () |
| virtual bool | is_view_only () const |
| virtual bool | is_view_only () const |
| virtual void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") |
| virtual void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") |
| virtual void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) |
| virtual void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) |
| virtual void | set_daemon_proxy (const std::string &uri="") |
| virtual void | set_daemon_proxy (const std::string &uri="") |
| virtual boost::optional< monero_rpc_connection > | get_daemon_connection () const |
| virtual boost::optional< monero_rpc_connection > | get_daemon_connection () const |
| virtual bool | is_connected_to_daemon () const |
| virtual bool | is_connected_to_daemon () const |
| virtual bool | is_daemon_synced () const |
| virtual bool | is_daemon_synced () const |
| virtual bool | is_daemon_trusted () const |
| virtual bool | is_daemon_trusted () const |
| virtual bool | is_synced () const |
| virtual bool | is_synced () const |
| virtual monero_version | get_version () const |
| virtual monero_version | get_version () const |
| virtual std::string | get_path () const |
| virtual std::string | get_path () const |
| virtual monero_network_type | get_network_type () const |
| virtual monero_network_type | get_network_type () const |
| virtual std::string | get_seed () const |
| virtual std::string | get_seed () const |
| virtual std::string | get_seed_language () const |
| virtual std::string | get_seed_language () const |
| virtual std::string | get_public_view_key () const |
| virtual std::string | get_public_view_key () const |
| virtual std::string | get_private_view_key () const |
| virtual std::string | get_private_view_key () const |
| virtual std::string | get_public_spend_key () const |
| virtual std::string | get_public_spend_key () const |
| virtual std::string | get_private_spend_key () const |
| virtual std::string | get_private_spend_key () const |
| virtual std::string | get_primary_address () const |
| virtual std::string | get_primary_address () const |
| virtual std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | get_address_index (const std::string &address) const |
| virtual monero_subaddress | get_address_index (const std::string &address) const |
| virtual monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const |
| virtual monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const |
| virtual monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const |
| virtual monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const |
| virtual uint64_t | get_height () const |
| virtual uint64_t | get_height () const |
| virtual uint64_t | get_restore_height () const |
| virtual uint64_t | get_restore_height () const |
| virtual void | set_restore_height (uint64_t restore_height) |
| virtual void | set_restore_height (uint64_t restore_height) |
| virtual uint64_t | get_daemon_height () const |
| virtual uint64_t | get_daemon_height () const |
| virtual uint64_t | get_daemon_max_peer_height () const |
| virtual uint64_t | get_daemon_max_peer_height () const |
| virtual uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const |
| virtual uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const |
| virtual void | add_listener (monero_wallet_listener &listener) |
| virtual void | add_listener (monero_wallet_listener &listener) |
| virtual void | remove_listener (monero_wallet_listener &listener) |
| virtual void | remove_listener (monero_wallet_listener &listener) |
| virtual std::set< monero_wallet_listener * > | get_listeners () |
| virtual std::set< monero_wallet_listener * > | get_listeners () |
| virtual monero_sync_result | sync () |
| virtual monero_sync_result | sync () |
| virtual monero_sync_result | sync (monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (uint64_t start_height) |
| virtual monero_sync_result | sync (uint64_t start_height) |
| virtual monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) |
| virtual void | start_syncing (uint64_t sync_period_in_ms=10000) |
| virtual void | start_syncing (uint64_t sync_period_in_ms=10000) |
| virtual void | stop_syncing () |
| virtual void | stop_syncing () |
| virtual void | scan_txs (const std::vector< std::string > &tx_hashes) |
| virtual void | scan_txs (const std::vector< std::string > &tx_hashes) |
| virtual void | rescan_spent () |
| virtual void | rescan_spent () |
| virtual void | rescan_blockchain () |
| virtual void | rescan_blockchain () |
| virtual uint64_t | get_balance () const |
| virtual uint64_t | get_balance () const |
| virtual uint64_t | get_balance (uint32_t account_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_unlocked_balance () const |
| virtual uint64_t | get_unlocked_balance () const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual std::vector< monero_account > | get_accounts () const |
| virtual std::vector< monero_account > | get_accounts () const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses) const |
| virtual std::vector< monero_account > | get_accounts (const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const |
| virtual monero_account | get_account (uint32_t account_idx) const |
| virtual monero_account | get_account (uint32_t account_idx) const |
| virtual monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const |
| virtual monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const |
| virtual monero_account | create_account (const std::string &label="") |
| virtual monero_account | create_account (const std::string &label="") |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const |
| virtual monero_subaddress | get_subaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | get_subaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") |
| virtual monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") |
| virtual void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") |
| virtual void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const |
| virtual std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| virtual std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| virtual std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const |
| virtual std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const |
| virtual std::string | export_outputs (bool all=false) const |
| virtual std::string | export_outputs (bool all=false) const |
| virtual int | import_outputs (const std::string &outputs_hex) |
| virtual int | import_outputs (const std::string &outputs_hex) |
| virtual std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const |
| virtual std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const |
| virtual std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) |
| virtual std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) |
| virtual void | freeze_output (const std::string &key_image) |
| virtual void | freeze_output (const std::string &key_image) |
| virtual void | thaw_output (const std::string &key_image) |
| virtual void | thaw_output (const std::string &key_image) |
| virtual bool | is_output_frozen (const std::string &key_image) |
| virtual bool | is_output_frozen (const std::string &key_image) |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) |
| virtual std::string | relay_tx (const std::string &tx_metadata) |
| virtual std::string | relay_tx (const std::string &tx_metadata) |
| virtual std::string | relay_tx (const monero_tx_wallet &tx) |
| virtual std::string | relay_tx (const monero_tx_wallet &tx) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) |
| virtual monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) |
| virtual monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) |
| virtual monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) |
| virtual monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) |
| virtual std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) |
| virtual std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) |
| virtual 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 |
| virtual 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 |
| virtual monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const |
| virtual monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const |
| virtual std::string | get_tx_key (const std::string &tx_hash) const |
| virtual std::string | get_tx_key (const std::string &tx_hash) const |
| 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 |
| 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 |
| virtual std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const |
| virtual std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const |
| 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 |
| 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 |
| virtual std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const |
| virtual std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const |
| virtual bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const |
| virtual bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const |
| virtual std::string | get_reserve_proof_wallet (const std::string &message) const |
| virtual std::string | get_reserve_proof_wallet (const std::string &message) const |
| virtual std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const |
| virtual std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const |
| virtual std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const |
| virtual std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const |
| virtual std::string | get_tx_note (const std::string &tx_hash) const |
| virtual std::string | get_tx_note (const std::string &tx_hash) const |
| virtual std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const |
| virtual std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const |
| virtual void | set_tx_note (const std::string &tx_hash, const std::string ¬e) |
| virtual void | set_tx_note (const std::string &tx_hash, const std::string ¬e) |
| virtual void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) |
| virtual void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) |
| virtual std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const |
| virtual std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const |
| virtual uint64_t | add_address_book_entry (const std::string &address, const std::string &description) |
| virtual uint64_t | add_address_book_entry (const std::string &address, const std::string &description) |
| virtual void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) |
| virtual void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) |
| virtual void | delete_address_book_entry (uint64_t index) |
| virtual void | delete_address_book_entry (uint64_t index) |
| virtual std::string | get_payment_uri (const monero_tx_config &config) const |
| virtual std::string | get_payment_uri (const monero_tx_config &config) const |
| virtual std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const |
| virtual std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const |
| virtual bool | get_attribute (const std::string &key, std::string &value) const |
| virtual bool | get_attribute (const std::string &key, std::string &value) const |
| virtual void | set_attribute (const std::string &key, const std::string &val) |
| virtual void | set_attribute (const std::string &key, const std::string &val) |
| virtual void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) |
| virtual void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) |
| virtual void | stop_mining () |
| virtual void | stop_mining () |
| virtual uint64_t | wait_for_next_block () |
| virtual uint64_t | wait_for_next_block () |
| virtual bool | is_multisig_import_needed () const |
| virtual bool | is_multisig_import_needed () const |
| virtual bool | is_multisig () const |
| virtual bool | is_multisig () const |
| virtual monero_multisig_info | get_multisig_info () const |
| virtual monero_multisig_info | get_multisig_info () const |
| virtual std::string | prepare_multisig () |
| virtual std::string | prepare_multisig () |
| virtual std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) |
| virtual std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) |
| virtual monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) |
| virtual monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) |
| virtual std::string | export_multisig_hex () |
| virtual std::string | export_multisig_hex () |
| virtual int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) |
| virtual int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) |
| virtual monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) |
| virtual monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) |
| virtual std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) |
| virtual std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) |
| virtual void | change_password (const std::string &old_password, const std::string &new_password) |
| virtual void | change_password (const std::string &old_password, const std::string &new_password) |
| virtual void | move_to (const std::string &path, const std::string &password) |
| virtual void | move_to (const std::string &path, const std::string &password) |
| virtual void | save () |
| virtual void | save () |
| virtual void | close (bool save=false) |
| virtual void | close (bool save=false) |
Base wallet with default implementations.
+Base wallet with default implementations.
Virtual destructor.
+Virtual destructor.
Add an address book entry.
+Add an address book entry.
| address | is the entry address | |||||||
| virtual void monero::monero_wallet::add_listener | ( | -monero_wallet_listener & | -listener | ) | +monero_wallet_listener & | listener | ) |
Register a listener receive wallet notifications.
+Register a listener receive wallet notifications.
| listener | is the listener to receive wallet notifications | ||||
| virtual void monero::monero_wallet::change_password | ( | -const std::string & | -old_password, | +const std::string & | old_password, |
| - | const std::string & | -new_password | -|||
| - | ) | -+ | const std::string & | new_password ) |
Change the wallet password.
+Change the wallet password.
| old_password | is the wallet's old password | ||||
| virtual std::shared_ptr< monero_check_reserve > monero::monero_wallet::check_reserve_proof | ( | -const std::string & | -address, | +const std::string & | address, |
| - | const std::string & | -message, | +const std::string & | message, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Proves a wallet has a disposable reserve using a signature.
+Proves a wallet has a disposable reserve using a signature.
| address | is the public wallet address | ||||
| virtual bool monero::monero_wallet::check_spend_proof | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -message, | +const std::string & | message, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Prove a spend using a signature. Unlike proving a transaction, it does not require the destination public address.
+Prove a spend using a signature. Unlike proving a transaction, it does not require the destination public address.
| tx_hash | specifies the transaction to prove | ||||
| virtual std::shared_ptr< monero_check_tx > monero::monero_wallet::check_tx_key | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -tx_key, | +const std::string & | tx_key, | |
| - | const std::string & | -address | -|||
| - | ) | -const | +const std::string & | address ) const |
Check a transaction in the blockchain with its secret key.
+Check a transaction in the blockchain with its secret key.
| tx_hash | specifies the transaction to check | ||||
| virtual std::shared_ptr< monero_check_tx > monero::monero_wallet::check_tx_proof | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -message, | +const std::string & | message, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Prove a transaction by checking its signature.
+Prove a transaction by checking its signature.
Optionally save then close the wallet.
+Optionally save then close the wallet.
| save | specifies if the wallet should be saved before being closed (default false) | |||||||
| virtual monero_account monero::monero_wallet::create_account | ( | -const std::string & | -label = "" | ) | +const std::string & | label = "" | ) |
Create a new account with a label for the first subaddress.
+Create a new account with a label for the first subaddress.
| label | specifies the label for the account's first subaddress (optional) | ||||
| virtual monero_subaddress monero::monero_wallet::create_subaddress | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | const std::string & | -label = "" |
- |||
| - | ) | -+ | const std::string & | label = "" ) |
Create a subaddress within an account.
+Create a subaddress within an account.
| account_idx | specifies the index of the account to create the subaddress within | |||||||
| virtual std::shared_ptr< monero_tx_wallet > monero::monero_wallet::create_tx | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Create a transaction to transfer funds from this wallet.
+Create a transaction to transfer funds from this wallet.
| config | configures the transaction to create | |||||||
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > monero::monero_wallet::create_txs | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Create one or more transactions to transfer funds from this wallet.
+Create one or more transactions to transfer funds from this wallet.
| config | configures the transactions to create | |||||||
| virtual monero_integrated_address monero::monero_wallet::decode_integrated_address | ( | -const std::string & | -integrated_address | ) | +const std::string & | integrated_address | ) | const |
Decode an integrated address to get its standard address and payment id.
+Decode an integrated address to get its standard address and payment id.
| integrated_address | is an integrated address to decode | |||||||
| virtual void monero::monero_wallet::delete_address_book_entry | ( | -uint64_t | -index | ) | +uint64_t | index | ) |
Delete an address book entry.
+Delete an address book entry.
| index | is the index of the entry to delete | |||||||
| virtual monero_tx_set monero::monero_wallet::describe_tx_set | ( | -const monero_tx_set & | -tx_set | ) | +const monero_tx_set & | tx_set | ) |
Describes a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
+Describes a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
| tx_set | is a tx set containing unsigned or multisig tx hex | ||||
| virtual void monero::monero_wallet::edit_address_book_entry | ( | -uint64_t | -index, | +uint64_t | index, |
| - | bool | -set_address, | +bool | set_address, | |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | bool | -set_description, | +bool | set_description, | |
| - | const std::string & | -description | -|||
| - | ) | -+ | const std::string & | description ) |
Edit an address book entry.
+Edit an address book entry.
| index | is the index of the address book entry to edit | ||||
| virtual monero_multisig_init_result monero::monero_wallet::exchange_multisig_keys | ( | -const std::vector< std::string > & | -mutisig_hexes, | +const std::vector< std::string > & | mutisig_hexes, |
| - | const std::string & | -password | -|||
| - | ) | -+ | const std::string & | password ) |
Exchange multisig hex with participants in a M/N multisig wallet.
-This process must be repeated with participants exactly N-M times.
+Exchange multisig hex with participants in a M/N multisig wallet.
+This process must be repeated with participants exactly N-M times.
| multisig_hexes | are multisig hex from each participant | |||||||
| virtual std::vector< std::shared_ptr< monero_key_image > > monero::monero_wallet::export_key_images | ( | -bool | -all = false | ) | +bool | all = false | ) | const |
Export signed key images.
+Export signed key images.
| all | - export all key images if true, else export key images since the last export | |||||
| virtual std::string monero::monero_wallet::export_multisig_hex | ( | -) | +) |
Export this wallet's multisig info as hex for other participants.
+Export this wallet's multisig info as hex for other participants.
Reimplemented in monero::monero_wallet_full.
@@ -1191,7 +1120,7 @@ Public Member FunctionsfalseExport outputs in hex format.
+Export outputs in hex format.
| all | - export all outputs if true, else export outputs since the last export | |||||||
| virtual void monero::monero_wallet::freeze_output | ( | -const std::string & | -key_image | ) | +const std::string & | key_image | ) |
Freeze an output.
+Freeze an output.
| key_image | key image of the output to freeze | ||||
| virtual monero_account monero::monero_wallet::get_account | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | bool | -include_subaddresses | -|||
| - | ) | -const | +bool | include_subaddresses ) const |
Get an account.
+Get an account.
| account_idx | specifies the account to get | |||||||
| virtual monero_account monero::monero_wallet::get_account | ( | -uint32_t | -account_idx | ) | +uint32_t | account_idx | ) | const |
Get an account without subaddress information.
+Get an account without subaddress information.
| account_idx | specifies the account to get | |||||
| virtual std::vector< monero_account > monero::monero_wallet::get_accounts | ( | -) | +) | const |
Get all accounts.
+Get all accounts.
Get all accounts.
+Get all accounts.
| include_subaddresses | specifies if subaddresses should be included | ||||
| virtual std::vector< monero_account > monero::monero_wallet::get_accounts | ( | -bool | -include_subaddresses, | +bool | include_subaddresses, |
| - | const std::string & | -tag | -|||
| - | ) | -const | +const std::string & | tag ) const |
Get accounts with a given tag.
+Get accounts with a given tag.
| include_subaddresses | specifies if subaddresses should be included | |||||||
| virtual std::vector< monero_account > monero::monero_wallet::get_accounts | ( | -const std::string & | -tag | ) | +const std::string & | tag | ) | const |
Get accounts with a given tag.
+Get accounts with a given tag.
| tag | is the tag for filtering accounts, all accounts if null | ||||
| virtual std::string monero::monero_wallet::get_address | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | const uint32_t | -subaddress_idx | -|||
| - | ) | -const | +const uint32_t | subaddress_idx ) const |
Get the address of a specific subaddress.
+Get the address of a specific subaddress.
| account_idx | specifies the account index of the address's subaddress | |||||||
| virtual std::vector< monero_address_book_entry > monero::monero_wallet::get_address_book_entries | ( | -const std::vector< uint64_t > & | -indices | ) | +const std::vector< uint64_t > & | indices | ) | const |
Get all address book entries.
+Get all address book entries.
| indices | are indices of the entries to get | |||||||
| virtual monero_subaddress monero::monero_wallet::get_address_index | ( | -const std::string & | -address | ) | +const std::string & | address | ) | const |
Get the account and subaddress index of the given address.
+Get the account and subaddress index of the given address.
| address | is the address to get the account and subaddress index from | ||||
| virtual bool monero::monero_wallet::get_attribute | ( | -const std::string & | -key, | +const std::string & | key, |
| - | std::string & | -value | -|||
| - | ) | -const | +std::string & | value ) const |
Get an attribute.
+Get an attribute.
| key | is the attribute to get the value of | |||||
| virtual uint64_t monero::monero_wallet::get_balance | ( | -) | +) | const |
Get the wallet's balance.
+Get the wallet's balance.
Reimplemented in monero::monero_wallet_full.
@@ -1686,7 +1580,7 @@ Public Member FunctionsGet an account's balance.
+Get an account's balance.
| account_idx | is the index of the account to get the balance of | ||||
| virtual uint64_t monero::monero_wallet::get_balance | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | uint32_t | -subaddress_idx | -|||
| - | ) | -const | +uint32_t | subaddress_idx ) const |
Get a subaddress's balance.
+Get a subaddress's balance.
| account_idx | is the index of the subaddress's account to get the balance of | |||||
| virtual boost::optional< monero_rpc_connection > monero::monero_wallet::get_daemon_connection | ( | -) | +) | const |
Get the wallet's daemon connection.
+Get the wallet's daemon connection.
Reimplemented in monero::monero_wallet_full.
@@ -1798,7 +1684,7 @@ Public Member FunctionsGet the height that the wallet's daemon is synced to.
+Get the height that the wallet's daemon is synced to.
Reimplemented in monero::monero_wallet_full.
@@ -1827,7 +1713,7 @@ Public Member FunctionsGet the maximum height of the peers the wallet's daemon is connected to.
+Get the maximum height of the peers the wallet's daemon is connected to.
Reimplemented in monero::monero_wallet_full.
@@ -1856,7 +1742,7 @@ Public Member FunctionsGet the height of the last block processed by the wallet (its index + 1).
+Get the height of the last block processed by the wallet (its index + 1).
Reimplemented in monero::monero_wallet_full.
@@ -1885,7 +1771,7 @@ Public Member FunctionsGet the blockchain's height by date as a conservative estimate for scanning.
+Get the blockchain's height by date as a conservative estimate for scanning.
| year | - year of the height to get | ||||
| virtual monero_integrated_address monero::monero_wallet::get_integrated_address | ( | -const std::string & | -standard_address = "", |
+ const std::string & | standard_address = "", |
| - | const std::string & | -payment_id = "" |
- |||
| - | ) | -const | +const std::string & | payment_id = "" ) const |
Get an integrated address from a standard address and a payment id.
+Get an integrated address from a standard address and a payment id.
| standard_address | is the integrated addresse's standard address (defaults to wallet's primary address) | |||||
| virtual std::set< monero_wallet_listener * > monero::monero_wallet::get_listeners | ( | -) | +) |
Get the listeners registered with the wallet.
+Get the listeners registered with the wallet.
Reimplemented in monero::monero_wallet_full.
Get multisig info about this wallet.
+Get multisig info about this wallet.
Reimplemented in monero::monero_wallet_full.
@@ -2043,7 +1914,7 @@ Public Member FunctionsGet the wallet's network type (mainnet, testnet, or stagenet).
+Get the wallet's network type (mainnet, testnet, or stagenet).
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2072,7 +1943,7 @@ Public Member FunctionsGet outputs created from previous transactions that belong to the wallet (i.e. that the wallet can spend one time). Outputs are part of transactions which are stored in blocks on the blockchain.
-Results can be configured by passing a monero_output_query. Outputs must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
+Get outputs created from previous transactions that belong to the wallet (i.e. that the wallet can spend one time). Outputs are part of transactions which are stored in blocks on the blockchain.
+Results can be configured by passing a monero_output_query. Outputs must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
Get the path of this wallet's file on disk.
+Get the path of this wallet's file on disk.
Reimplemented in monero::monero_wallet_full.
@@ -2138,7 +2008,7 @@ Public Member FunctionsCreates a payment URI from a tx configuration.
+Creates a payment URI from a tx configuration.
| config | specifies configuration for a potential tx | |||||
| virtual std::string monero::monero_wallet::get_primary_address | ( | -) | +) | const |
Get the wallet's primary address.
+Get the wallet's primary address.
Reimplemented in monero::monero_wallet_keys.
@@ -2203,7 +2072,7 @@ Public Member FunctionsGet the wallet's private spend key.
+Get the wallet's private spend key.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2232,7 +2101,7 @@ Public Member FunctionsGet the wallet's private view key.
+Get the wallet's private view key.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2261,7 +2130,7 @@ Public Member FunctionsGet the wallet's public spend key.
+Get the wallet's public spend key.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2290,7 +2159,7 @@ Public Member FunctionsGet the wallet's public view key.
+Get the wallet's public view key.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2319,7 +2188,7 @@ Public Member FunctionsGenerate a signature to prove an available amount in an account.
+Generate a signature to prove an available amount in an account.
| account_idx | specifies the account to prove ownership of the amount | |||||||
| virtual std::string monero::monero_wallet::get_reserve_proof_wallet | ( | -const std::string & | -message | ) | +const std::string & | message | ) | const |
Generate a signature to prove the entire balance of the wallet.
+Generate a signature to prove the entire balance of the wallet.
| message | is a message included with the signature to further authenticate the proof (optional) | |||||
| virtual uint64_t monero::monero_wallet::get_restore_height | ( | -) | +) | const |
Get the height of the first block that the wallet scans.
+Get the height of the first block that the wallet scans.
Reimplemented in monero::monero_wallet_full.
@@ -2438,7 +2298,7 @@ Public Member FunctionsGet the wallet's mnemonic phrase or seed.
+Get the wallet's mnemonic phrase or seed.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2467,7 +2327,7 @@ Public Member FunctionsGet the language of the wallet's mnemonic phrase or seed.
+Get the language of the wallet's mnemonic phrase or seed.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -2496,7 +2356,7 @@ Public Member FunctionsGenerate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.
+Generate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.
| tx_hash | specifies the transaction to prove | ||||
| virtual monero_subaddress monero::monero_wallet::get_subaddress | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | const uint32_t | -subaddress_idx | -|||
| - | ) | -const | +const uint32_t | subaddress_idx ) const |
Get a subaddress.
+Get a subaddress.
| account_idx | specifies the index of the subaddress's account | |||||||
| virtual std::vector< monero_subaddress > monero::monero_wallet::get_subaddresses | ( | -const uint32_t | -account_idx | ) | +const uint32_t | account_idx | ) | const |
Get all subaddresses in an account.
+Get all subaddresses in an account.
| account_idx | specifies the account to get subaddresses within | ||||
| virtual std::vector< monero_subaddress > monero::monero_wallet::get_subaddresses | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | const std::vector< uint32_t > & | -subaddress_indices | -|||
| - | ) | -const | +const std::vector< uint32_t > & | subaddress_indices ) const |
Get subaddresses in an account.
+Get subaddresses in an account.
| account_idx | specifies the account to get subaddresses within | |||||||
| virtual std::vector< std::shared_ptr< monero_transfer > > monero::monero_wallet::get_transfers | ( | -const monero_transfer_query & | -query | ) | +const monero_transfer_query & | query | ) | const |
Get incoming and outgoing transfers to and from this wallet. An outgoing transfer represents a total amount sent from one or more subaddresses within an account to individual destination addresses, each with their own amount. An incoming transfer represents a total amount received into a subaddress within an account. Transfers belong to transactions which are stored on the blockchain.
-Query results can be filtered by passing in a monero_transfer_query. Transfers must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
+Get incoming and outgoing transfers to and from this wallet. An outgoing transfer represents a total amount sent from one or more subaddresses within an account to individual destination addresses, each with their own amount. An incoming transfer represents a total amount received into a subaddress within an account. Transfers belong to transactions which are stored on the blockchain.
+Query results can be filtered by passing in a monero_transfer_query. Transfers must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
| query | filters query results (optional) | |||||||
| virtual std::string monero::monero_wallet::get_tx_key | ( | -const std::string & | -tx_hash | ) | +const std::string & | tx_hash | ) | const |
Get a transaction's secret key from its hash.
+Get a transaction's secret key from its hash.
| tx_hash | is the transaction's hash | |||||||
| virtual std::string monero::monero_wallet::get_tx_note | ( | -const std::string & | -tx_hash | ) | +const std::string & | tx_hash | ) | const |
Get a transaction note.
+Get a transaction note.
| tx_hash | specifies the transaction to get the note of | |||||||
| virtual std::vector< std::string > monero::monero_wallet::get_tx_notes | ( | -const std::vector< std::string > & | -tx_hashes | ) | +const std::vector< std::string > & | tx_hashes | ) | const |
Get notes for multiple transactions.
+Get notes for multiple transactions.
| tx_hashes | identify the transactions to get notes for @preturns notes for the transactions | ||||
| virtual std::string monero::monero_wallet::get_tx_proof | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -message | -|||
| - | ) | -const | +const std::string & | message ) const |
Get a transaction signature to prove it.
+Get a transaction signature to prove it.
| tx_hash | specifies the transaction to prove | |||||
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > monero::monero_wallet::get_txs | ( | -) | +) | const |
Get all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
+Get all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
Reimplemented in monero::monero_wallet_full.
@@ -2896,7 +2722,7 @@ Public Member FunctionsGet wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
-Query results can be filtered by passing in a transaction query. Transactions must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
+Get wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
+Query results can be filtered by passing in a transaction query. Transactions must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
| query | filters query results (optional) | |||||
| virtual uint64_t monero::monero_wallet::get_unlocked_balance | ( | -) | +) | const |
Get the wallet's unlocked balance.
+Get the wallet's unlocked balance.
Reimplemented in monero::monero_wallet_full.
@@ -2962,7 +2787,7 @@ Public Member FunctionsGet an account's unlocked balance.
+Get an account's unlocked balance.
| account_idx | is the index of the account to get the unlocked balance of | ||||
| virtual uint64_t monero::monero_wallet::get_unlocked_balance | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | uint32_t | -subaddress_idx | -|||
| - | ) | -const | +uint32_t | subaddress_idx ) const |
Get a subaddress's unlocked balance.
+Get a subaddress's unlocked balance.
| account_idx | is the index of the subaddress's account to get the unlocked balance of | |||||
| virtual monero_version monero::monero_wallet::get_version | ( | -) | +) | const |
Get the wallet's version.
+Get the wallet's version.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -3074,7 +2891,7 @@ Public Member FunctionsImport signed key images and verify their spent status.
+Import signed key images and verify their spent status.
| key_images | are key images to import and verify (requires hex and signature) | |||||||
| virtual int monero::monero_wallet::import_multisig_hex | ( | -const std::vector< std::string > & | -multisig_hexes | ) | +const std::vector< std::string > & | multisig_hexes | ) |
Import multisig info as hex from other participants.
-Note: If the daemon is not trusted, this method will not automatically update the spent status after importing peer multisig hex. In that case, the
+Import multisig info as hex from other participants.
+Note: If the daemon is not trusted, this method will not automatically update the spent status after importing peer multisig hex. In that case, the
| multisig_hexes | are multisig hex from each participant | |||||||
| virtual int monero::monero_wallet::import_outputs | ( | -const std::string & | -outputs_hex | ) | +const std::string & | outputs_hex | ) |
Import outputs in hex format.
+Import outputs in hex format.
| outputs_hex | are outputs in hex format | |||||
| virtual bool monero::monero_wallet::is_connected_to_daemon | ( | -) | +) | const |
Indicates if the wallet is connected a daemon.
+Indicates if the wallet is connected a daemon.
Reimplemented in monero::monero_wallet_full.
@@ -3212,7 +3026,7 @@ Public Member FunctionsIndicates if the wallet's daemon is synced with the network.
+Indicates if the wallet's daemon is synced with the network.
Reimplemented in monero::monero_wallet_full.
@@ -3241,7 +3055,7 @@ Public Member FunctionsIndicates if the daemon is trusted or untrusted.
+Indicates if the daemon is trusted or untrusted.
Reimplemented in monero::monero_wallet_full.
@@ -3270,7 +3084,7 @@ Public Member FunctionsIndicates if this wallet is a multisig wallet.
+Indicates if this wallet is a multisig wallet.
Indicates if importing multisig data is needed for returning a correct balance.
+Indicates if importing multisig data is needed for returning a correct balance.
Reimplemented in monero::monero_wallet_full.
@@ -3326,7 +3140,7 @@ Public Member FunctionsCheck if an output is frozen.
+Check if an output is frozen.
Indicates if the wallet is synced with the daemon.
+Indicates if the wallet is synced with the daemon.
Reimplemented in monero::monero_wallet_full.
@@ -3391,7 +3204,7 @@ Public Member FunctionsIndicates if the wallet is view-only, meaning it does have the private spend key and can therefore only observe incoming outputs.
+Indicates if the wallet is view-only, meaning it does have the private spend key and can therefore only observe incoming outputs.
Reimplemented in monero::monero_wallet_full, and monero::monero_wallet_keys.
@@ -3420,7 +3233,7 @@ Public Member FunctionsMake this wallet multisig by importing multisig hex from participants.
+Make this wallet multisig by importing multisig hex from participants.
| multisig_hexes | are multisig hex from each participant | ||||
| virtual void monero::monero_wallet::move_to | ( | -const std::string & | -path, | +const std::string & | path, |
| - | const std::string & | -password | -|||
| - | ) | -+ | const std::string & | password ) |
Move the wallet from its current path to the given path.
+Move the wallet from its current path to the given path.
| path | is the new wallet's path | |||||||
| virtual std::shared_ptr< monero_tx_config > monero::monero_wallet::parse_payment_uri | ( | -const std::string & | -uri | ) | +const std::string & | uri | ) | const |
Parses a payment URI to a tx configuration.
+Parses a payment URI to a tx configuration.
Get multisig info as hex to share with participants to begin creating a multisig wallet.
+Get multisig info as hex to share with participants to begin creating a multisig wallet.
Reimplemented in monero::monero_wallet_full.
@@ -3584,7 +3381,7 @@ Public Member FunctionsRelay a previously created transaction.
+Relay a previously created transaction.
| tx | is the transaction to relay | |||||||
| virtual std::string monero::monero_wallet::relay_tx | ( | -const std::string & | -tx_metadata | ) | +const std::string & | tx_metadata | ) |
Relay a transaction previously created without relaying.
+Relay a transaction previously created without relaying.
| txMetadata | is transaction metadata previously created without relaying | |||||||
| virtual std::vector< std::string > monero::monero_wallet::relay_txs | ( | -const std::vector< std::shared_ptr< monero_tx_wallet > > & | -txs | ) | +const std::vector< std::shared_ptr< monero_tx_wallet > > & | txs | ) |
Relay previously created transactions.
+Relay previously created transactions.
| txs | are the transactions to relay | |||||||
| virtual std::vector< std::string > monero::monero_wallet::relay_txs | ( | -const std::vector< std::string > & | -tx_metadatas | ) | +const std::vector< std::string > & | tx_metadatas | ) |
Relay transactions previously created without relaying.
+Relay transactions previously created without relaying.
| tx_metadatas | are transaction metadata previously created without relaying | |||||||
| virtual void monero::monero_wallet::remove_listener | ( | -monero_wallet_listener & | -listener | ) | +monero_wallet_listener & | listener | ) |
Unregister a listener to receive wallet notifications.
+Unregister a listener to receive wallet notifications.
Rescan the blockchain from scratch, losing any information which cannot be recovered from the blockchain itself.
-WARNING: This method discards local wallet data like destination addresses, tx secret keys, tx notes, etc.
+Rescan the blockchain from scratch, losing any information which cannot be recovered from the blockchain itself.
+WARNING: This method discards local wallet data like destination addresses, tx secret keys, tx notes, etc.
Reimplemented in monero::monero_wallet_full.
Rescan the blockchain for spent outputs.
-Note: this can only be called with a trusted daemon.
-Example use case: peer multisig hex is import when connected to an untrusted daemon, so the wallet will not rescan spent outputs. Then the wallet connects to a trusted daemon. This method should be manually invoked to rescan outputs.
+Rescan the blockchain for spent outputs.
+Note: this can only be called with a trusted daemon.
+Example use case: peer multisig hex is import when connected to an untrusted daemon, so the wallet will not rescan spent outputs. Then the wallet connects to a trusted daemon. This method should be manually invoked to rescan outputs.
Reimplemented in monero::monero_wallet_full.
Save the wallet at its current path.
+Save the wallet at its current path.
Reimplemented in monero::monero_wallet_full.
Scan transactions by their hash/id.
+Scan transactions by their hash/id.
| txHashes | - tx hashes to scan | ||||
| virtual void monero::monero_wallet::set_attribute | ( | -const std::string & | -key, | +const std::string & | key, |
| - | const std::string & | -val | -|||
| - | ) | -+ | const std::string & | val ) |
Set an arbitrary attribute.
+Set an arbitrary attribute.
| key | is the attribute key | |||||||
| virtual void monero::monero_wallet::set_daemon_connection | ( | -const boost::optional< monero_rpc_connection > & | -connection | ) | +const boost::optional< monero_rpc_connection > & | connection | ) |
Set the wallet's daemon connection.
+Set the wallet's daemon connection.
| connection | is the connection to set | ||||
| virtual void monero::monero_wallet::set_daemon_connection | ( | -const std::string & | -uri, | +const std::string & | uri, |
| - | const std::string & | -username = "", |
+ const std::string & | username = "", | |
| - | const std::string & | -password = "" |
- |||
| - | ) | -+ | const std::string & | password = "" ) |
Set the wallet's daemon connection.
+Set the wallet's daemon connection.
| uri | is the daemon's URI | |||||||
| virtual void monero::monero_wallet::set_daemon_proxy | ( | -const std::string & | -uri = "" | ) | +const std::string & | uri = "" | ) |
Set the Tor proxy to the daemon.
+Set the Tor proxy to the daemon.
Reimplemented in monero::monero_wallet_full.
Set the height of the first block that the wallet scans.
+Set the height of the first block that the wallet scans.
| restore_height | is the height of the first block that the wallet scans | ||||
| virtual void monero::monero_wallet::set_subaddress_label | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | uint32_t | -subaddress_idx, | +uint32_t | subaddress_idx, | |
| - | const std::string & | -label = "" |
- |||
| - | ) | -+ | const std::string & | label = "" ) |
Set a subaddress label.
+Set a subaddress label.
| account_idx | index of the account to set the label for | ||||
| virtual void monero::monero_wallet::set_tx_note | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -note | -|||
| - | ) | -+ | const std::string & | note ) |
Set a note for a specific transaction.
+Set a note for a specific transaction.
| tx_hash | specifies the transaction | ||||
| virtual void monero::monero_wallet::set_tx_notes | ( | -const std::vector< std::string > & | -tx_hashes, | +const std::vector< std::string > & | tx_hashes, |
| - | const std::vector< std::string > & | -notes | -|||
| - | ) | -+ | const std::vector< std::string > & | notes ) |
Set notes for multiple transactions.
+Set notes for multiple transactions.
| tx_hashes | specify the transactions to set notes for | ||||
| virtual std::string monero::monero_wallet::sign_message | ( | -const std::string & | -msg, | +const std::string & | msg, |
| - | monero_message_signature_type | -signature_type, | +monero_message_signature_type | signature_type, | |
| - | uint32_t | -account_idx = 0, |
+ uint32_t | account_idx = 0, | |
| - | uint32_t | -subaddress_idx = 0 |
- |||
| - | ) | -const | +uint32_t | subaddress_idx = 0 ) const |
Sign a message.
+Sign a message.
| msg | - the message to sign | |||||||
| virtual monero_multisig_sign_result monero::monero_wallet::sign_multisig_tx_hex | ( | -const std::string & | -multisig_tx_hex | ) | +const std::string & | multisig_tx_hex | ) |
Sign previously created multisig transactions as represented by hex.
+Sign previously created multisig transactions as represented by hex.
| multisig_tx_hex | is the hex shared among the multisig transactions when they were created | |||||||
| virtual monero_tx_set monero::monero_wallet::sign_txs | ( | -const std::string & | -unsigned_tx_hex | ) | +const std::string & | unsigned_tx_hex | ) |
Sign unsigned transactions from a view-only wallet.
+Sign unsigned transactions from a view-only wallet.
| unsigned_tx_hex | is unsigned transaction hex from when the transactions were created | ||||
| virtual void monero::monero_wallet::start_mining | ( | -boost::optional< uint64_t > | -num_threads, | +boost::optional< uint64_t > | num_threads, |
| - | boost::optional< bool > | -background_mining, | +boost::optional< bool > | background_mining, | |
| - | boost::optional< bool > | -ignore_battery | -|||
| - | ) | -+ | boost::optional< bool > | ignore_battery ) |
Start mining.
+Start mining.
| num_threads | is the number of threads created for mining (optional) | |||||||
| virtual void monero::monero_wallet::start_syncing | ( | -uint64_t | -sync_period_in_ms = 10000 | ) | +uint64_t | sync_period_in_ms = 10000 | ) |
Start background synchronizing with a maximum period between syncs.
+Start background synchronizing with a maximum period between syncs.
| syncPeriodInMs | - maximum period between syncs in milliseconds | |||||
| virtual void monero::monero_wallet::stop_mining | ( | -) | +) |
Stop the asynchronous thread to continuously synchronize the wallet with the daemon.
+Stop the asynchronous thread to continuously synchronize the wallet with the daemon.
Reimplemented in monero::monero_wallet_full.
Submit signed multisig transactions as represented by a hex std::string.
+Submit signed multisig transactions as represented by a hex std::string.
| signed_multisig_tx_hex | is the signed multisig hex returned from signMultisigTxs() | |||||||
| virtual std::vector< std::string > monero::monero_wallet::submit_txs | ( | -const std::string & | -signed_tx_hex | ) | +const std::string & | signed_tx_hex | ) |
Submit signed transactions from a view-only wallet.
+Submit signed transactions from a view-only wallet.
| signed_tx_hex | is signed transaction hex from sign_txs() |
| signed_tx_hex | is signed transaction hex from sign_txs() |
falseSweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
+Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
| relay | specifies if the resulting transaction should be relayed (default false) | |||||||
| virtual std::shared_ptr< monero_tx_wallet > monero::monero_wallet::sweep_output | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Sweep an output with a given key image.
+Sweep an output with a given key image.
| config | configures the sweep transaction | |||||||
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > monero::monero_wallet::sweep_unlocked | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Sweep unlocked funds according to the given config.
+Sweep unlocked funds according to the given config.
| config | is the sweep configuration | |||||
| virtual monero_sync_result monero::monero_wallet::sync | ( | -) | +) |
Synchronize the wallet with the daemon as a one-time synchronous process.
+Synchronize the wallet with the daemon as a one-time synchronous process.
Reimplemented in monero::monero_wallet_full.
@@ -4708,7 +4434,7 @@ Public Member FunctionsSynchronize the wallet with the daemon as a one-time synchronous process.
+Synchronize the wallet with the daemon as a one-time synchronous process.
| listener | - listener to receive notifications during synchronization | |||||||
| virtual monero_sync_result monero::monero_wallet::sync | ( | -uint64_t | -start_height | ) | +uint64_t | start_height | ) |
Synchronize the wallet with the daemon as a one-time synchronous process.
+Synchronize the wallet with the daemon as a one-time synchronous process.
| start_height | is the start height to sync from (ignored if less than last processed block) | ||||
| virtual monero_sync_result monero::monero_wallet::sync | ( | -uint64_t | -start_height, | +uint64_t | start_height, |
| - | monero_wallet_listener & | -listener | -|||
| - | ) | -+ | monero_wallet_listener & | listener ) |
Synchronizes the wallet with the blockchain.
+Synchronizes the wallet with the blockchain.
| start_height | - start height to sync from (ignored if less than last processed block) | |||||||
| virtual void monero::monero_wallet::thaw_output | ( | -const std::string & | -key_image | ) | +const std::string & | key_image | ) |
Thaw a frozen output.
+Thaw a frozen output.
| key_image | key image of the output to thaw | ||||
| virtual monero_message_signature_result monero::monero_wallet::verify_message | ( | -const std::string & | -msg, | +const std::string & | msg, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Verify a message signature.
+Verify a message signature.
Wait for the next block to be added to the chain.
+Wait for the next block to be added to the chain.
Reimplemented in monero::monero_wallet_full.
@@ -4950,7 +4658,7 @@ Public Member FunctionsPublic Member Functions | |
| ~monero_wallet_full () | |
| ~monero_wallet_full () | |
| bool | is_view_only () const override |
| bool | is_view_only () const override |
| void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") override |
| void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") override |
| void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) override |
| void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) override |
| void | set_daemon_proxy (const std::string &uri="") override |
| void | set_daemon_proxy (const std::string &uri="") override |
| boost::optional< monero_rpc_connection > | get_daemon_connection () const override |
| boost::optional< monero_rpc_connection > | get_daemon_connection () const override |
| bool | is_connected_to_daemon () const override |
| bool | is_connected_to_daemon () const override |
| bool | is_daemon_synced () const override |
| bool | is_daemon_synced () const override |
| bool | is_daemon_trusted () const override |
| bool | is_daemon_trusted () const override |
| bool | is_synced () const override |
| bool | is_synced () const override |
| monero_version | get_version () const override |
| monero_version | get_version () const override |
| std::string | get_path () const override |
| std::string | get_path () const override |
| monero_network_type | get_network_type () const override |
| monero_network_type | get_network_type () const override |
| std::string | get_seed () const override |
| std::string | get_seed () const override |
| std::string | get_seed_language () const override |
| std::string | get_seed_language () const override |
| std::string | get_public_view_key () const override |
| std::string | get_public_view_key () const override |
| std::string | get_private_view_key () const override |
| std::string | get_private_view_key () const override |
| std::string | get_public_spend_key () const override |
| std::string | get_public_spend_key () const override |
| std::string | get_private_spend_key () const override |
| std::string | get_private_spend_key () const override |
| std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const override |
| std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const override |
| monero_subaddress | get_address_index (const std::string &address) const override |
| monero_subaddress | get_address_index (const std::string &address) const override |
| monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const override |
| monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const override |
| monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const override |
| monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const override |
| uint64_t | get_height () const override |
| uint64_t | get_height () const override |
| uint64_t | get_restore_height () const override |
| uint64_t | get_restore_height () const override |
| void | set_restore_height (uint64_t restore_height) override |
| void | set_restore_height (uint64_t restore_height) override |
| uint64_t | get_daemon_height () const override |
| uint64_t | get_daemon_height () const override |
| uint64_t | get_daemon_max_peer_height () const override |
| uint64_t | get_daemon_max_peer_height () const override |
| uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const override |
| uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const override |
| void | add_listener (monero_wallet_listener &listener) override |
| void | add_listener (monero_wallet_listener &listener) override |
| void | remove_listener (monero_wallet_listener &listener) override |
| void | remove_listener (monero_wallet_listener &listener) override |
| std::set< monero_wallet_listener * > | get_listeners () override |
| std::set< monero_wallet_listener * > | get_listeners () override |
| monero_sync_result | sync () override |
| monero_sync_result | sync () override |
| monero_sync_result | sync (monero_wallet_listener &listener) override |
| monero_sync_result | sync (monero_wallet_listener &listener) override |
| monero_sync_result | sync (uint64_t start_height) override |
| monero_sync_result | sync (uint64_t start_height) override |
| monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) override |
| monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) override |
| void | start_syncing (uint64_t sync_period_in_ms) override |
| void | start_syncing (uint64_t sync_period_in_ms) override |
| void | stop_syncing () override |
| void | stop_syncing () override |
| void | scan_txs (const std::vector< std::string > &tx_hashes) override |
| void | scan_txs (const std::vector< std::string > &tx_hashes) override |
| void | rescan_spent () override |
| void | rescan_spent () override |
| void | rescan_blockchain () override |
| void | rescan_blockchain () override |
| uint64_t | get_balance () const override |
| uint64_t | get_balance () const override |
| uint64_t | get_balance (uint32_t account_idx) const override |
| uint64_t | get_balance (uint32_t account_idx) const override |
| uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const override |
| uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const override |
| uint64_t | get_unlocked_balance () const override |
| uint64_t | get_unlocked_balance () const override |
| uint64_t | get_unlocked_balance (uint32_t account_idx) const override |
| uint64_t | get_unlocked_balance (uint32_t account_idx) const override |
| uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const override |
| uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const override |
| std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const override |
| std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const override |
| monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const override |
| monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const override |
| monero_account | create_account (const std::string &label="") override |
| monero_account | create_account (const std::string &label="") override |
| std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override |
| std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override |
| monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") override |
| monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") override |
| void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") override |
| void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const override |
| std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const override |
| std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const override |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const override |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const override |
| std::string | export_outputs (bool all=false) const override |
| std::string | export_outputs (bool all=false) const override |
| int | import_outputs (const std::string &outputs_hex) override |
| int | import_outputs (const std::string &outputs_hex) override |
| std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const override |
| std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const override |
| std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) override |
| std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) override |
| void | freeze_output (const std::string &key_image) override |
| void | freeze_output (const std::string &key_image) override |
| void | thaw_output (const std::string &key_image) override |
| void | thaw_output (const std::string &key_image) override |
| bool | is_output_frozen (const std::string &key_image) override |
| bool | is_output_frozen (const std::string &key_image) override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) override |
| std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) override |
| std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) override |
| std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) override |
| std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) override |
| std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) override |
| monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) override |
| monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) override |
| monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) override |
| monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) override |
| std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) override |
| std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) override |
| 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 |
| 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 |
| monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const override |
| monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const override |
| std::string | get_tx_key (const std::string &tx_hash) const override |
| std::string | get_tx_key (const std::string &tx_hash) const override |
| std::shared_ptr< monero_check_tx > | check_tx_key (const std::string &tx_hash, const std::string &txKey, const std::string &address) const override |
| std::shared_ptr< monero_check_tx > | check_tx_key (const std::string &tx_hash, const std::string &txKey, const std::string &address) const override |
| std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const override |
| std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const override |
| 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 |
| 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 |
| std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const override |
| std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const override |
| bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const override |
| bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const override |
| std::string | get_reserve_proof_wallet (const std::string &message) const override |
| std::string | get_reserve_proof_wallet (const std::string &message) const override |
| std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const override |
| std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const override |
| std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const override |
| std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const override |
| std::string | get_tx_note (const std::string &tx_hash) const override |
| std::string | get_tx_note (const std::string &tx_hash) const override |
| std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const override |
| std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const override |
| void | set_tx_note (const std::string &tx_hash, const std::string ¬e) override |
| void | set_tx_note (const std::string &tx_hash, const std::string ¬e) override |
| void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) override |
| void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) override |
| std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const override |
| std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const override |
| uint64_t | add_address_book_entry (const std::string &address, const std::string &description) override |
| uint64_t | add_address_book_entry (const std::string &address, const std::string &description) override |
| void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) override |
| void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) override |
| void | delete_address_book_entry (uint64_t index) override |
| void | delete_address_book_entry (uint64_t index) override |
| std::string | get_payment_uri (const monero_tx_config &config) const override |
| std::string | get_payment_uri (const monero_tx_config &config) const override |
| std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const override |
| std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const override |
| bool | get_attribute (const std::string &key, std::string &value) const override |
| bool | get_attribute (const std::string &key, std::string &value) const override |
| void | set_attribute (const std::string &key, const std::string &val) override |
| void | set_attribute (const std::string &key, const std::string &val) override |
| void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) override |
| void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) override |
| void | stop_mining () override |
| void | stop_mining () override |
| uint64_t | wait_for_next_block () override |
| uint64_t | wait_for_next_block () override |
| bool | is_multisig_import_needed () const override |
| bool | is_multisig_import_needed () const override |
| monero_multisig_info | get_multisig_info () const override |
| monero_multisig_info | get_multisig_info () const override |
| std::string | prepare_multisig () override |
| std::string | prepare_multisig () override |
| std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override |
| std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) override |
| monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) override |
| monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) override |
| std::string | export_multisig_hex () override |
| std::string | export_multisig_hex () override |
| int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) override |
| int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) override |
| monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) override |
| monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) override |
| std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) override |
| std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) override |
| void | change_password (const std::string &old_password, const std::string &new_password) override |
| void | change_password (const std::string &old_password, const std::string &new_password) override |
| void | move_to (const std::string &path, const std::string &password) override |
| void | move_to (const std::string &path, const std::string &password) override |
| void | save () override |
| void | save () override |
| void | close (bool save=false) override |
| void | close (bool save=false) override |
| std::string | get_keys_file_buffer (const epee::wipeable_string &password, bool view_only) const |
| std::string | get_keys_file_buffer (const epee::wipeable_string &password, bool view_only) const |
| + | |
| std::string | get_cache_file_buffer () const |
Public Member Functions inherited from monero::monero_wallet | |
| virtual | ~monero_wallet () |
Public Member Functions inherited from monero::monero_wallet | |
| virtual | ~monero_wallet () |
| virtual bool | is_view_only () const |
| virtual void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") |
| virtual void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) |
| virtual void | set_daemon_proxy (const std::string &uri="") |
| virtual boost::optional< monero_rpc_connection > | get_daemon_connection () const |
| virtual bool | is_connected_to_daemon () const |
| virtual bool | is_daemon_synced () const |
| virtual bool | is_daemon_trusted () const |
| virtual bool | is_synced () const |
| virtual monero_version | get_version () const |
| virtual std::string | get_path () const |
| virtual monero_network_type | get_network_type () const |
| virtual std::string | get_seed () const |
| virtual std::string | get_seed_language () const |
| virtual std::string | get_public_view_key () const |
| virtual std::string | get_private_view_key () const |
| virtual std::string | get_public_spend_key () const |
| virtual std::string | get_private_spend_key () const |
| virtual std::string | get_primary_address () const |
| virtual std::string | get_primary_address () const |
| virtual std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | get_address_index (const std::string &address) const |
| virtual monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const |
| virtual monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const |
| virtual uint64_t | get_height () const |
| virtual uint64_t | get_restore_height () const |
| virtual void | set_restore_height (uint64_t restore_height) |
| virtual uint64_t | get_daemon_height () const |
| virtual uint64_t | get_daemon_max_peer_height () const |
| virtual uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const |
| virtual void | add_listener (monero_wallet_listener &listener) |
| virtual void | remove_listener (monero_wallet_listener &listener) |
| virtual std::set< monero_wallet_listener * > | get_listeners () |
| virtual monero_sync_result | sync () |
| virtual monero_sync_result | sync (monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (uint64_t start_height) |
| virtual monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) |
| virtual void | start_syncing (uint64_t sync_period_in_ms=10000) |
| virtual void | stop_syncing () |
| virtual void | scan_txs (const std::vector< std::string > &tx_hashes) |
| virtual void | rescan_spent () |
| virtual void | rescan_blockchain () |
| virtual uint64_t | get_balance () const |
| virtual uint64_t | get_balance (uint32_t account_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_unlocked_balance () const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual std::vector< monero_account > | get_accounts () const |
| virtual std::vector< monero_account > | get_accounts () const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses) const |
| virtual std::vector< monero_account > | get_accounts (const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const |
| virtual monero_account | get_account (uint32_t account_idx) const |
| virtual monero_account | get_account (uint32_t account_idx) const |
| virtual monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const |
| virtual monero_account | create_account (const std::string &label="") |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const |
| virtual monero_subaddress | get_subaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | get_subaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") |
| virtual void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const |
| virtual std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| virtual std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const |
| virtual std::string | export_outputs (bool all=false) const |
| virtual int | import_outputs (const std::string &outputs_hex) |
| virtual std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const |
| virtual std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) |
| virtual void | freeze_output (const std::string &key_image) |
| virtual void | thaw_output (const std::string &key_image) |
| virtual bool | is_output_frozen (const std::string &key_image) |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) |
| virtual std::string | relay_tx (const std::string &tx_metadata) |
| virtual std::string | relay_tx (const std::string &tx_metadata) |
| virtual std::string | relay_tx (const monero_tx_wallet &tx) |
| virtual std::string | relay_tx (const monero_tx_wallet &tx) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) |
| virtual monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) |
| virtual monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) |
| virtual std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) |
| virtual 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 |
| virtual monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const |
| virtual std::string | get_tx_key (const std::string &tx_hash) const |
| 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 |
| virtual std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const |
| 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 |
| virtual std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const |
| virtual bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const |
| virtual std::string | get_reserve_proof_wallet (const std::string &message) const |
| virtual std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const |
| virtual std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const |
| virtual std::string | get_tx_note (const std::string &tx_hash) const |
| virtual std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const |
| virtual void | set_tx_note (const std::string &tx_hash, const std::string ¬e) |
| virtual void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) |
| virtual std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const |
| virtual uint64_t | add_address_book_entry (const std::string &address, const std::string &description) |
| virtual void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) |
| virtual void | delete_address_book_entry (uint64_t index) |
| virtual std::string | get_payment_uri (const monero_tx_config &config) const |
| virtual std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const |
| virtual bool | get_attribute (const std::string &key, std::string &value) const |
| virtual void | set_attribute (const std::string &key, const std::string &val) |
| virtual void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) |
| virtual void | stop_mining () |
| virtual uint64_t | wait_for_next_block () |
| virtual bool | is_multisig_import_needed () const |
| virtual bool | is_multisig () const |
| virtual bool | is_multisig () const |
| virtual monero_multisig_info | get_multisig_info () const |
| virtual std::string | prepare_multisig () |
| virtual std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) |
| virtual monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) |
| virtual std::string | export_multisig_hex () |
| virtual int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) |
| virtual monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) |
| virtual std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) |
| virtual void | change_password (const std::string &old_password, const std::string &new_password) |
| virtual void | move_to (const std::string &path, const std::string &password) |
| virtual void | save () |
| virtual void | close (bool save=false) |
Static Public Member Functions | |
| static bool | wallet_exists (const std::string &path) |
| static bool | wallet_exists (const std::string &path) |
| static monero_wallet_full * | open_wallet (const std::string &path, const std::string &password, const monero_network_type network_type) |
| static monero_wallet_full * | open_wallet (const std::string &path, const std::string &password, const monero_network_type network_type) |
| 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) |
| 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) |
| 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) |
| 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) |
| static std::vector< std::string > | get_seed_languages () |
| static std::vector< std::string > | get_seed_languages () |
+Protected Member Functions | |
| +void | init_common () |
Protected Attributes | |
| + | |
| std::unique_ptr< tools::wallet2 > | m_w2 |
Friends | |
| + | |
| struct | wallet2_listener |
Monero wallet implementation which uses monero-project's wallet2.
+Monero wallet implementation which uses monero-project's wallet2.
Destruct the wallet.
+Destruct the wallet.
Add an address book entry.
+Add an address book entry.
| address | is the entry address | wallet2_listener
-◆ add_listener()+◆ add_listener()
@@ -670,8 +459,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::add_listener | ( | -monero_wallet_listener & | -listener | ) | +monero_wallet_listener & | listener | ) |
Register a listener receive wallet notifications.
+Register a listener receive wallet notifications.
| listener | is the listener to receive wallet notifications | wallet2_listener
-◆ change_password()+◆ change_password()
@@ -705,19 +493,12 @@ struct | wallet2_listener | void monero::monero_wallet_full::change_password | ( | -const std::string & | -old_password, | +const std::string & | old_password, |
| - | const std::string & | -new_password | -|||
| - | ) | -+ | const std::string & | new_password ) |
Change the wallet password.
+Change the wallet password.
| old_password | is the wallet's old password | wallet2_listener
-◆ check_reserve_proof()+◆ check_reserve_proof()
@@ -751,25 +532,17 @@ struct | wallet2_listener | std::shared_ptr< monero_check_reserve > monero::monero_wallet_full::check_reserve_proof | ( | -const std::string & | -address, | +const std::string & | address, |
| - | const std::string & | -message, | +const std::string & | message, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Proves a wallet has a disposable reserve using a signature.
+Proves a wallet has a disposable reserve using a signature.
| address | is the public wallet address | wallet2_listener
-◆ check_spend_proof()+◆ check_spend_proof()
@@ -805,25 +578,17 @@ struct | wallet2_listener | bool monero::monero_wallet_full::check_spend_proof | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -message, | +const std::string & | message, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Prove a spend using a signature. Unlike proving a transaction, it does not require the destination public address.
+Prove a spend using a signature. Unlike proving a transaction, it does not require the destination public address.
| tx_hash | specifies the transaction to prove | wallet2_listener
-◆ check_tx_key()+◆ check_tx_key()
@@ -859,25 +624,17 @@ struct | wallet2_listener | std::shared_ptr< monero_check_tx > monero::monero_wallet_full::check_tx_key | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -tx_key, | +const std::string & | tx_key, | |
| - | const std::string & | -address | -|||
| - | ) | -const | +const std::string & | address ) const |
Check a transaction in the blockchain with its secret key.
+Check a transaction in the blockchain with its secret key.
| tx_hash | specifies the transaction to check | wallet2_listener
-◆ check_tx_proof()+◆ check_tx_proof()
@@ -913,31 +670,22 @@ struct | wallet2_listener | std::shared_ptr< monero_check_tx > monero::monero_wallet_full::check_tx_proof | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -message, | +const std::string & | message, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Prove a transaction by checking its signature.
+Prove a transaction by checking its signature.
Optionally save then close the wallet.
+Optionally save then close the wallet.
| save | specifies if the wallet should be saved before being closed (default false) | wallet2_listener
-◆ create_account()+◆ create_account()
@@ -1009,8 +756,7 @@ struct | wallet2_listener | monero_account monero::monero_wallet_full::create_account | ( | -const std::string & | -label = "" | ) | +const std::string & | label = "" | ) |
Create a new account with a label for the first subaddress.
+Create a new account with a label for the first subaddress.
| label | specifies the label for the account's first subaddress (optional) | wallet2_listener
-◆ create_subaddress()+◆ create_subaddress()
@@ -1045,19 +791,12 @@ struct | wallet2_listener | monero_subaddress monero::monero_wallet_full::create_subaddress | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | const std::string & | -label = "" |
- |||
| - | ) | -+ | const std::string & | label = "" ) |
Create a subaddress within an account.
+Create a subaddress within an account.
| account_idx | specifies the index of the account to create the subaddress within | wallet2_listener
-◆ create_txs()+◆ create_txs()
@@ -1092,8 +831,7 @@ struct | wallet2_listener | std::vector< std::shared_ptr< monero_tx_wallet > > monero::monero_wallet_full::create_txs | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Create one or more transactions to transfer funds from this wallet.
+Create one or more transactions to transfer funds from this wallet.
| config | configures the transactions to create | wallet2_listener
-◆ create_wallet()+◆ create_wallet()
@@ -1128,19 +866,12 @@ struct | wallet2_listener | monero_wallet_full * monero::monero_wallet_full::create_wallet | ( | -const monero_wallet_config & | -config, | +const monero_wallet_config & | config, |
| - | std::unique_ptr< epee::net_utils::http::http_client_factory > | -http_client_factory = nullptr |
- |||
| - | ) | -+ | std::unique_ptr< epee::net_utils::http::http_client_factory > | http_client_factory = nullptr ) |
Create a new wallet with the given configuration.
+Create a new wallet with the given configuration.
| config | is the wallet configuration | wallet2_listener
-◆ decode_integrated_address()+◆ decode_integrated_address()
@@ -1173,8 +904,7 @@ struct | wallet2_listener | monero_integrated_address monero::monero_wallet_full::decode_integrated_address | ( | -const std::string & | -integrated_address | ) | +const std::string & | integrated_address | ) | const |
Decode an integrated address to get its standard address and payment id.
+Decode an integrated address to get its standard address and payment id.
| integrated_address | is an integrated address to decode | wallet2_listener
-◆ delete_address_book_entry()+◆ delete_address_book_entry()
@@ -1209,8 +939,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::delete_address_book_entry | ( | -uint64_t | -index | ) | +uint64_t | index | ) |
Delete an address book entry.
+Delete an address book entry.
| index | is the index of the entry to delete | wallet2_listener
-◆ describe_tx_set()+◆ describe_tx_set()
@@ -1244,8 +973,7 @@ struct | wallet2_listener | monero_tx_set monero::monero_wallet_full::describe_tx_set | ( | -const monero_tx_set & | -tx_set | ) | +const monero_tx_set & | tx_set | ) |
Describes a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
+Describes a tx set containing unsigned or multisig tx hex to a new tx set containing structured transactions.
| tx_set | is a tx set containing unsigned or multisig tx hex | wallet2_listener
-◆ edit_address_book_entry()+◆ edit_address_book_entry()
@@ -1280,37 +1008,27 @@ struct | wallet2_listener | void monero::monero_wallet_full::edit_address_book_entry | ( | -uint64_t | -index, | +uint64_t | index, |
| - | bool | -set_address, | +bool | set_address, | |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | bool | -set_description, | +bool | set_description, | |
| - | const std::string & | -description | -|||
| - | ) | -+ | const std::string & | description ) |
Edit an address book entry.
+Edit an address book entry.
| index | is the index of the address book entry to edit | wallet2_listener
-◆ exchange_multisig_keys()+◆ exchange_multisig_keys()
@@ -1347,19 +1065,12 @@ struct | wallet2_listener | monero_multisig_init_result monero::monero_wallet_full::exchange_multisig_keys | ( | -const std::vector< std::string > & | -mutisig_hexes, | +const std::vector< std::string > & | mutisig_hexes, |
| - | const std::string & | -password | -|||
| - | ) | -+ | const std::string & | password ) |
Exchange multisig hex with participants in a M/N multisig wallet.
-This process must be repeated with participants exactly N-M times.
+Exchange multisig hex with participants in a M/N multisig wallet.
+This process must be repeated with participants exactly N-M times.
| multisig_hexes | are multisig hex from each participant | wallet2_listener
-◆ export_key_images()+◆ export_key_images()
@@ -1395,8 +1106,7 @@ struct | wallet2_listener | std::vector< std::shared_ptr< monero_key_image > > monero::monero_wallet_full::export_key_images | ( | -bool | -all = false | ) | +bool | all = false | ) | const |
Export signed key images.
+Export signed key images.
| all | - export all key images if true, else export key images since the last export | wallet2_listener
-◆ export_multisig_hex()+◆ export_multisig_hex()
@@ -1431,7 +1141,7 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::export_multisig_hex | ( | -) | +) |
Export this wallet's multisig info as hex for other participants.
+Export this wallet's multisig info as hex for other participants.
Reimplemented from monero::monero_wallet.
@@ -1449,7 +1159,7 @@ structfalseExport outputs in hex format.
+Export outputs in hex format.
| all | - export all outputs if true, else export outputs since the last export | wallet2_listener
-◆ freeze_output()+◆ freeze_output()
@@ -1496,8 +1205,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::freeze_output | ( | -const std::string & | -key_image | ) | +const std::string & | key_image | ) |
Freeze an output.
+Freeze an output.
| key_image | key image of the output to freeze | wallet2_listener
-◆ get_account()+◆ get_account()
@@ -1531,19 +1239,12 @@ struct | wallet2_listener | monero_account monero::monero_wallet_full::get_account | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | bool | -include_subaddresses | -|||
| - | ) | -const | +bool | include_subaddresses ) const |
Get an account.
+Get an account.
| account_idx | specifies the account to get | wallet2_listener
-◆ get_accounts()+◆ get_accounts()
@@ -1578,19 +1279,12 @@ struct | wallet2_listener | std::vector< monero_account > monero::monero_wallet_full::get_accounts | ( | -bool | -include_subaddresses, | +bool | include_subaddresses, |
| - | const std::string & | -tag | -|||
| - | ) | -const | +const std::string & | tag ) const |
Get accounts with a given tag.
+Get accounts with a given tag.
| include_subaddresses | specifies if subaddresses should be included | wallet2_listener
-◆ get_address()+◆ get_address()
@@ -1625,19 +1319,12 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_address | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | const uint32_t | -subaddress_idx | -|||
| - | ) | -const | +const uint32_t | subaddress_idx ) const |
Get the address of a specific subaddress.
+Get the address of a specific subaddress.
| account_idx | specifies the account index of the address's subaddress | wallet2_listener
-◆ get_address_book_entries()+◆ get_address_book_entries()
@@ -1672,8 +1359,7 @@ struct | wallet2_listener | std::vector< monero_address_book_entry > monero::monero_wallet_full::get_address_book_entries | ( | -const std::vector< uint64_t > & | -indices | ) | +const std::vector< uint64_t > & | indices | ) | const |
Get all address book entries.
+Get all address book entries.
| indices | are indices of the entries to get | wallet2_listener
-◆ get_address_index()+◆ get_address_index()
@@ -1708,8 +1394,7 @@ struct | wallet2_listener | monero_subaddress monero::monero_wallet_full::get_address_index | ( | -const std::string & | -address | ) | +const std::string & | address | ) | const |
Get the account and subaddress index of the given address.
+Get the account and subaddress index of the given address.
| address | is the address to get the account and subaddress index from | wallet2_listener
-◆ get_attribute()+◆ get_attribute()
@@ -1750,19 +1435,12 @@ struct | wallet2_listener | bool monero::monero_wallet_full::get_attribute | ( | -const std::string & | -key, | +const std::string & | key, |
| - | std::string & | -value | -|||
| - | ) | -const | +std::string & | value ) const |
Get an attribute.
+Get an attribute.
Get the wallet's balance.
+Get the wallet's balance.
Reimplemented from monero::monero_wallet.
@@ -1815,7 +1493,7 @@ structGet an account's balance.
+Get an account's balance.
| account_idx | is the index of the account to get the balance of | wallet2_listener
-◆ get_balance() [3/3]+◆ get_balance() [3/3]
@@ -1862,19 +1539,12 @@ struct | wallet2_listener | uint64_t monero::monero_wallet_full::get_balance | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | uint32_t | -subaddress_idx | -|||
| - | ) | -const | +uint32_t | subaddress_idx ) const |
Get a subaddress's balance.
+Get a subaddress's balance.
| account_idx | is the index of the subaddress's account to get the balance of | wallet2_listener
-◆ get_daemon_connection()+◆ get_daemon_connection()
@@ -1909,7 +1579,7 @@ struct | wallet2_listener | boost::optional< monero_rpc_connection > monero::monero_wallet_full::get_daemon_connection | ( | -) | +) | const |
Get the wallet's daemon connection.
+Get the wallet's daemon connection.
Reimplemented from monero::monero_wallet.
@@ -1927,7 +1597,7 @@ structGet the height that the wallet's daemon is synced to.
+Get the height that the wallet's daemon is synced to.
Reimplemented from monero::monero_wallet.
@@ -1956,7 +1626,7 @@ structGet the maximum height of the peers the wallet's daemon is connected to.
+Get the maximum height of the peers the wallet's daemon is connected to.
Reimplemented from monero::monero_wallet.
@@ -1985,7 +1655,7 @@ structGet the height of the last block processed by the wallet (its index + 1).
+Get the height of the last block processed by the wallet (its index + 1).
Reimplemented from monero::monero_wallet.
@@ -2014,7 +1684,7 @@ structGet the blockchain's height by date as a conservative estimate for scanning.
+Get the blockchain's height by date as a conservative estimate for scanning.
| year | - year of the height to get | wallet2_listener
-◆ get_integrated_address()+◆ get_integrated_address()
@@ -2079,19 +1741,12 @@ struct | wallet2_listener | monero_integrated_address monero::monero_wallet_full::get_integrated_address | ( | -const std::string & | -standard_address = "", |
+ const std::string & | standard_address = "", |
| - | const std::string & | -payment_id = "" |
- |||
| - | ) | -const | +const std::string & | payment_id = "" ) const |
Get an integrated address from a standard address and a payment id.
+Get an integrated address from a standard address and a payment id.
| standard_address | is the integrated addresse's standard address (defaults to wallet's primary address) | wallet2_listener
-◆ get_keys_file_buffer()+◆ get_keys_file_buffer()
@@ -2123,28 +1778,21 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_keys_file_buffer | ( | -const epee::wipeable_string & | -password, | +const epee::wipeable_string & | password, |
| - | bool | -view_only | -|||
| - | ) | -const | +bool | view_only ) const |
Wallet import and export using buffers and not the file system.
+Wallet import and export using buffers and not the file system.
Get the listeners registered with the wallet.
+Get the listeners registered with the wallet.
Reimplemented from monero::monero_wallet.
Get multisig info about this wallet.
+Get multisig info about this wallet.
Reimplemented from monero::monero_wallet.
@@ -2201,7 +1849,7 @@ structGet the wallet's network type (mainnet, testnet, or stagenet).
+Get the wallet's network type (mainnet, testnet, or stagenet).
Reimplemented from monero::monero_wallet.
@@ -2230,7 +1878,7 @@ structGet outputs created from previous transactions that belong to the wallet (i.e. that the wallet can spend one time). Outputs are part of transactions which are stored in blocks on the blockchain.
-Results can be configured by passing a monero_output_query. Outputs must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
+Get outputs created from previous transactions that belong to the wallet (i.e. that the wallet can spend one time). Outputs are part of transactions which are stored in blocks on the blockchain.
+Results can be configured by passing a monero_output_query. Outputs must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
Get the path of this wallet's file on disk.
+Get the path of this wallet's file on disk.
Reimplemented from monero::monero_wallet.
@@ -2296,7 +1943,7 @@ structCreates a payment URI from a tx configuration.
+Creates a payment URI from a tx configuration.
| config | specifies configuration for a potential tx | wallet2_listener
-◆ get_private_spend_key()+◆ get_private_spend_key()
@@ -2343,7 +1989,7 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_private_spend_key | ( | -) | +) | const |
Get the wallet's private spend key.
+Get the wallet's private spend key.
Reimplemented from monero::monero_wallet.
@@ -2361,7 +2007,7 @@ structGet the wallet's private view key.
+Get the wallet's private view key.
Reimplemented from monero::monero_wallet.
@@ -2390,7 +2036,7 @@ structGet the wallet's public spend key.
+Get the wallet's public spend key.
Reimplemented from monero::monero_wallet.
@@ -2419,7 +2065,7 @@ structGet the wallet's public view key.
+Get the wallet's public view key.
Reimplemented from monero::monero_wallet.
@@ -2448,7 +2094,7 @@ structGenerate a signature to prove an available amount in an account.
+Generate a signature to prove an available amount in an account.
| account_idx | specifies the account to prove ownership of the amount | wallet2_listener
-◆ get_reserve_proof_wallet()+◆ get_reserve_proof_wallet()
@@ -2513,8 +2151,7 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_reserve_proof_wallet | ( | -const std::string & | -message | ) | +const std::string & | message | ) | const |
Generate a signature to prove the entire balance of the wallet.
+Generate a signature to prove the entire balance of the wallet.
| message | is a message included with the signature to further authenticate the proof (optional) | wallet2_listener
-◆ get_restore_height()+◆ get_restore_height()
@@ -2549,7 +2186,7 @@ struct | wallet2_listener | uint64_t monero::monero_wallet_full::get_restore_height | ( | -) | +) | const |
Get the height of the first block that the wallet scans.
+Get the height of the first block that the wallet scans.
Reimplemented from monero::monero_wallet.
@@ -2567,7 +2204,7 @@ structGet the wallet's mnemonic phrase or seed.
+Get the wallet's mnemonic phrase or seed.
Reimplemented from monero::monero_wallet.
@@ -2596,7 +2233,7 @@ structGet the language of the wallet's mnemonic phrase or seed.
+Get the language of the wallet's mnemonic phrase or seed.
Reimplemented from monero::monero_wallet.
@@ -2625,7 +2262,7 @@ structGet a list of available languages for the wallet's seed.
+Get a list of available languages for the wallet's seed.
Generate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.
+Generate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.
| tx_hash | specifies the transaction to prove | wallet2_listener
-◆ get_subaddresses()+◆ get_subaddresses()
@@ -2710,19 +2340,12 @@ struct | wallet2_listener | std::vector< monero_subaddress > monero::monero_wallet_full::get_subaddresses | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | const std::vector< uint32_t > & | -subaddress_indices | -|||
| - | ) | -const | +const std::vector< uint32_t > & | subaddress_indices ) const |
Get subaddresses in an account.
+Get subaddresses in an account.
| account_idx | specifies the account to get subaddresses within | wallet2_listener
-◆ get_transfers()+◆ get_transfers()
@@ -2757,8 +2380,7 @@ struct | wallet2_listener | std::vector< std::shared_ptr< monero_transfer > > monero::monero_wallet_full::get_transfers | ( | -const monero_transfer_query & | -query | ) | +const monero_transfer_query & | query | ) | const |
Get incoming and outgoing transfers to and from this wallet. An outgoing transfer represents a total amount sent from one or more subaddresses within an account to individual destination addresses, each with their own amount. An incoming transfer represents a total amount received into a subaddress within an account. Transfers belong to transactions which are stored on the blockchain.
-Query results can be filtered by passing in a monero_transfer_query. Transfers must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
+Get incoming and outgoing transfers to and from this wallet. An outgoing transfer represents a total amount sent from one or more subaddresses within an account to individual destination addresses, each with their own amount. An incoming transfer represents a total amount received into a subaddress within an account. Transfers belong to transactions which are stored on the blockchain.
+Query results can be filtered by passing in a monero_transfer_query. Transfers must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
| query | filters query results (optional) | wallet2_listener
-◆ get_tx_key()+◆ get_tx_key()
@@ -2794,8 +2416,7 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_tx_key | ( | -const std::string & | -tx_hash | ) | +const std::string & | tx_hash | ) | const |
Get a transaction's secret key from its hash.
+Get a transaction's secret key from its hash.
| tx_hash | is the transaction's hash | wallet2_listener
-◆ get_tx_note()+◆ get_tx_note()
@@ -2830,8 +2451,7 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_tx_note | ( | -const std::string & | -tx_hash | ) | +const std::string & | tx_hash | ) | const |
Get a transaction note.
+Get a transaction note.
| tx_hash | specifies the transaction to get the note of | wallet2_listener
-◆ get_tx_notes()+◆ get_tx_notes()
@@ -2866,8 +2486,7 @@ struct | wallet2_listener | std::vector< std::string > monero::monero_wallet_full::get_tx_notes | ( | -const std::vector< std::string > & | -tx_hashes | ) | +const std::vector< std::string > & | tx_hashes | ) | const |
Get notes for multiple transactions.
+Get notes for multiple transactions.
| tx_hashes | identify the transactions to get notes for @preturns notes for the transactions | wallet2_listener
-◆ get_tx_proof()+◆ get_tx_proof()
@@ -2901,25 +2520,17 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::get_tx_proof | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -message | -|||
| - | ) | -const | +const std::string & | message ) const |
Get a transaction signature to prove it.
+Get a transaction signature to prove it.
| tx_hash | specifies the transaction to prove | wallet2_listener
-◆ get_txs() [1/2]+◆ get_txs() [1/2]
@@ -2955,7 +2566,7 @@ struct | wallet2_listener | std::vector< std::shared_ptr< monero_tx_wallet > > monero::monero_wallet_full::get_txs | ( | -) | +) | const |
Get all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
+Get all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
Reimplemented from monero::monero_wallet.
@@ -2973,7 +2584,7 @@ structGet wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
-Query results can be filtered by passing in a transaction query. Transactions must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
+Get wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
+Query results can be filtered by passing in a transaction query. Transactions must meet every criteria defined in the query in order to be returned. All filtering is optional and no filtering is applied when not defined.
| query | filters query results (optional) | wallet2_listener
-◆ get_unlocked_balance() [1/3]+◆ get_unlocked_balance() [1/3]
@@ -3021,7 +2631,7 @@ struct | wallet2_listener | uint64_t monero::monero_wallet_full::get_unlocked_balance | ( | -) | +) | const |
Get the wallet's unlocked balance.
+Get the wallet's unlocked balance.
Reimplemented from monero::monero_wallet.
@@ -3039,7 +2649,7 @@ structGet an account's unlocked balance.
+Get an account's unlocked balance.
| account_idx | is the index of the account to get the unlocked balance of | wallet2_listener
-◆ get_unlocked_balance() [3/3]+◆ get_unlocked_balance() [3/3]
@@ -3086,19 +2695,12 @@ struct | wallet2_listener | uint64_t monero::monero_wallet_full::get_unlocked_balance | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | uint32_t | -subaddress_idx | -|||
| - | ) | -const | +uint32_t | subaddress_idx ) const |
Get a subaddress's unlocked balance.
+Get a subaddress's unlocked balance.
| account_idx | is the index of the subaddress's account to get the unlocked balance of | wallet2_listener
-◆ get_version()+◆ get_version()
@@ -3133,7 +2735,7 @@ struct | wallet2_listener | monero_version monero::monero_wallet_full::get_version | ( | -) | +) | const |
Get the wallet's version.
+Get the wallet's version.
Reimplemented from monero::monero_wallet.
@@ -3151,7 +2753,7 @@ structImport signed key images and verify their spent status.
+Import signed key images and verify their spent status.
| key_images | are key images to import and verify (requires hex and signature) | wallet2_listener
-◆ import_multisig_hex()+◆ import_multisig_hex()
@@ -3198,8 +2799,7 @@ struct | wallet2_listener | int monero::monero_wallet_full::import_multisig_hex | ( | -const std::vector< std::string > & | -multisig_hexes | ) | +const std::vector< std::string > & | multisig_hexes | ) |
Import multisig info as hex from other participants.
-Note: If the daemon is not trusted, this method will not automatically update the spent status after importing peer multisig hex. In that case, the
+Import multisig info as hex from other participants.
+Note: If the daemon is not trusted, this method will not automatically update the spent status after importing peer multisig hex. In that case, the
| multisig_hexes | are multisig hex from each participant | wallet2_listener
-◆ import_outputs()+◆ import_outputs()
@@ -3235,8 +2835,7 @@ struct | wallet2_listener | int monero::monero_wallet_full::import_outputs | ( | -const std::string & | -outputs_hex | ) | +const std::string & | outputs_hex | ) |
Import outputs in hex format.
+Import outputs in hex format.
Indicates if the wallet is connected a daemon.
+Indicates if the wallet is connected a daemon.
Reimplemented from monero::monero_wallet.
@@ -3289,7 +2888,7 @@ structIndicates if the wallet's daemon is synced with the network.
+Indicates if the wallet's daemon is synced with the network.
Reimplemented from monero::monero_wallet.
@@ -3318,7 +2917,7 @@ structIndicates if the daemon is trusted or untrusted.
+Indicates if the daemon is trusted or untrusted.
Reimplemented from monero::monero_wallet.
@@ -3347,7 +2946,7 @@ structIndicates if importing multisig data is needed for returning a correct balance.
+Indicates if importing multisig data is needed for returning a correct balance.
Reimplemented from monero::monero_wallet.
@@ -3376,7 +2975,7 @@ structCheck if an output is frozen.
+Check if an output is frozen.
Indicates if the wallet is synced with the daemon.
+Indicates if the wallet is synced with the daemon.
Reimplemented from monero::monero_wallet.
@@ -3441,7 +3039,7 @@ structMake this wallet multisig by importing multisig hex from participants.
+Make this wallet multisig by importing multisig hex from participants.
| multisig_hexes | are multisig hex from each participant | wallet2_listener
-◆ move_to()+◆ move_to()
@@ -3533,19 +3123,12 @@ struct | wallet2_listener | void monero::monero_wallet_full::move_to | ( | -const std::string & | -path, | +const std::string & | path, |
| - | const std::string & | -password | -|||
| - | ) | -+ | const std::string & | password ) |
Move the wallet from its current path to the given path.
+Move the wallet from its current path to the given path.
| path | is the new wallet's path | wallet2_listener
-◆ open_wallet()+◆ open_wallet()
@@ -3579,25 +3162,17 @@ struct | wallet2_listener | monero_wallet_full * monero::monero_wallet_full::open_wallet | ( | -const std::string & | -path, | +const std::string & | path, |
| - | const std::string & | -password, | +const std::string & | password, | |
| - | const monero_network_type | -network_type | -|||
| - | ) | -+ | const monero_network_type | network_type ) |
Open an existing wallet from disk.
+Open an existing wallet from disk.
| path | is the path to the wallet file to open | wallet2_listener
-◆ open_wallet_data()+◆ open_wallet_data()
@@ -3631,43 +3206,32 @@ struct | wallet2_listener | monero_wallet_full * monero::monero_wallet_full::open_wallet_data | ( | -const std::string & | -password, | +const std::string & | password, |
| - | const monero_network_type | -network_type, | +const monero_network_type | network_type, | |
| - | const std::string & | -keys_data, | +const std::string & | keys_data, | |
| - | const std::string & | -cache_data, | +const std::string & | cache_data, | |
| - | const monero_rpc_connection & | -daemon_connection = monero_rpc_connection(), |
+ const monero_rpc_connection & | daemon_connection = monero_rpc_connection(), | |
| - | std::unique_ptr< epee::net_utils::http::http_client_factory > | -http_client_factory = nullptr |
- |||
| - | ) | -+ | std::unique_ptr< epee::net_utils::http::http_client_factory > | http_client_factory = nullptr ) |
Open an in-memory wallet from existing data buffers.
+Open an in-memory wallet from existing data buffers.
| password | is the password of the wallet file to open | wallet2_listener
-◆ parse_payment_uri()+◆ parse_payment_uri()
@@ -3704,8 +3268,7 @@ struct | wallet2_listener | std::shared_ptr< monero_tx_config > monero::monero_wallet_full::parse_payment_uri | ( | -const std::string & | -uri | ) | +const std::string & | uri | ) | const |
Parses a payment URI to a tx configuration.
+Parses a payment URI to a tx configuration.
Get multisig info as hex to share with participants to begin creating a multisig wallet.
+Get multisig info as hex to share with participants to begin creating a multisig wallet.
Reimplemented from monero::monero_wallet.
@@ -3758,7 +3321,7 @@ structRelay transactions previously created without relaying.
+Relay transactions previously created without relaying.
| tx_metadatas | are transaction metadata previously created without relaying | wallet2_listener
-◆ remove_listener()+◆ remove_listener()
@@ -3805,8 +3367,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::remove_listener | ( | -monero_wallet_listener & | -listener | ) | +monero_wallet_listener & | listener | ) |
Unregister a listener to receive wallet notifications.
+Unregister a listener to receive wallet notifications.
Rescan the blockchain from scratch, losing any information which cannot be recovered from the blockchain itself.
-WARNING: This method discards local wallet data like destination addresses, tx secret keys, tx notes, etc.
+Rescan the blockchain from scratch, losing any information which cannot be recovered from the blockchain itself.
+WARNING: This method discards local wallet data like destination addresses, tx secret keys, tx notes, etc.
Reimplemented from monero::monero_wallet.
Rescan the blockchain for spent outputs.
-Note: this can only be called with a trusted daemon.
-Example use case: peer multisig hex is import when connected to an untrusted daemon, so the wallet will not rescan spent outputs. Then the wallet connects to a trusted daemon. This method should be manually invoked to rescan outputs.
+Rescan the blockchain for spent outputs.
+Note: this can only be called with a trusted daemon.
+Example use case: peer multisig hex is import when connected to an untrusted daemon, so the wallet will not rescan spent outputs. Then the wallet connects to a trusted daemon. This method should be manually invoked to rescan outputs.
Reimplemented from monero::monero_wallet.
Save the wallet at its current path.
+Save the wallet at its current path.
Reimplemented from monero::monero_wallet.
Scan transactions by their hash/id.
+Scan transactions by their hash/id.
| txHashes | - tx hashes to scan | wallet2_listener
-◆ set_attribute()+◆ set_attribute()
@@ -3962,19 +3522,12 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_attribute | ( | -const std::string & | -key, | +const std::string & | key, |
| - | const std::string & | -val | -|||
| - | ) | -+ | const std::string & | val ) |
Set an arbitrary attribute.
+Set an arbitrary attribute.
| key | is the attribute key | wallet2_listener
-◆ set_daemon_connection() [1/2]+◆ set_daemon_connection() [1/2]
@@ -4008,8 +3561,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_daemon_connection | ( | -const boost::optional< monero_rpc_connection > & | -connection | ) | +const boost::optional< monero_rpc_connection > & | connection | ) |
Set the wallet's daemon connection.
+Set the wallet's daemon connection.
| connection | is the connection to set | wallet2_listener
-◆ set_daemon_connection() [2/2]+◆ set_daemon_connection() [2/2]
@@ -4043,25 +3595,17 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_daemon_connection | ( | -const std::string & | -uri, | +const std::string & | uri, |
| - | const std::string & | -username = "", |
+ const std::string & | username = "", | |
| - | const std::string & | -password = "" |
- |||
| - | ) | -+ | const std::string & | password = "" ) |
Set the wallet's daemon connection.
+Set the wallet's daemon connection.
| uri | is the daemon's URI | wallet2_listener
-◆ set_daemon_proxy()+◆ set_daemon_proxy()
@@ -4096,8 +3640,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_daemon_proxy | ( | -const std::string & | -uri = "" | ) | +const std::string & | uri = "" | ) |
Set the Tor proxy to the daemon.
+Set the Tor proxy to the daemon.
Reimplemented from monero::monero_wallet.
Set the height of the first block that the wallet scans.
+Set the height of the first block that the wallet scans.
| restore_height | is the height of the first block that the wallet scans | wallet2_listener
-◆ set_subaddress_label()+◆ set_subaddress_label()
@@ -4160,25 +3702,17 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_subaddress_label | ( | -uint32_t | -account_idx, | +uint32_t | account_idx, |
| - | uint32_t | -subaddress_idx, | +uint32_t | subaddress_idx, | |
| - | const std::string & | -label = "" |
- |||
| - | ) | -+ | const std::string & | label = "" ) |
Set a subaddress label.
+Set a subaddress label.
| account_idx | index of the account to set the label for | wallet2_listener
-◆ set_tx_note()+◆ set_tx_note()
@@ -4213,19 +3747,12 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_tx_note | ( | -const std::string & | -tx_hash, | +const std::string & | tx_hash, |
| - | const std::string & | -note | -|||
| - | ) | -+ | const std::string & | note ) |
Set a note for a specific transaction.
+Set a note for a specific transaction.
| tx_hash | specifies the transaction | wallet2_listener
-◆ set_tx_notes()+◆ set_tx_notes()
@@ -4259,19 +3786,12 @@ struct | wallet2_listener | void monero::monero_wallet_full::set_tx_notes | ( | -const std::vector< std::string > & | -tx_hashes, | +const std::vector< std::string > & | tx_hashes, |
| - | const std::vector< std::string > & | -notes | -|||
| - | ) | -+ | const std::vector< std::string > & | notes ) |
Set notes for multiple transactions.
+Set notes for multiple transactions.
| tx_hashes | specify the transactions to set notes for | wallet2_listener
-◆ sign_message()+◆ sign_message()
@@ -4305,31 +3825,22 @@ struct | wallet2_listener | std::string monero::monero_wallet_full::sign_message | ( | -const std::string & | -msg, | +const std::string & | msg, |
| - | monero_message_signature_type | -signature_type, | +monero_message_signature_type | signature_type, | |
| - | uint32_t | -account_idx = 0, |
+ uint32_t | account_idx = 0, | |
| - | uint32_t | -subaddress_idx = 0 |
- |||
| - | ) | -const | +uint32_t | subaddress_idx = 0 ) const |
Sign a message.
+Sign a message.
| msg | - the message to sign | wallet2_listener
-◆ sign_multisig_tx_hex()+◆ sign_multisig_tx_hex()
@@ -4366,8 +3877,7 @@ struct | wallet2_listener | monero_multisig_sign_result monero::monero_wallet_full::sign_multisig_tx_hex | ( | -const std::string & | -multisig_tx_hex | ) | +const std::string & | multisig_tx_hex | ) |
Sign previously created multisig transactions as represented by hex.
+Sign previously created multisig transactions as represented by hex.
| multisig_tx_hex | is the hex shared among the multisig transactions when they were created | wallet2_listener
-◆ sign_txs()+◆ sign_txs()
@@ -4402,8 +3912,7 @@ struct | wallet2_listener | monero_tx_set monero::monero_wallet_full::sign_txs | ( | -const std::string & | -unsigned_tx_hex | ) | +const std::string & | unsigned_tx_hex | ) |
Sign unsigned transactions from a view-only wallet.
+Sign unsigned transactions from a view-only wallet.
| unsigned_tx_hex | is unsigned transaction hex from when the transactions were created | wallet2_listener
-◆ start_mining()+◆ start_mining()
@@ -4438,25 +3947,17 @@ struct | wallet2_listener | void monero::monero_wallet_full::start_mining | ( | -boost::optional< uint64_t > | -num_threads, | +boost::optional< uint64_t > | num_threads, |
| - | boost::optional< bool > | -background_mining, | +boost::optional< bool > | background_mining, | |
| - | boost::optional< bool > | -ignore_battery | -|||
| - | ) | -+ | boost::optional< bool > | ignore_battery ) |
Start mining.
+Start mining.
| num_threads | is the number of threads created for mining (optional) | wallet2_listener
-◆ start_syncing()+◆ start_syncing()
@@ -4491,8 +3992,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::start_syncing | ( | -uint64_t | -sync_period_in_ms | ) | +uint64_t | sync_period_in_ms | ) |
Start background synchronizing with a maximum period between syncs.
+Start background synchronizing with a maximum period between syncs.
Stop the asynchronous thread to continuously synchronize the wallet with the daemon.
+Stop the asynchronous thread to continuously synchronize the wallet with the daemon.
Reimplemented from monero::monero_wallet.
Submit signed multisig transactions as represented by a hex std::string.
+Submit signed multisig transactions as represented by a hex std::string.
| signed_multisig_tx_hex | is the signed multisig hex returned from signMultisigTxs() | wallet2_listener
-◆ submit_txs()+◆ submit_txs()
@@ -4618,8 +4117,7 @@ struct | wallet2_listener | std::vector< std::string > monero::monero_wallet_full::submit_txs | ( | -const std::string & | -signed_tx_hex | ) | +const std::string & | signed_tx_hex | ) |
Submit signed transactions from a view-only wallet.
+Submit signed transactions from a view-only wallet.
| signed_tx_hex | is signed transaction hex from sign_txs() |
| signed_tx_hex | is signed transaction hex from sign_txs() |
falseSweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
+Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
| relay | specifies if the resulting transaction should be relayed (default false) | wallet2_listener
-◆ sweep_output()+◆ sweep_output()
@@ -4690,8 +4187,7 @@ struct | wallet2_listener | std::shared_ptr< monero_tx_wallet > monero::monero_wallet_full::sweep_output | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Sweep an output with a given key image.
+Sweep an output with a given key image.
| config | configures the sweep transaction | wallet2_listener
-◆ sweep_unlocked()+◆ sweep_unlocked()
@@ -4726,8 +4222,7 @@ struct | wallet2_listener | std::vector< std::shared_ptr< monero_tx_wallet > > monero::monero_wallet_full::sweep_unlocked | ( | -const monero_tx_config & | -config | ) | +const monero_tx_config & | config | ) |
Sweep unlocked funds according to the given config.
+Sweep unlocked funds according to the given config.
| config | is the sweep configuration | wallet2_listener
-◆ sync() [1/4]+◆ sync() [1/4]
@@ -4762,7 +4257,7 @@ struct | wallet2_listener | monero_sync_result monero::monero_wallet_full::sync | ( | -) | +) |
Synchronize the wallet with the daemon as a one-time synchronous process.
+Synchronize the wallet with the daemon as a one-time synchronous process.
Reimplemented from monero::monero_wallet.
@@ -4780,7 +4275,7 @@ structSynchronize the wallet with the daemon as a one-time synchronous process.
+Synchronize the wallet with the daemon as a one-time synchronous process.
| listener | - listener to receive notifications during synchronization | wallet2_listener
-◆ sync() [3/4]+◆ sync() [3/4]
@@ -4827,8 +4321,7 @@ struct | wallet2_listener | monero_sync_result monero::monero_wallet_full::sync | ( | -uint64_t | -start_height | ) | +uint64_t | start_height | ) |
Synchronize the wallet with the daemon as a one-time synchronous process.
+Synchronize the wallet with the daemon as a one-time synchronous process.
| start_height | is the start height to sync from (ignored if less than last processed block) | wallet2_listener
-◆ sync() [4/4]+◆ sync() [4/4]
@@ -4863,19 +4356,12 @@ struct | wallet2_listener | monero_sync_result monero::monero_wallet_full::sync | ( | -uint64_t | -start_height, | +uint64_t | start_height, |
| - | monero_wallet_listener & | -listener | -|||
| - | ) | -+ | monero_wallet_listener & | listener ) |
Synchronizes the wallet with the blockchain.
+Synchronizes the wallet with the blockchain.
| start_height | - start height to sync from (ignored if less than last processed block) | wallet2_listener
-◆ thaw_output()+◆ thaw_output()
@@ -4910,8 +4396,7 @@ struct | wallet2_listener | void monero::monero_wallet_full::thaw_output | ( | -const std::string & | -key_image | ) | +const std::string & | key_image | ) |
Thaw a frozen output.
+Thaw a frozen output.
| key_image | key image of the output to thaw | wallet2_listener
-◆ verify_message()+◆ verify_message()
@@ -4945,25 +4430,17 @@ struct | wallet2_listener | monero_message_signature_result monero::monero_wallet_full::verify_message | ( | -const std::string & | -msg, | +const std::string & | msg, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Verify a message signature.
+Verify a message signature.
Wait for the next block to be added to the chain.
+Wait for the next block to be added to the chain.
Reimplemented from monero::monero_wallet.
@@ -5017,7 +4494,7 @@ structIndicates if a wallet exists at the given path.
+Indicates if a wallet exists at the given path.
| path | is the path to check for a wallet | wallet2_listener
The documentation for this class was generated from the following files:
-Generated by |
Public Member Functions | |
| ~monero_wallet_keys () | |
| ~monero_wallet_keys () | |
| bool | is_view_only () const override |
| bool | is_view_only () const override |
| monero_version | get_version () const override |
| monero_version | get_version () const override |
| monero_network_type | get_network_type () const override |
| monero_network_type | get_network_type () const override |
| std::string | get_seed () const override |
| std::string | get_seed () const override |
| std::string | get_seed_language () const override |
| std::string | get_seed_language () const override |
| std::string | get_private_view_key () const override |
| std::string | get_private_view_key () const override |
| std::string | get_private_spend_key () const override |
| std::string | get_private_spend_key () const override |
| std::string | get_public_view_key () const override |
| std::string | get_public_view_key () const override |
| std::string | get_public_spend_key () const override |
| std::string | get_public_spend_key () const override |
| std::string | get_primary_address () const override |
| std::string | get_primary_address () const override |
| std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const override |
| std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const override |
| monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const override |
| monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const override |
| monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const override |
| monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const override |
| monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const override |
| monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const override |
| std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override |
| std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override |
| 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 |
| 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 |
| monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const override |
| monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const override |
| void | close (bool save=false) override |
| void | close (bool save=false) override |
Public Member Functions inherited from monero::monero_wallet | |
| virtual | ~monero_wallet () |
Public Member Functions inherited from monero::monero_wallet | |
| virtual | ~monero_wallet () |
| virtual bool | is_view_only () const |
| virtual void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") |
| virtual void | set_daemon_connection (const std::string &uri, const std::string &username="", const std::string &password="") |
| virtual void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) |
| virtual void | set_daemon_connection (const boost::optional< monero_rpc_connection > &connection) |
| virtual void | set_daemon_proxy (const std::string &uri="") |
| virtual void | set_daemon_proxy (const std::string &uri="") |
| virtual boost::optional< monero_rpc_connection > | get_daemon_connection () const |
| virtual boost::optional< monero_rpc_connection > | get_daemon_connection () const |
| virtual bool | is_connected_to_daemon () const |
| virtual bool | is_connected_to_daemon () const |
| virtual bool | is_daemon_synced () const |
| virtual bool | is_daemon_synced () const |
| virtual bool | is_daemon_trusted () const |
| virtual bool | is_daemon_trusted () const |
| virtual bool | is_synced () const |
| virtual bool | is_synced () const |
| virtual monero_version | get_version () const |
| virtual std::string | get_path () const |
| virtual std::string | get_path () const |
| virtual monero_network_type | get_network_type () const |
| virtual std::string | get_seed () const |
| virtual std::string | get_seed_language () const |
| virtual std::string | get_public_view_key () const |
| virtual std::string | get_private_view_key () const |
| virtual std::string | get_public_spend_key () const |
| virtual std::string | get_private_spend_key () const |
| virtual std::string | get_primary_address () const |
| virtual std::string | get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | get_address_index (const std::string &address) const |
| virtual monero_subaddress | get_address_index (const std::string &address) const |
| virtual monero_integrated_address | get_integrated_address (const std::string &standard_address="", const std::string &payment_id="") const |
| virtual monero_integrated_address | decode_integrated_address (const std::string &integrated_address) const |
| virtual uint64_t | get_height () const |
| virtual uint64_t | get_height () const |
| virtual uint64_t | get_restore_height () const |
| virtual uint64_t | get_restore_height () const |
| virtual void | set_restore_height (uint64_t restore_height) |
| virtual void | set_restore_height (uint64_t restore_height) |
| virtual uint64_t | get_daemon_height () const |
| virtual uint64_t | get_daemon_height () const |
| virtual uint64_t | get_daemon_max_peer_height () const |
| virtual uint64_t | get_daemon_max_peer_height () const |
| virtual uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const |
| virtual uint64_t | get_height_by_date (uint16_t year, uint8_t month, uint8_t day) const |
| virtual void | add_listener (monero_wallet_listener &listener) |
| virtual void | add_listener (monero_wallet_listener &listener) |
| virtual void | remove_listener (monero_wallet_listener &listener) |
| virtual void | remove_listener (monero_wallet_listener &listener) |
| virtual std::set< monero_wallet_listener * > | get_listeners () |
| virtual std::set< monero_wallet_listener * > | get_listeners () |
| virtual monero_sync_result | sync () |
| virtual monero_sync_result | sync () |
| virtual monero_sync_result | sync (monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (uint64_t start_height) |
| virtual monero_sync_result | sync (uint64_t start_height) |
| virtual monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) |
| virtual monero_sync_result | sync (uint64_t start_height, monero_wallet_listener &listener) |
| virtual void | start_syncing (uint64_t sync_period_in_ms=10000) |
| virtual void | start_syncing (uint64_t sync_period_in_ms=10000) |
| virtual void | stop_syncing () |
| virtual void | stop_syncing () |
| virtual void | scan_txs (const std::vector< std::string > &tx_hashes) |
| virtual void | scan_txs (const std::vector< std::string > &tx_hashes) |
| virtual void | rescan_spent () |
| virtual void | rescan_spent () |
| virtual void | rescan_blockchain () |
| virtual void | rescan_blockchain () |
| virtual uint64_t | get_balance () const |
| virtual uint64_t | get_balance () const |
| virtual uint64_t | get_balance (uint32_t account_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_unlocked_balance () const |
| virtual uint64_t | get_unlocked_balance () const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual uint64_t | get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const |
| virtual std::vector< monero_account > | get_accounts () const |
| virtual std::vector< monero_account > | get_accounts () const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses) const |
| virtual std::vector< monero_account > | get_accounts (const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const |
| virtual std::vector< monero_account > | get_accounts (bool include_subaddresses, const std::string &tag) const |
| virtual monero_account | get_account (uint32_t account_idx) const |
| virtual monero_account | get_account (uint32_t account_idx) const |
| virtual monero_account | get_account (const uint32_t account_idx, bool include_subaddresses) const |
| virtual monero_account | create_account (const std::string &label="") |
| virtual monero_account | create_account (const std::string &label="") |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx) const |
| virtual std::vector< monero_subaddress > | get_subaddresses (const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const |
| virtual monero_subaddress | get_subaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | get_subaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const |
| virtual monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") |
| virtual monero_subaddress | create_subaddress (uint32_t account_idx, const std::string &label="") |
| virtual void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") |
| virtual void | set_subaddress_label (uint32_t account_idx, uint32_t subaddress_idx, const std::string &label="") |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs () const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | get_txs (const monero_tx_query &query) const |
| virtual std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| virtual std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| virtual std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const |
| virtual std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs (const monero_output_query &query) const |
| virtual std::string | export_outputs (bool all=false) const |
| virtual std::string | export_outputs (bool all=false) const |
| virtual int | import_outputs (const std::string &outputs_hex) |
| virtual int | import_outputs (const std::string &outputs_hex) |
| virtual std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const |
| virtual std::vector< std::shared_ptr< monero_key_image > > | export_key_images (bool all=false) const |
| virtual std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) |
| virtual std::shared_ptr< monero_key_image_import_result > | import_key_images (const std::vector< std::shared_ptr< monero_key_image > > &key_images) |
| virtual void | freeze_output (const std::string &key_image) |
| virtual void | freeze_output (const std::string &key_image) |
| virtual void | thaw_output (const std::string &key_image) |
| virtual void | thaw_output (const std::string &key_image) |
| virtual bool | is_output_frozen (const std::string &key_image) |
| virtual bool | is_output_frozen (const std::string &key_image) |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | create_tx (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | create_txs (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_unlocked (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) |
| virtual std::shared_ptr< monero_tx_wallet > | sweep_output (const monero_tx_config &config) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) |
| virtual std::vector< std::shared_ptr< monero_tx_wallet > > | sweep_dust (bool relay=false) |
| virtual std::string | relay_tx (const std::string &tx_metadata) |
| virtual std::string | relay_tx (const std::string &tx_metadata) |
| virtual std::string | relay_tx (const monero_tx_wallet &tx) |
| virtual std::string | relay_tx (const monero_tx_wallet &tx) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) |
| virtual std::vector< std::string > | relay_txs (const std::vector< std::string > &tx_metadatas) |
| virtual monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) |
| virtual monero_tx_set | describe_tx_set (const monero_tx_set &tx_set) |
| virtual monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) |
| virtual monero_tx_set | sign_txs (const std::string &unsigned_tx_hex) |
| virtual std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) |
| virtual std::vector< std::string > | submit_txs (const std::string &signed_tx_hex) |
| virtual 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 |
| virtual monero_message_signature_result | verify_message (const std::string &msg, const std::string &address, const std::string &signature) const |
| virtual std::string | get_tx_key (const std::string &tx_hash) const |
| virtual std::string | get_tx_key (const std::string &tx_hash) const |
| 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 |
| 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 |
| virtual std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const |
| virtual std::string | get_tx_proof (const std::string &tx_hash, const std::string &address, const std::string &message) const |
| 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 |
| 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 |
| virtual std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const |
| virtual std::string | get_spend_proof (const std::string &tx_hash, const std::string &message) const |
| virtual bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const |
| virtual bool | check_spend_proof (const std::string &tx_hash, const std::string &message, const std::string &signature) const |
| virtual std::string | get_reserve_proof_wallet (const std::string &message) const |
| virtual std::string | get_reserve_proof_wallet (const std::string &message) const |
| virtual std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const |
| virtual std::string | get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const std::string &message) const |
| virtual std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const |
| virtual std::shared_ptr< monero_check_reserve > | check_reserve_proof (const std::string &address, const std::string &message, const std::string &signature) const |
| virtual std::string | get_tx_note (const std::string &tx_hash) const |
| virtual std::string | get_tx_note (const std::string &tx_hash) const |
| virtual std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const |
| virtual std::vector< std::string > | get_tx_notes (const std::vector< std::string > &tx_hashes) const |
| virtual void | set_tx_note (const std::string &tx_hash, const std::string ¬e) |
| virtual void | set_tx_note (const std::string &tx_hash, const std::string ¬e) |
| virtual void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) |
| virtual void | set_tx_notes (const std::vector< std::string > &tx_hashes, const std::vector< std::string > ¬es) |
| virtual std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const |
| virtual std::vector< monero_address_book_entry > | get_address_book_entries (const std::vector< uint64_t > &indices) const |
| virtual uint64_t | add_address_book_entry (const std::string &address, const std::string &description) |
| virtual uint64_t | add_address_book_entry (const std::string &address, const std::string &description) |
| virtual void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) |
| virtual void | edit_address_book_entry (uint64_t index, bool set_address, const std::string &address, bool set_description, const std::string &description) |
| virtual void | delete_address_book_entry (uint64_t index) |
| virtual void | delete_address_book_entry (uint64_t index) |
| virtual std::string | get_payment_uri (const monero_tx_config &config) const |
| virtual std::string | get_payment_uri (const monero_tx_config &config) const |
| virtual std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const |
| virtual std::shared_ptr< monero_tx_config > | parse_payment_uri (const std::string &uri) const |
| virtual bool | get_attribute (const std::string &key, std::string &value) const |
| virtual bool | get_attribute (const std::string &key, std::string &value) const |
| virtual void | set_attribute (const std::string &key, const std::string &val) |
| virtual void | set_attribute (const std::string &key, const std::string &val) |
| virtual void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) |
| virtual void | start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery) |
| virtual void | stop_mining () |
| virtual void | stop_mining () |
| virtual uint64_t | wait_for_next_block () |
| virtual uint64_t | wait_for_next_block () |
| virtual bool | is_multisig_import_needed () const |
| virtual bool | is_multisig_import_needed () const |
| virtual bool | is_multisig () const |
| virtual bool | is_multisig () const |
| virtual monero_multisig_info | get_multisig_info () const |
| virtual monero_multisig_info | get_multisig_info () const |
| virtual std::string | prepare_multisig () |
| virtual std::string | prepare_multisig () |
| virtual std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) |
| virtual std::string | make_multisig (const std::vector< std::string > &multisig_hexes, int threshold, const std::string &password) |
| virtual monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) |
| virtual monero_multisig_init_result | exchange_multisig_keys (const std::vector< std::string > &mutisig_hexes, const std::string &password) |
| virtual std::string | export_multisig_hex () |
| virtual std::string | export_multisig_hex () |
| virtual int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) |
| virtual int | import_multisig_hex (const std::vector< std::string > &multisig_hexes) |
| virtual monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) |
| virtual monero_multisig_sign_result | sign_multisig_tx_hex (const std::string &multisig_tx_hex) |
| virtual std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) |
| virtual std::vector< std::string > | submit_multisig_tx_hex (const std::string &signed_multisig_tx_hex) |
| virtual void | change_password (const std::string &old_password, const std::string &new_password) |
| virtual void | change_password (const std::string &old_password, const std::string &new_password) |
| virtual void | move_to (const std::string &path, const std::string &password) |
| virtual void | move_to (const std::string &path, const std::string &password) |
| virtual void | save () |
| virtual void | save () |
| virtual void | close (bool save=false) |
Static Public Member Functions | |
| static monero_wallet_keys * | create_wallet_random (const monero_wallet_config &config) |
| static monero_wallet_keys * | create_wallet_random (const monero_wallet_config &config) |
| static monero_wallet_keys * | create_wallet_from_seed (const monero_wallet_config &config) |
| static monero_wallet_keys * | create_wallet_from_seed (const monero_wallet_config &config) |
| static monero_wallet_keys * | create_wallet_from_keys (const monero_wallet_config &config) |
| static monero_wallet_keys * | create_wallet_from_keys (const monero_wallet_config &config) |
| static std::vector< std::string > | get_seed_languages () |
| static std::vector< std::string > | get_seed_languages () |
Destruct the wallet.
+Destruct the wallet.
falseOptionally save then close the wallet.
+Optionally save then close the wallet.
| save | specifies if the wallet should be saved before being closed (default false) | |||||||
| monero_wallet_keys * monero::monero_wallet_keys::create_wallet_from_keys | ( | -const monero_wallet_config & | -config | ) | +const monero_wallet_config & | config | ) |
Create a wallet from an address, view key, and spend key.
+Create a wallet from an address, view key, and spend key.
| config | is the wallet configuration (network type, address, view key, spend key, language) | |||||||
| monero_wallet_keys * monero::monero_wallet_keys::create_wallet_from_seed | ( | -const monero_wallet_config & | -config | ) | +const monero_wallet_config & | config | ) |
Create a wallet from an existing mnemonic phrase or seed.
+Create a wallet from an existing mnemonic phrase or seed.
| config | is the wallet configuration (network type, seed, seed offset, isMultisig) | |||||||
| monero_wallet_keys * monero::monero_wallet_keys::create_wallet_random | ( | -const monero_wallet_config & | -config | ) | +const monero_wallet_config & | config | ) |
Create a new wallet with a randomly generated seed.
+Create a new wallet with a randomly generated seed.
| config | is the wallet configuration (network type and language) | |||||||
| monero_integrated_address monero::monero_wallet_keys::decode_integrated_address | ( | -const std::string & | -integrated_address | ) | +const std::string & | integrated_address | ) | const |
Decode an integrated address to get its standard address and payment id.
+Decode an integrated address to get its standard address and payment id.
| integrated_address | is an integrated address to decode | ||||
| monero_account monero::monero_wallet_keys::get_account | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | bool | -include_subaddresses | -|||
| - | ) | -const | +bool | include_subaddresses ) const |
Get an account.
+Get an account.
| account_idx | specifies the account to get | ||||
| std::string monero::monero_wallet_keys::get_address | ( | -const uint32_t | -account_idx, | +const uint32_t | account_idx, |
| - | const uint32_t | -subaddress_idx | -|||
| - | ) | -const | +const uint32_t | subaddress_idx ) const |
Get the address of a specific subaddress.
+Get the address of a specific subaddress.
| account_idx | specifies the account index of the address's subaddress | ||||
| monero_integrated_address monero::monero_wallet_keys::get_integrated_address | ( | -const std::string & | -standard_address = "", |
+ const std::string & | standard_address = "", |
| - | const std::string & | -payment_id = "" |
- |||
| - | ) | -const | +const std::string & | payment_id = "" ) const |
Get an integrated address from a standard address and a payment id.
+Get an integrated address from a standard address and a payment id.
| standard_address | is the integrated addresse's standard address (defaults to wallet's primary address) | |||||
| monero_network_type monero::monero_wallet_keys::get_network_type | ( | -) | +) | const |
Get the wallet's network type (mainnet, testnet, or stagenet).
+Get the wallet's network type (mainnet, testnet, or stagenet).
Reimplemented from monero::monero_wallet.
@@ -747,7 +694,7 @@ Static Public Member FunctionsGet the wallet's primary address.
+Get the wallet's primary address.
Reimplemented from monero::monero_wallet.
@@ -776,7 +723,7 @@ Static Public Member FunctionsGet the wallet's private spend key.
+Get the wallet's private spend key.
Reimplemented from monero::monero_wallet.
@@ -805,7 +752,7 @@ Static Public Member FunctionsGet the wallet's private view key.
+Get the wallet's private view key.
Reimplemented from monero::monero_wallet.
@@ -834,7 +781,7 @@ Static Public Member FunctionsGet the wallet's public spend key.
+Get the wallet's public spend key.
Reimplemented from monero::monero_wallet.
@@ -863,7 +810,7 @@ Static Public Member FunctionsGet the wallet's public view key.
+Get the wallet's public view key.
Reimplemented from monero::monero_wallet.
@@ -892,7 +839,7 @@ Static Public Member FunctionsGet the wallet's mnemonic phrase or seed.
+Get the wallet's mnemonic phrase or seed.
Reimplemented from monero::monero_wallet.
@@ -921,7 +868,7 @@ Static Public Member FunctionsGet the language of the wallet's mnemonic phrase or seed.
+Get the language of the wallet's mnemonic phrase or seed.
Reimplemented from monero::monero_wallet.
@@ -950,7 +897,7 @@ Static Public Member FunctionsGet a list of available languages for the wallet's seed.
+Get a list of available languages for the wallet's seed.
Get subaddresses in an account.
+Get subaddresses in an account.
| account_idx | specifies the account to get subaddresses within | |||||
| monero_version monero::monero_wallet_keys::get_version | ( | -) | +) | const |
Get the wallet's version.
+Get the wallet's version.
Reimplemented from monero::monero_wallet.
@@ -1053,7 +993,7 @@ Static Public Member Functions0, 0 Sign a message.
+Sign a message.
| msg | - the message to sign | ||||
| monero_message_signature_result monero::monero_wallet_keys::verify_message | ( | -const std::string & | -msg, | +const std::string & | msg, |
| - | const std::string & | -address, | +const std::string & | address, | |
| - | const std::string & | -signature | -|||
| - | ) | -const | +const std::string & | signature ) const |
Verify a message signature.
+Verify a message signature.
| msg | - the signed message |
| ▼ daemon | |
| monero_daemon.h |
| ▼ daemon | |
| monero_daemon.h | |
| monero_daemon_model.h | |
| ▼ utils | |
| ▼ utils | |
| gen_utils.h | |
| monero_utils.h | |
| ▼ wallet | |
| monero_wallet.h | |
| monero_utils.h | |
| ▼ wallet | |
| monero_wallet.h | |
| monero_wallet_full.h | |
| monero_wallet_keys.h | |
| monero_wallet_keys.h | |
| monero_wallet_model.h |
| ▼Ctools::i_wallet2_callback | |
| Cmonero::wallet2_listener |
| ▼Ctools::i_wallet2_callback | |
| Cmonero::wallet2_listener | |
| Cmonero::key_image_list | |
| Cmonero::monero_destination | |
| ▼Cmonero::monero_wallet | |
| Cmonero::monero_wallet_full | |
| Cmonero::monero_destination | |
| ▼Cmonero::monero_wallet | |
| Cmonero::monero_wallet_full | |
| Cmonero::monero_wallet_keys | |
| Cmonero::monero_wallet_listener | |
| ▼Cmonero::serializable_struct | |
| Cmonero::monero_account | |
| Cmonero::monero_wallet_listener | |
| ▼Cmonero::serializable_struct | |
| Cmonero::monero_account | |
| Cmonero::monero_address_book_entry | |
| ▼Cmonero::monero_block_header | |
| ▼Cmonero::monero_block_header | |
| Cmonero::monero_block | |
| ▼Cmonero::monero_check | |
| ▼Cmonero::monero_check | |
| Cmonero::monero_check_reserve | |
| Cmonero::monero_check_tx | |
| Cmonero::monero_check_tx | |
| Cmonero::monero_integrated_address | |
| Cmonero::monero_key_image | |
| Cmonero::monero_key_image | |
| Cmonero::monero_key_image_import_result | |
| Cmonero::monero_message_signature_result | |
| Cmonero::monero_message_signature_result | |
| Cmonero::monero_multisig_info | |
| Cmonero::monero_multisig_init_result | |
| Cmonero::monero_multisig_init_result | |
| Cmonero::monero_multisig_sign_result | |
| ▼Cmonero::monero_output | |
| ▼Cmonero::monero_output_wallet | |
| Cmonero::monero_output_query | |
| ▼Cmonero::monero_output | |
| ▼Cmonero::monero_output_wallet | |
| Cmonero::monero_output_query | |
| Cmonero::monero_rpc_connection | |
| Cmonero::monero_subaddress | |
| Cmonero::monero_subaddress | |
| Cmonero::monero_sync_result | |
| ▼Cmonero::monero_transfer | |
| ▼Cmonero::monero_transfer | |
| Cmonero::monero_incoming_transfer | |
| Cmonero::monero_outgoing_transfer | |
| Cmonero::monero_outgoing_transfer | |
| Cmonero::monero_transfer_query | |
| ▼Cmonero::monero_tx | |
| ▼Cmonero::monero_tx_wallet | |
| Cmonero::monero_tx_query | |
| ▼Cmonero::monero_tx | |
| ▼Cmonero::monero_tx_wallet | |
| Cmonero::monero_tx_query | |
| Cmonero::monero_tx_config | |
| Cmonero::monero_tx_set | |
| Cmonero::monero_tx_set | |
| Cmonero::monero_version | |
| Cmonero::monero_wallet_config | |
| Cmonero::monero_wallet_config |
Functions | |
| + | |
| template<class T , typename std::enable_if< std::is_same< T, std::string >::value, T >::type * = nullptr> | |
| boost::optional< T > | reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, boost::optional< bool > resolve_defined, boost::optional< bool > resolve_true, boost::optional< bool > resolve_max, const std::string &err_msg="") |
| + | |
| template<class T , typename std::enable_if< std::is_same< T, std::string >::value, T >::type * = nullptr> | |
| boost::optional< T > | reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, const std::string &err_msg="") |
| + | |
| template<class T > | |
| std::vector< T > | reconcile (const std::vector< T > &v1, const std::vector< T > &v2, const std::string &err_msg="") |
Collection of generic utilities.
+Collection of generic utilities.
Enumerations | |
| enum | monero_network_type : uint8_t { MAINNET = 0 + |
| enum | monero_network_type : uint8_t { MAINNET = 0 , TESTNET , STAGENET } |
| enum | monero_tx_priority : uint8_t { DEFAULT = 0 + |
| enum | monero_tx_priority : uint8_t { DEFAULT = 0 , UNIMPORTANT , NORMAL , ELEVATED } |
| enum | monero_message_signature_type : uint8_t { SIGN_WITH_SPEND_KEY = 0 + |
| enum | monero_message_signature_type : uint8_t { SIGN_WITH_SPEND_KEY = 0 , SIGN_WITH_VIEW_KEY } |
Functions | |
| + | |
| void | merge_tx (std::vector< std::shared_ptr< monero_tx > > &txs, const std::shared_ptr< monero_tx > &tx) |
| std::shared_ptr< monero_tx_query > | decontextualize (std::shared_ptr< monero_tx_query > query) |
| std::shared_ptr< monero_tx_query > | decontextualize (std::shared_ptr< monero_tx_query > query) |
| + | |
| bool | is_contextual (const monero_transfer_query &query) |
| + | |
| bool | is_contextual (const monero_output_query &query) |
| + | |
| bool | bool_equals (bool val, const boost::optional< bool > &opt_val) |
| + | |
| void | set_num_confirmations (std::shared_ptr< monero_tx_wallet > &tx, uint64_t blockchain_height) |
| + | |
| void | set_num_suggested_confirmations (std::shared_ptr< monero_incoming_transfer > &incoming_transfer, uint64_t blockchain_height, uint64_t block_reward, uint64_t unlock_time) |
| + | |
| std::shared_ptr< monero_tx_wallet > | build_tx_with_incoming_transfer (tools::wallet2 &m_w2, uint64_t height, const crypto::hash &payment_id, const tools::wallet2::payment_details &pd) |
| + | |
| std::shared_ptr< monero_tx_wallet > | build_tx_with_outgoing_transfer (tools::wallet2 &m_w2, uint64_t height, const crypto::hash &txid, const tools::wallet2::confirmed_transfer_details &pd) |
| + | |
| std::shared_ptr< monero_tx_wallet > | build_tx_with_incoming_transfer_unconfirmed (const tools::wallet2 &m_w2, uint64_t height, const crypto::hash &payment_id, const tools::wallet2::pool_payment_details &ppd) |
| + | |
| std::shared_ptr< monero_tx_wallet > | build_tx_with_outgoing_transfer_unconfirmed (const tools::wallet2 &m_w2, const crypto::hash &txid, const tools::wallet2::unconfirmed_transfer_details &pd) |
| + | |
| std::shared_ptr< monero_tx_wallet > | build_tx_with_vout (tools::wallet2 &m_w2, const tools::wallet2::transfer_details &td) |
| void | merge_tx (const std::shared_ptr< monero_tx_wallet > &tx, std::map< std::string, std::shared_ptr< monero_tx_wallet > > &tx_map, std::map< uint64_t, std::shared_ptr< monero_block > > &block_map) |
| void | merge_tx (const std::shared_ptr< monero_tx_wallet > &tx, std::map< std::string, std::shared_ptr< monero_tx_wallet > > &tx_map, std::map< uint64_t, std::shared_ptr< monero_block > > &block_map) |
| bool | tx_height_less_than (const std::shared_ptr< monero_tx > &tx1, const std::shared_ptr< monero_tx > &tx2) |
| bool | tx_height_less_than (const std::shared_ptr< monero_tx > &tx1, const std::shared_ptr< monero_tx > &tx2) |
| bool | incoming_transfer_before (const std::shared_ptr< monero_incoming_transfer > &transfer1, const std::shared_ptr< monero_incoming_transfer > &transfer2) |
| bool | incoming_transfer_before (const std::shared_ptr< monero_incoming_transfer > &transfer1, const std::shared_ptr< monero_incoming_transfer > &transfer2) |
| bool | vout_before (const std::shared_ptr< monero_output > &o1, const std::shared_ptr< monero_output > &o2) |
| bool | vout_before (const std::shared_ptr< monero_output > &o1, const std::shared_ptr< monero_output > &o2) |
| + | |
| std::string | get_default_ringdb_path (cryptonote::network_type nettype) |
| bool | validate_transfer (wallet2 *m_w2, const std::list< wallet_rpc::transfer_destination > &destinations, const std::string &payment_id, std::vector< cryptonote::tx_destination_entry > &dsts, std::vector< uint8_t > &extra, bool at_least_one_destination, epee::json_rpc::error &er) |
| bool | validate_transfer (wallet2 *m_w2, const std::list< wallet_rpc::transfer_destination > &destinations, const std::string &payment_id, std::vector< cryptonote::tx_destination_entry > &dsts, std::vector< uint8_t > &extra, bool at_least_one_destination, epee::json_rpc::error &er) |
| + | |
| template<typename Ts , typename Tu , typename Tk , typename Ta > | |
| bool | fill_response (wallet2 *m_w2, std::vector< tools::wallet2::pending_tx > &ptx_vector, bool get_tx_key, Ts &tx_key, Tu &amount, Ta &amounts_by_dest, Tu &fee, Tu &weight, std::string &multisig_txset, std::string &unsigned_txset, bool do_not_relay, Ts &tx_hash, bool get_tx_hex, Ts &tx_blob, bool get_tx_metadata, Ts &tx_metadata, Tk &spent_key_images, epee::json_rpc::error &er) |
| + | |
| void | merge_incoming_transfer (std::vector< std::shared_ptr< monero_incoming_transfer > > &transfers, const std::shared_ptr< monero_incoming_transfer > &transfer) |
| + | |
| std::shared_ptr< monero_block > | node_to_block_query (const boost::property_tree::ptree &node) |
Copyright (c) woodser
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Parts of this file are originally copyright (c) 2014-2019, The Monero Project
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-All rights reserved.
+Copyright (c) woodser
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Parts of this file are originally copyright (c) 2014-2019, The Monero Project
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+All rights reserved.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library intereface.
-Copyright (c) woodser
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Parts of this file are originally copyright (c) 2014-2019, The Monero Project
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-All rights reserved.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library intereface.
+Copyright (c) woodser
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Parts of this file are originally copyright (c) 2014-2019, The Monero Project
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+All rights reserved.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library interface.
-Copyright (c) woodser
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Parts of this file are originally copyright (c) 2014-2019, The Monero Project
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-All rights reserved.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library interface.
+Copyright (c) woodser
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Parts of this file are originally copyright (c) 2014-2019, The Monero Project
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+All rights reserved.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public interface for libmonero-cpp library.
-Public library interface.
-Implements a monero_wallet.h by wrapping wallet2.h.
-Copyright (c) woodser
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Parts of this file are originally copyright (c) 2014-2019, The Monero Project
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-All rights reserved.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public interface for libmonero-cpp library.
+Public library interface.
+Implements a monero_wallet.h by wrapping wallet2.h.
+Copyright (c) woodser
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Parts of this file are originally copyright (c) 2014-2019, The Monero Project
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+All rights reserved.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Implements a monero_wallet.h by wrapping monero-project's wallet2.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Implements a monero_wallet.h by wrapping monero-project's wallet2.
| enum monero::monero_message_signature_type : uint8_t | +enum monero::monero_message_signature_type : uint8_t |
Enumerates message verification results.
+Enumerates message verification results.
| enum monero::monero_network_type : uint8_t | +enum monero::monero_network_type : uint8_t |
Enumerates Monero network types.
+Enumerates Monero network types.
| enum monero::monero_tx_priority : uint8_t | +enum monero::monero_tx_priority : uint8_t |
Enumerates Monero network types.
+Enumerates Monero network types.
Remove query criteria which require looking up other transfers/outputs to fulfill query.
+Remove query criteria which require looking up other transfers/outputs to fulfill query.
| query | the query to decontextualize | ||||
| bool monero::incoming_transfer_before | ( | -const std::shared_ptr< monero_incoming_transfer > & | -transfer1, | +const std::shared_ptr< monero_incoming_transfer > & | transfer1, |
| - | const std::shared_ptr< monero_incoming_transfer > & | -transfer2 | -|||
| - | ) | -+ | const std::shared_ptr< monero_incoming_transfer > & | transfer2 ) |
Returns true iff transfer1 is ordered before transfer2 by ascending account and subaddress indices.
+Returns true iff transfer1 is ordered before transfer2 by ascending account and subaddress indices.
Merges a transaction into a unique set of transactions.
+Merges a transaction into a unique set of transactions.
Returns true iff tx1's height is known to be less than tx2's height for sorting.
+Returns true iff tx1's height is known to be less than tx2's height for sorting.
-------------— DUPLICATED WALLET RPC TRANSFER CODE ------------------—
-These functions are duplicated from private functions in wallet rpc on_transfer/on_transfer_split, with minor modifications to not be class members.
-This code is used to generate and send transactions with equivalent functionality as wallet rpc.
-Duplicated code is not ideal. Solutions considered:
-(1) Duplicate wallet rpc code as done here. (2) Modify monero-wallet-rpc on_transfer() / on_transfer_split() to be public. (3) Modify monero-wallet-rpc to make this class a friend. (4) Move all logic in monero-wallet-rpc to wallet2 so all users can access.
-Options 2-4 require modification of monero-project C++. Of those, (4) is probably ideal. TODO: open patch on monero-project which moves common wallet rpc logic (e.g. on_transfer, on_transfer_split) to m_w2.
-Until then, option (1) is used because it allows monero-project binaries to be used without modification, it's easy, and anything other than (4) is temporary.
+-------------— DUPLICATED WALLET RPC TRANSFER CODE ------------------—
+These functions are duplicated from private functions in wallet rpc on_transfer/on_transfer_split, with minor modifications to not be class members.
+This code is used to generate and send transactions with equivalent functionality as wallet rpc.
+Duplicated code is not ideal. Solutions considered:
+(1) Duplicate wallet rpc code as done here. (2) Modify monero-wallet-rpc on_transfer() / on_transfer_split() to be public. (3) Modify monero-wallet-rpc to make this class a friend. (4) Move all logic in monero-wallet-rpc to wallet2 so all users can access.
+Options 2-4 require modification of monero-project C++. Of those, (4) is probably ideal. TODO: open patch on monero-project which moves common wallet rpc logic (e.g. on_transfer, on_transfer_split) to m_w2.
+Until then, option (1) is used because it allows monero-project binaries to be used without modification, it's easy, and anything other than (4) is temporary.
Returns true iff wallet vout1 is ordered before vout2 by ascending account and subaddress indices then index.
+Returns true iff wallet vout1 is ordered before vout2 by ascending account and subaddress indices then index.
Functions | |
| + | |
| void | set_log_level (int level) |
| + | |
| void | configure_logging (const std::string &path, bool console) |
| + | |
| monero_integrated_address | get_integrated_address (monero_network_type network_type, const std::string &standard_address, const std::string &payment_id) |
| + | |
| bool | is_valid_address (const std::string &address, monero_network_type network_type) |
| + | |
| bool | is_valid_private_view_key (const std::string &private_view_key) |
| + | |
| bool | is_valid_private_spend_key (const std::string &private_spend_key) |
| + | |
| void | validate_address (const std::string &address, monero_network_type network_type) |
| + | |
| void | validate_private_view_key (const std::string &private_view_key) |
| + | |
| void | validate_private_spend_key (const std::string &private_spend_key) |
| + | |
| void | json_to_binary (const std::string &json, std::string &bin) |
| + | |
| void | binary_to_json (const std::string &bin, std::string &json) |
| + | |
| void | binary_blocks_to_json (const std::string &bin, std::string &json) |
| + | |
| std::string | serialize (const rapidjson::Document &doc) |
| template<class T > | |
| void | add_json_member (std::string key, T val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| template<class T > | |
| void | add_json_member (std::string key, T val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| + | |
| void | add_json_member (std::string key, std::string val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| + | |
| void | add_json_member (std::string key, bool val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root) |
| + | |
| template<class T > | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< std::shared_ptr< T > > &vals) |
| + | |
| template<class T > | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< T > &vals) |
| + | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< std::string > &strs) |
| + | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< uint8_t > &nums) |
| + | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< uint32_t > &nums) |
| + | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< uint64_t > &nums) |
| + | |
| std::string | serialize (const boost::property_tree::ptree &node) |
| + | |
| void | deserialize (const std::string &json, boost::property_tree::ptree &root) |
| bool | is_valid_language (const std::string &language) |
| bool | is_valid_language (const std::string &language) |
| std::shared_ptr< monero_block > | cn_block_to_block (const cryptonote::block &cn_block) |
| std::shared_ptr< monero_block > | cn_block_to_block (const cryptonote::block &cn_block) |
| std::shared_ptr< monero_tx > | cn_tx_to_tx (const cryptonote::transaction &cn_tx, bool init_as_tx_wallet=false) |
| std::shared_ptr< monero_tx > | cn_tx_to_tx (const cryptonote::transaction &cn_tx, bool init_as_tx_wallet=false) |
Collection of utilities for the Monero library.
+Collection of utilities for the Monero library.
Add number, string, and boolean json members using template specialization.
-TODO: add_json_member("key", "val", ...) treated as integer instead of string literal
+Add number, string, and boolean json members using template specialization.
+TODO: add_json_member("key", "val", ...) treated as integer instead of string literal
Convert a cryptonote::block to a block in this library's native model.
+Convert a cryptonote::block to a block in this library's native model.
| cn_block | is the block to convert | ||||
| std::shared_ptr< monero_tx > monero_utils::cn_tx_to_tx | ( | -const cryptonote::transaction & | -cn_tx, | +const cryptonote::transaction & | cn_tx, |
| - | bool | -init_as_tx_wallet = false |
- |||
| - | ) | -+ | bool | init_as_tx_wallet = false ) |
Convert a cryptonote::transaction to a transaction in this library's native model.
+Convert a cryptonote::transaction to a transaction in this library's native model.
Indicates if the given language is valid.
+Indicates if the given language is valid.
| language | is the language to validate |
| Ngen_utils | |
| ▼Nmonero | |
| ▼Nmonero | |
| Ckey_image_list | |
| Cmonero_account | |
| Cmonero_account | |
| Cmonero_address_book_entry | |
| Cmonero_block | |
| Cmonero_block | |
| Cmonero_block_header | |
| Cmonero_check | |
| Cmonero_check | |
| Cmonero_check_reserve | |
| Cmonero_check_tx | |
| Cmonero_check_tx | |
| Cmonero_destination | |
| Cmonero_incoming_transfer | |
| Cmonero_incoming_transfer | |
| Cmonero_integrated_address | |
| Cmonero_key_image | |
| Cmonero_key_image | |
| Cmonero_key_image_import_result | |
| Cmonero_message_signature_result | |
| Cmonero_message_signature_result | |
| Cmonero_multisig_info | |
| Cmonero_multisig_init_result | |
| Cmonero_multisig_init_result | |
| Cmonero_multisig_sign_result | |
| Cmonero_outgoing_transfer | |
| Cmonero_outgoing_transfer | |
| Cmonero_output | |
| Cmonero_output_query | |
| Cmonero_output_query | |
| Cmonero_output_wallet | |
| Cmonero_rpc_connection | |
| Cmonero_rpc_connection | |
| Cmonero_subaddress | |
| Cmonero_sync_result | |
| Cmonero_sync_result | |
| Cmonero_transfer | |
| Cmonero_transfer_query | |
| Cmonero_transfer_query | |
| Cmonero_tx | |
| Cmonero_tx_config | |
| Cmonero_tx_config | |
| Cmonero_tx_query | |
| Cmonero_tx_set | |
| Cmonero_tx_set | |
| Cmonero_tx_wallet | |
| Cmonero_version | |
| Cmonero_version | |
| Cmonero_wallet | |
| Cmonero_wallet_config | |
| Cmonero_wallet_config | |
| Cmonero_wallet_full | |
| Cmonero_wallet_keys | |
| Cmonero_wallet_keys | |
| Cmonero_wallet_listener | |
| Cserializable_struct | |
| Cserializable_struct | |
| Cwallet2_listener | |
| Nmonero_utils | |
| Nmonero_utils |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint32_t > | m_index |
| + | |
| boost::optional< std::string > | m_primary_address |
| + | |
| boost::optional< uint64_t > | m_balance |
| + | |
| boost::optional< uint64_t > | m_unlocked_balance |
| + | |
| boost::optional< std::string > | m_tag |
| + | |
| std::vector< monero_subaddress > | m_subaddresses |
Models a Monero account.
+Models a Monero account.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Public Member Functions | |
| + | |
| monero_address_book_entry (uint64_t index, const std::string &address, const std::string &description) | |
| + | |
| monero_address_book_entry (uint64_t index, const std::string &address, const std::string &description, const std::string &payment_id) | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint64_t > | m_index |
| + | |
| boost::optional< std::string > | m_address |
| + | |
| boost::optional< std::string > | m_description |
| + | |
| boost::optional< std::string > | m_payment_id |
Monero address book entry model.
+Monero address book entry model.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_block > | copy (const std::shared_ptr< monero_block > &src, const std::shared_ptr< monero_block > &tgt) const |
| void | merge (const std::shared_ptr< monero_block_header > &self, const std::shared_ptr< monero_block_header > &other) |
| void | merge (const std::shared_ptr< monero_block_header > &self, const std::shared_ptr< monero_block_header > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_block > &self, const std::shared_ptr< monero_block > &other) |
Public Member Functions inherited from monero::monero_block_header | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::monero_block_header | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_block_header > | copy (const std::shared_ptr< monero_block_header > &src, const std::shared_ptr< monero_block_header > &tgt) const |
| -virtual void | merge (const std::shared_ptr< monero_block_header > &self, const std::shared_ptr< monero_block_header > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_hex |
| + | |
| boost::optional< std::shared_ptr< monero_tx > > | m_miner_tx |
| + | |
| std::vector< std::shared_ptr< monero_tx > > | m_txs |
| + | |
| std::vector< std::string > | m_tx_hashes |
Public Attributes inherited from monero::monero_block_header | |
| + | |
Public Attributes inherited from monero::monero_block_header | |
| boost::optional< std::string > | m_hash |
| + | |
| boost::optional< uint64_t > | m_height |
| + | |
| boost::optional< uint64_t > | m_timestamp |
| + | |
| boost::optional< uint64_t > | m_size |
| + | |
| boost::optional< uint64_t > | m_weight |
| + | |
| boost::optional< uint64_t > | m_long_term_weight |
| + | |
| boost::optional< uint64_t > | m_depth |
| + | |
| boost::optional< uint64_t > | m_difficulty |
| + | |
| boost::optional< uint64_t > | m_cumulative_difficulty |
| + | |
| boost::optional< uint32_t > | m_major_version |
| + | |
| boost::optional< uint32_t > | m_minor_version |
| + | |
| boost::optional< uint32_t > | m_nonce |
| + | |
| boost::optional< std::string > | m_miner_tx_hash |
| + | |
| boost::optional< uint32_t > | m_num_txs |
| + | |
| boost::optional< bool > | m_orphan_status |
| + | |
| boost::optional< std::string > | m_prev_hash |
| + | |
| boost::optional< uint64_t > | m_reward |
| + | |
| boost::optional< std::string > | m_pow_hash |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | Reimplemented from monero::monero_block_header. +Implements monero::serializable_struct. The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_block_header > | copy (const std::shared_ptr< monero_block_header > &src, const std::shared_ptr< monero_block_header > &tgt) const |
| + | |
| virtual void | merge (const std::shared_ptr< monero_block_header > &self, const std::shared_ptr< monero_block_header > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_hash |
| + | |
| boost::optional< uint64_t > | m_height |
| + | |
| boost::optional< uint64_t > | m_timestamp |
| + | |
| boost::optional< uint64_t > | m_size |
| + | |
| boost::optional< uint64_t > | m_weight |
| + | |
| boost::optional< uint64_t > | m_long_term_weight |
| + | |
| boost::optional< uint64_t > | m_depth |
| + | |
| boost::optional< uint64_t > | m_difficulty |
| + | |
| boost::optional< uint64_t > | m_cumulative_difficulty |
| + | |
| boost::optional< uint32_t > | m_major_version |
| + | |
| boost::optional< uint32_t > | m_minor_version |
| + | |
| boost::optional< uint32_t > | m_nonce |
| + | |
| boost::optional< std::string > | m_miner_tx_hash |
| + | |
| boost::optional< uint32_t > | m_num_txs |
| + | |
| boost::optional< bool > | m_orphan_status |
| + | |
| boost::optional< std::string > | m_prev_hash |
| + | |
| boost::optional< uint64_t > | m_reward |
| + | |
| boost::optional< std::string > | m_pow_hash |
Models a Monero block header which contains information about the block.
-TODO: a header that is transmitted may have fewer fields like cryptonote::block_header; separate?
+Models a Monero block header which contains information about the block.
+TODO: a header that is transmitted may have fewer fields like cryptonote::block_header; separate?
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero::serializable_struct.
- Reimplemented in monero::monero_block. -The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| bool | m_is_good |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_is_good |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint64_t > | m_total_amount |
| + | |
| boost::optional< uint64_t > | m_unconfirmed_spent_amount |
Public Attributes inherited from monero::monero_check | |
| + | |
Public Attributes inherited from monero::monero_check | |
| bool | m_is_good |
Results from checking a reserve proof.
+Results from checking a reserve proof.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_is_good |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< bool > | m_in_tx_pool |
| + | |
| boost::optional< uint64_t > | m_num_confirmations |
| + | |
| boost::optional< uint64_t > | m_received_amount |
Public Attributes inherited from monero::monero_check | |
| + | |
Public Attributes inherited from monero::monero_check | |
| bool | m_is_good |
Results from checking a transaction key.
+Results from checking a transaction key.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_is_good |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_incoming_transfer > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| std::shared_ptr< monero_incoming_transfer > | copy (const std::shared_ptr< monero_incoming_transfer > &src, const std::shared_ptr< monero_incoming_transfer > &tgt) const |
| boost::optional< bool > | is_incoming () const |
| boost::optional< bool > | is_incoming () const |
| + | |
| void | merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_incoming_transfer > &self, const std::shared_ptr< monero_incoming_transfer > &other) |
Public Member Functions inherited from monero::monero_transfer | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::monero_transfer | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| -virtual boost::optional< bool > | is_incoming () const =0 |
| + | |
| std::shared_ptr< monero_transfer > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| boost::optional< bool > | is_outgoing () const |
| + | |
| void | merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint32_t > | m_subaddress_index |
| + | |
| boost::optional< std::string > | m_address |
| + | |
| boost::optional< uint64_t > | m_num_suggested_confirmations |
Public Attributes inherited from monero::monero_transfer | |
| + | |
Public Attributes inherited from monero::monero_transfer | |
| std::shared_ptr< monero_tx_wallet > | m_tx |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint32_t > | m_account_index |
Additional Inherited Members | |
Static Public Member Functions inherited from monero::monero_transfer | |
| + | |
Static Public Member Functions inherited from monero::monero_transfer | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer > &transfer) |
Models an incoming transfer of funds to the wallet.
+Models an incoming transfer of funds to the wallet.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | from_property_
Reimplemented from monero::monero_transfer. +Implements monero::serializable_struct. The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| std::string | m_standard_address |
| + | |
| std::string | m_payment_id |
| + | |
| std::string | m_integrated_address |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_integrated_a
The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_key_image > | copy (const std::shared_ptr< monero_key_image > &src, const std::shared_ptr< monero_key_image > &tgt) const |
| + | |
| void | merge (const std::shared_ptr< monero_key_image > &self, const std::shared_ptr< monero_key_image > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_key_image > &key_image) |
| + | |
| static std::vector< std::shared_ptr< monero_key_image > > | deserialize_key_images (const std::string &key_images_json) |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_hex |
| + | |
| boost::optional< std::string > | m_signature |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_daemon_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint64_t > | m_height |
| + | |
| boost::optional< uint64_t > | m_spent_amount |
| + | |
| boost::optional< uint64_t > | m_unspent_amount |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| bool | m_is_good |
| + | |
| uint32_t | m_version |
| + | |
| bool | m_is_old |
| + | |
| monero_message_signature_type | m_signature_type |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_is_old |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| bool | m_is_multisig |
| + | |
| bool | m_is_ready |
| + | |
| uint32_t | m_threshold |
| + | |
| uint32_t | m_num_participants |
Models information about a multisig wallet.
+Models information about a multisig wallet.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_num_participant
The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_address |
| + | |
| boost::optional< std::string > | m_multisig_hex |
Models the result of initializing a multisig wallet which results in the multisig wallet's address xor another multisig hex to share with participants to create the wallet.
+Models the result of initializing a multisig wallet which results in the multisig wallet's address xor another multisig hex to share with participants to create the wallet.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_signed_multisig_tx_hex |
| + | |
| std::vector< std::string > | m_tx_hashes |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_outgoing_transfer > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| std::shared_ptr< monero_outgoing_transfer > | copy (const std::shared_ptr< monero_outgoing_transfer > &src, const std::shared_ptr< monero_outgoing_transfer > &tgt) const |
| boost::optional< bool > | is_incoming () const |
| boost::optional< bool > | is_incoming () const |
| + | |
| void | merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_outgoing_transfer > &self, const std::shared_ptr< monero_outgoing_transfer > &other) |
Public Member Functions inherited from monero::monero_transfer | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::monero_transfer | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| -virtual boost::optional< bool > | is_incoming () const =0 |
| + | |
| std::shared_ptr< monero_transfer > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| boost::optional< bool > | is_outgoing () const |
| + | |
| void | merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| std::vector< uint32_t > | m_subaddress_indices |
| + | |
| std::vector< std::string > | m_addresses |
| + | |
| std::vector< std::shared_ptr< monero_destination > > | m_destinations |
Public Attributes inherited from monero::monero_transfer | |
| + | |
Public Attributes inherited from monero::monero_transfer | |
| std::shared_ptr< monero_tx_wallet > | m_tx |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint32_t > | m_account_index |
Additional Inherited Members | |
Static Public Member Functions inherited from monero::monero_transfer | |
| + | |
Static Public Member Functions inherited from monero::monero_transfer | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer > &transfer) |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | from_property_
Reimplemented from monero::monero_transfer. +Implements monero::serializable_struct. The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_output > | copy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const |
| + | |
| virtual void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output > &output) |
Public Attributes | |
| + | |
| std::shared_ptr< monero_tx > | m_tx |
| + | |
| boost::optional< std::shared_ptr< monero_key_image > > | m_key_image |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint64_t > | m_index |
| + | |
| std::vector< uint64_t > | m_ring_output_indices |
| + | |
| boost::optional< std::string > | m_stealth_public_key |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_daemon_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_output_query > | copy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const |
| + | |
| std::shared_ptr< monero_output_query > | copy (const std::shared_ptr< monero_output_wallet > &src, const std::shared_ptr< monero_output_wallet > &tgt) const |
| + | |
| std::shared_ptr< monero_output_query > | copy (const std::shared_ptr< monero_output_query > &src, const std::shared_ptr< monero_output_query > &tgt) const |
| + | |
| bool | meets_criteria (monero_output_wallet *output, bool query_parent=true) const |
Public Member Functions inherited from monero::monero_output_wallet | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::monero_output_wallet | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_output_wallet > | copy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const |
| + | |
| std::shared_ptr< monero_output_wallet > | copy (const std::shared_ptr< monero_output_wallet > &src, const std::shared_ptr< monero_output_wallet > &tgt) const |
| void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
| void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_output_wallet > &self, const std::shared_ptr< monero_output_wallet > &other) |
Public Member Functions inherited from monero::monero_output | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
Public Member Functions inherited from monero::monero_output | |
| std::shared_ptr< monero_output > | copy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const |
| -virtual void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output_query > &output_query) |
| + | |
| static std::shared_ptr< monero_output_query > | deserialize_from_block (const std::string &output_query_json) |
Static Public Member Functions inherited from monero::monero_output_wallet | |
| + | |
Static Public Member Functions inherited from monero::monero_output_wallet | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output_wallet > &output_wallet) |
Static Public Member Functions inherited from monero::monero_output | |
| + | |
Static Public Member Functions inherited from monero::monero_output | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output > &output) |
Public Attributes | |
| + | |
| std::vector< uint32_t > | m_subaddress_indices |
| + | |
| boost::optional< uint64_t > | m_min_amount |
| + | |
| boost::optional< uint64_t > | m_max_amount |
| + | |
| boost::optional< std::shared_ptr< monero_tx_query > > | m_tx_query |
Public Attributes inherited from monero::monero_output_wallet | |
| + | |
Public Attributes inherited from monero::monero_output_wallet | |
| boost::optional< uint32_t > | m_account_index |
| + | |
| boost::optional< uint32_t > | m_subaddress_index |
| + | |
| boost::optional< bool > | m_is_spent |
| + | |
| boost::optional< bool > | m_is_frozen |
Public Attributes inherited from monero::monero_output | |
| + | |
Public Attributes inherited from monero::monero_output | |
| std::shared_ptr< monero_tx > | m_tx |
| + | |
| boost::optional< std::shared_ptr< monero_key_image > > | m_key_image |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint64_t > | m_index |
| + | |
| std::vector< uint64_t > | m_ring_output_indices |
| + | |
| boost::optional< std::string > | m_stealth_public_key |
Configures a query to retrieve wallet outputs (i.e. outputs that the wallet has or had the ability to spend).
-All outputs are returned except those that do not meet the criteria defined in this query.
+Configures a query to retrieve wallet outputs (i.e. outputs that the wallet has or had the ability to spend).
+All outputs are returned except those that do not meet the criteria defined in this query.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | Reimplemented from monero::monero_output_wallet. +Reimplemented from monero::monero_output. The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_output_wallet > | copy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const |
| + | |
| std::shared_ptr< monero_output_wallet > | copy (const std::shared_ptr< monero_output_wallet > &src, const std::shared_ptr< monero_output_wallet > &tgt) const |
| void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
| void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_output_wallet > &self, const std::shared_ptr< monero_output_wallet > &other) |
Public Member Functions inherited from monero::monero_output | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
Public Member Functions inherited from monero::monero_output | |
| std::shared_ptr< monero_output > | copy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const |
| -virtual void | merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output_wallet > &output_wallet) |
Static Public Member Functions inherited from monero::monero_output | |
| + | |
Static Public Member Functions inherited from monero::monero_output | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output > &output) |
Public Attributes | |
| + | |
| boost::optional< uint32_t > | m_account_index |
| + | |
| boost::optional< uint32_t > | m_subaddress_index |
| + | |
| boost::optional< bool > | m_is_spent |
| + | |
| boost::optional< bool > | m_is_frozen |
Public Attributes inherited from monero::monero_output | |
| + | |
Public Attributes inherited from monero::monero_output | |
| std::shared_ptr< monero_tx > | m_tx |
| + | |
| boost::optional< std::shared_ptr< monero_key_image > > | m_key_image |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint64_t > | m_index |
| + | |
| std::vector< uint64_t > | m_ring_output_indices |
| + | |
| boost::optional< std::string > | m_stealth_public_key |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero::monero_output.
- Reimplemented in monero::monero_output_query. -The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| + | |
| monero_rpc_connection (const std::string &uri="", const std::string &username="", const std::string &password="") | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static monero_rpc_connection | from_property_tree (const boost::property_tree::ptree &node) |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_uri |
| + | |
| boost::optional< std::string > | m_username |
| + | |
| boost::optional< std::string > | m_password |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_daemon_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint32_t > | m_account_index |
| + | |
| boost::optional< uint32_t > | m_index |
| + | |
| boost::optional< std::string > | m_address |
| + | |
| boost::optional< std::string > | m_label |
| + | |
| boost::optional< uint64_t > | m_balance |
| + | |
| boost::optional< uint64_t > | m_unlocked_balance |
| + | |
| boost::optional< uint64_t > | m_num_unspent_outputs |
| + | |
| boost::optional< bool > | m_is_used |
| + | |
| boost::optional< uint64_t > | m_num_blocks_to_unlock |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| + | |
| monero_sync_result (const uint64_t num_blocks_fetched, const bool received_money) | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| uint64_t | m_num_blocks_fetched |
| + | |
| bool | m_received_money |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | m_received_money<
The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| virtual boost::optional< bool > | is_incoming () const =0 |
| + | |
| std::shared_ptr< monero_transfer > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| boost::optional< bool > | is_outgoing () const |
| + | |
| void | merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer > &transfer) |
Public Attributes | |
| + | |
| std::shared_ptr< monero_tx_wallet > | m_tx |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint32_t > | m_account_index |
Models a base transfer of funds to or from the wallet.
-TODO: m_is_incoming for api consistency
+Models a base transfer of funds to or from the wallet.
+TODO: m_is_incoming for api consistency
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero::serializable_struct.
- Reimplemented in monero::monero_incoming_transfer, monero::monero_outgoing_transfer, and monero::monero_transfer_query. +Reimplemented in monero::monero_transfer_query. The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_transfer_query > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| std::shared_ptr< monero_transfer_query > | copy (const std::shared_ptr< monero_transfer_query > &src, const std::shared_ptr< monero_transfer_query > &tgt) const |
| boost::optional< bool > | is_incoming () const |
| boost::optional< bool > | is_incoming () const |
| + | |
| bool | meets_criteria (monero_transfer *transfer, bool query_parent=true) const |
Public Member Functions inherited from monero::monero_transfer | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| -virtual boost::optional< bool > | is_incoming () const =0 |
| + | |
Public Member Functions inherited from monero::monero_transfer | |
| std::shared_ptr< monero_transfer > | copy (const std::shared_ptr< monero_transfer > &src, const std::shared_ptr< monero_transfer > &tgt) const |
| + | |
| boost::optional< bool > | is_outgoing () const |
| + | |
| void | merge (const std::shared_ptr< monero_transfer > &self, const std::shared_ptr< monero_transfer > &other) |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer_query > &transfer_query) |
| + | |
| static std::shared_ptr< monero_transfer_query > | deserialize_from_block (const std::string &transfer_query_json) |
Static Public Member Functions inherited from monero::monero_transfer | |
| + | |
Static Public Member Functions inherited from monero::monero_transfer | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_transfer > &transfer) |
Public Attributes | |
| + | |
| boost::optional< bool > | m_is_incoming |
| + | |
| boost::optional< std::string > | m_address |
| + | |
| std::vector< std::string > | m_addresses |
| + | |
| boost::optional< uint32_t > | m_subaddress_index |
| + | |
| std::vector< uint32_t > | m_subaddress_indices |
| + | |
| std::vector< std::shared_ptr< monero_destination > > | m_destinations |
| + | |
| boost::optional< bool > | m_has_destinations |
| + | |
| boost::optional< std::shared_ptr< monero_tx_query > > | m_tx_query |
Public Attributes inherited from monero::monero_transfer | |
| + | |
Public Attributes inherited from monero::monero_transfer | |
| std::shared_ptr< monero_tx_wallet > | m_tx |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| boost::optional< uint32_t > | m_account_index |
Configures a query to retrieve transfers.
-All transfers are returned except those that do not meet the criteria defined in this query.
+Configures a query to retrieve transfers.
+All transfers are returned except those that do not meet the criteria defined in this query.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_tx > | copy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const |
| + | |
| virtual void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| + | |
| boost::optional< uint64_t > | get_height () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, std::shared_ptr< monero_tx > tx) |
Public Attributes | |
| + | |
| boost::optional< std::shared_ptr< monero_block > > | m_block |
| + | |
| boost::optional< std::string > | m_hash |
| + | |
| boost::optional< uint32_t > | m_version |
| + | |
| boost::optional< bool > | m_is_miner_tx |
| + | |
| boost::optional< std::string > | m_payment_id |
| + | |
| boost::optional< uint64_t > | m_fee |
| + | |
| boost::optional< uint32_t > | m_ring_size |
| + | |
| boost::optional< bool > | m_relay |
| + | |
| boost::optional< bool > | m_is_relayed |
| + | |
| boost::optional< bool > | m_is_confirmed |
| + | |
| boost::optional< bool > | m_in_tx_pool |
| + | |
| boost::optional< uint64_t > | m_num_confirmations |
| + | |
| boost::optional< uint64_t > | m_unlock_time |
| + | |
| boost::optional< uint64_t > | m_last_relayed_timestamp |
| + | |
| boost::optional< uint64_t > | m_received_timestamp |
| + | |
| boost::optional< bool > | m_is_double_spend_seen |
| + | |
| boost::optional< std::string > | m_key |
| + | |
| boost::optional< std::string > | m_full_hex |
| + | |
| boost::optional< std::string > | m_pruned_hex |
| + | |
| boost::optional< std::string > | m_prunable_hex |
| + | |
| boost::optional< std::string > | m_prunable_hash |
| + | |
| boost::optional< uint64_t > | m_size |
| + | |
| boost::optional< uint64_t > | m_weight |
| + | |
| std::vector< std::shared_ptr< monero_output > > | m_inputs |
| + | |
| std::vector< std::shared_ptr< monero_output > > | m_outputs |
| + | |
| std::vector< uint64_t > | m_output_indices |
| + | |
| boost::optional< std::string > | m_metadata |
| + | |
| boost::optional< std::string > | m_common_tx_sets |
| + | |
| std::vector< uint8_t > | m_extra |
| + | |
| boost::optional< std::string > | m_rct_signatures |
| + | |
| boost::optional< std::string > | m_rct_sig_prunable |
| + | |
| boost::optional< bool > | m_is_kept_by_block |
| + | |
| boost::optional< bool > | m_is_failed |
| + | |
| boost::optional< uint64_t > | m_last_failed_height |
| + | |
| boost::optional< std::string > | m_last_failed_hash |
| + | |
| boost::optional< uint64_t > | m_max_used_block_height |
| + | |
| boost::optional< std::string > | m_max_used_block_hash |
| + | |
| std::vector< std::string > | m_signatures |
Static Public Attributes | |
| + | |
| static const std::string | DEFAULT_PAYMENT_ID = std::string("0000000000000000") |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | D
The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| + | |
| monero_tx_config (const monero_tx_config &config) | |
| + | |
| monero_tx_config | copy () const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::vector< std::shared_ptr< monero_destination > > | get_normalized_destinations () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static std::shared_ptr< monero_tx_config > | deserialize (const std::string &config_json) |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_address |
| + | |
| boost::optional< uint64_t > | m_amount |
| + | |
| std::vector< std::shared_ptr< monero_destination > > | m_destinations |
| + | |
| std::vector< uint32_t > | m_subtract_fee_from |
| + | |
| boost::optional< std::string > | m_payment_id |
| + | |
| boost::optional< monero_tx_priority > | m_priority |
| + | |
| boost::optional< uint32_t > | m_ring_size |
| + | |
| boost::optional< uint64_t > | m_fee |
| + | |
| boost::optional< uint32_t > | m_account_index |
| + | |
| std::vector< uint32_t > | m_subaddress_indices |
| + | |
| boost::optional< uint64_t > | m_unlock_time |
| + | |
| boost::optional< bool > | m_can_split |
| + | |
| boost::optional< bool > | m_relay |
| + | |
| boost::optional< std::string > | m_note |
| + | |
| boost::optional< std::string > | m_recipient_name |
| + | |
| boost::optional< uint64_t > | m_below_amount |
| + | |
| boost::optional< bool > | m_sweep_each_subaddress |
| + | |
| boost::optional< std::string > | m_key_image |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_tx_query > | copy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const |
| + | |
| std::shared_ptr< monero_tx_query > | copy (const std::shared_ptr< monero_tx_wallet > &src, const std::shared_ptr< monero_tx_wallet > &tgt) const |
| + | |
| std::shared_ptr< monero_tx_query > | copy (const std::shared_ptr< monero_tx_query > &src, const std::shared_ptr< monero_tx_query > &tgt) const |
| + | |
| bool | meets_criteria (monero_tx_wallet *tx, bool query_children=true) const |
Public Member Functions inherited from monero::monero_tx_wallet | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::monero_tx_wallet | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_tx_wallet > | copy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const |
| + | |
| std::shared_ptr< monero_tx_wallet > | copy (const std::shared_ptr< monero_tx_wallet > &src, const std::shared_ptr< monero_tx_wallet > &tgt) const |
| void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_tx_wallet > &self, const std::shared_ptr< monero_tx_wallet > &other) |
| + | |
| std::vector< std::shared_ptr< monero_transfer > > | get_transfers () const |
| + | |
| std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| + | |
| std::vector< std::shared_ptr< monero_transfer > > | filter_transfers (const monero_transfer_query &query) |
| + | |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs_wallet () const |
| + | |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs_wallet (const monero_output_query &query) const |
| + | |
| std::vector< std::shared_ptr< monero_output_wallet > > | filter_outputs_wallet (const monero_output_query &query) |
Public Member Functions inherited from monero::monero_tx | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
Public Member Functions inherited from monero::monero_tx | |
| std::shared_ptr< monero_tx > | copy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const |
| -virtual void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| + | |
| boost::optional< uint64_t > | get_height () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_tx_query > &tx_query) |
| + | |
| static std::shared_ptr< monero_tx_query > | deserialize_from_block (const std::string &tx_query_json) |
Static Public Member Functions inherited from monero::monero_tx_wallet | |
| + | |
Static Public Member Functions inherited from monero::monero_tx_wallet | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_tx_wallet > &tx_wallet) |
Static Public Member Functions inherited from monero::monero_tx | |
| + | |
Static Public Member Functions inherited from monero::monero_tx | |
| static void | from_property_tree (const boost::property_tree::ptree &node, std::shared_ptr< monero_tx > tx) |
Public Attributes | |
| + | |
| boost::optional< bool > | m_is_outgoing |
| + | |
| boost::optional< bool > | m_is_incoming |
| + | |
| std::vector< std::string > | m_hashes |
| + | |
| boost::optional< bool > | m_has_payment_id |
| + | |
| std::vector< std::string > | m_payment_ids |
| + | |
| boost::optional< uint64_t > | m_height |
| + | |
| boost::optional< uint64_t > | m_min_height |
| + | |
| boost::optional< uint64_t > | m_max_height |
| + | |
| boost::optional< uint64_t > | m_include_outputs |
| + | |
| boost::optional< std::shared_ptr< monero_transfer_query > > | m_transfer_query |
| + | |
| boost::optional< std::shared_ptr< monero_output_query > > | m_input_query |
| + | |
| boost::optional< std::shared_ptr< monero_output_query > > | m_output_query |
Public Attributes inherited from monero::monero_tx_wallet | |
| + | |
Public Attributes inherited from monero::monero_tx_wallet | |
| boost::optional< std::shared_ptr< monero_tx_set > > | m_tx_set |
| + | |
| boost::optional< bool > | m_is_incoming |
| + | |
| boost::optional< bool > | m_is_outgoing |
| + | |
| std::vector< std::shared_ptr< monero_incoming_transfer > > | m_incoming_transfers |
| + | |
| boost::optional< std::shared_ptr< monero_outgoing_transfer > > | m_outgoing_transfer |
| + | |
| boost::optional< std::string > | m_note |
| + | |
| boost::optional< bool > | m_is_locked |
| + | |
| boost::optional< uint64_t > | m_input_sum |
| + | |
| boost::optional< uint64_t > | m_output_sum |
| + | |
| boost::optional< std::string > | m_change_address |
| + | |
| boost::optional< uint64_t > | m_change_amount |
| + | |
| boost::optional< uint32_t > | m_num_dummy_outputs |
| + | |
| boost::optional< std::string > | m_extra_hex |
Public Attributes inherited from monero::monero_tx | |
| + | |
Public Attributes inherited from monero::monero_tx | |
| boost::optional< std::shared_ptr< monero_block > > | m_block |
| + | |
| boost::optional< std::string > | m_hash |
| + | |
| boost::optional< uint32_t > | m_version |
| + | |
| boost::optional< bool > | m_is_miner_tx |
| + | |
| boost::optional< std::string > | m_payment_id |
| + | |
| boost::optional< uint64_t > | m_fee |
| + | |
| boost::optional< uint32_t > | m_ring_size |
| + | |
| boost::optional< bool > | m_relay |
| + | |
| boost::optional< bool > | m_is_relayed |
| + | |
| boost::optional< bool > | m_is_confirmed |
| + | |
| boost::optional< bool > | m_in_tx_pool |
| + | |
| boost::optional< uint64_t > | m_num_confirmations |
| + | |
| boost::optional< uint64_t > | m_unlock_time |
| + | |
| boost::optional< uint64_t > | m_last_relayed_timestamp |
| + | |
| boost::optional< uint64_t > | m_received_timestamp |
| + | |
| boost::optional< bool > | m_is_double_spend_seen |
| + | |
| boost::optional< std::string > | m_key |
| + | |
| boost::optional< std::string > | m_full_hex |
| + | |
| boost::optional< std::string > | m_pruned_hex |
| + | |
| boost::optional< std::string > | m_prunable_hex |
| + | |
| boost::optional< std::string > | m_prunable_hash |
| + | |
| boost::optional< uint64_t > | m_size |
| + | |
| boost::optional< uint64_t > | m_weight |
| + | |
| std::vector< std::shared_ptr< monero_output > > | m_inputs |
| + | |
| std::vector< std::shared_ptr< monero_output > > | m_outputs |
| + | |
| std::vector< uint64_t > | m_output_indices |
| + | |
| boost::optional< std::string > | m_metadata |
| + | |
| boost::optional< std::string > | m_common_tx_sets |
| + | |
| std::vector< uint8_t > | m_extra |
| + | |
| boost::optional< std::string > | m_rct_signatures |
| + | |
| boost::optional< std::string > | m_rct_sig_prunable |
| + | |
| boost::optional< bool > | m_is_kept_by_block |
| + | |
| boost::optional< bool > | m_is_failed |
| + | |
| boost::optional< uint64_t > | m_last_failed_height |
| + | |
| boost::optional< std::string > | m_last_failed_hash |
| + | |
| boost::optional< uint64_t > | m_max_used_block_height |
| + | |
| boost::optional< std::string > | m_max_used_block_hash |
| + | |
| std::vector< std::string > | m_signatures |
Additional Inherited Members | |
Static Public Attributes inherited from monero::monero_tx | |
| + | |
Static Public Attributes inherited from monero::monero_tx | |
| static const std::string | DEFAULT_PAYMENT_ID = std::string("0000000000000000") |
Configures a query to retrieve transactions.
-All transactions are returned except those that do not meet the criteria defined in this query.
+Configures a query to retrieve transactions.
+All transactions are returned except those that do not meet the criteria defined in this query.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | D
Reimplemented from monero::monero_tx_wallet. +Reimplemented from monero::monero_tx. The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static monero_tx_set | deserialize (const std::string &tx_set_json) |
Public Attributes | |
| + | |
| std::vector< std::shared_ptr< monero_tx_wallet > > | m_txs |
| + | |
| boost::optional< std::string > | m_signed_tx_hex |
| + | |
| boost::optional< std::string > | m_unsigned_tx_hex |
| + | |
| boost::optional< std::string > | m_multisig_tx_hex |
Groups transactions who share common hex data which is needed in order to sign and submit the transactions.
-For example, multisig transactions created from create_txs() share a common hex string which is needed in order to sign and submit the multisig transactions.
+Groups transactions who share common hex data which is needed in order to sign and submit the transactions.
+For example, multisig transactions created from create_txs() share a common hex string which is needed in order to sign and submit the multisig transactions.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | monero_wallet_model.h
- -Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
| std::shared_ptr< monero_tx_wallet > | copy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const |
| + | |
| std::shared_ptr< monero_tx_wallet > | copy (const std::shared_ptr< monero_tx_wallet > &src, const std::shared_ptr< monero_tx_wallet > &tgt) const |
| void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| + | |
| void | merge (const std::shared_ptr< monero_tx_wallet > &self, const std::shared_ptr< monero_tx_wallet > &other) |
| + | |
| std::vector< std::shared_ptr< monero_transfer > > | get_transfers () const |
| + | |
| std::vector< std::shared_ptr< monero_transfer > > | get_transfers (const monero_transfer_query &query) const |
| + | |
| std::vector< std::shared_ptr< monero_transfer > > | filter_transfers (const monero_transfer_query &query) |
| + | |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs_wallet () const |
| + | |
| std::vector< std::shared_ptr< monero_output_wallet > > | get_outputs_wallet (const monero_output_query &query) const |
| + | |
| std::vector< std::shared_ptr< monero_output_wallet > > | filter_outputs_wallet (const monero_output_query &query) |
Public Member Functions inherited from monero::monero_tx | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| + | |
Public Member Functions inherited from monero::monero_tx | |
| std::shared_ptr< monero_tx > | copy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const |
| -virtual void | merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other) |
| + | |
| boost::optional< uint64_t > | get_height () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static void | from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_tx_wallet > &tx_wallet) |
Static Public Member Functions inherited from monero::monero_tx | |
| + | |
Static Public Member Functions inherited from monero::monero_tx | |
| static void | from_property_tree (const boost::property_tree::ptree &node, std::shared_ptr< monero_tx > tx) |
Public Attributes | |
| + | |
| boost::optional< std::shared_ptr< monero_tx_set > > | m_tx_set |
| + | |
| boost::optional< bool > | m_is_incoming |
| + | |
| boost::optional< bool > | m_is_outgoing |
| + | |
| std::vector< std::shared_ptr< monero_incoming_transfer > > | m_incoming_transfers |
| + | |
| boost::optional< std::shared_ptr< monero_outgoing_transfer > > | m_outgoing_transfer |
| + | |
| boost::optional< std::string > | m_note |
| + | |
| boost::optional< bool > | m_is_locked |
| + | |
| boost::optional< uint64_t > | m_input_sum |
| + | |
| boost::optional< uint64_t > | m_output_sum |
| + | |
| boost::optional< std::string > | m_change_address |
| + | |
| boost::optional< uint64_t > | m_change_amount |
| + | |
| boost::optional< uint32_t > | m_num_dummy_outputs |
| + | |
| boost::optional< std::string > | m_extra_hex |
Public Attributes inherited from monero::monero_tx | |
| + | |
Public Attributes inherited from monero::monero_tx | |
| boost::optional< std::shared_ptr< monero_block > > | m_block |
| + | |
| boost::optional< std::string > | m_hash |
| + | |
| boost::optional< uint32_t > | m_version |
| + | |
| boost::optional< bool > | m_is_miner_tx |
| + | |
| boost::optional< std::string > | m_payment_id |
| + | |
| boost::optional< uint64_t > | m_fee |
| + | |
| boost::optional< uint32_t > | m_ring_size |
| + | |
| boost::optional< bool > | m_relay |
| + | |
| boost::optional< bool > | m_is_relayed |
| + | |
| boost::optional< bool > | m_is_confirmed |
| + | |
| boost::optional< bool > | m_in_tx_pool |
| + | |
| boost::optional< uint64_t > | m_num_confirmations |
| + | |
| boost::optional< uint64_t > | m_unlock_time |
| + | |
| boost::optional< uint64_t > | m_last_relayed_timestamp |
| + | |
| boost::optional< uint64_t > | m_received_timestamp |
| + | |
| boost::optional< bool > | m_is_double_spend_seen |
| + | |
| boost::optional< std::string > | m_key |
| + | |
| boost::optional< std::string > | m_full_hex |
| + | |
| boost::optional< std::string > | m_pruned_hex |
| + | |
| boost::optional< std::string > | m_prunable_hex |
| + | |
| boost::optional< std::string > | m_prunable_hash |
| + | |
| boost::optional< uint64_t > | m_size |
| + | |
| boost::optional< uint64_t > | m_weight |
| + | |
| std::vector< std::shared_ptr< monero_output > > | m_inputs |
| + | |
| std::vector< std::shared_ptr< monero_output > > | m_outputs |
| + | |
| std::vector< uint64_t > | m_output_indices |
| + | |
| boost::optional< std::string > | m_metadata |
| + | |
| boost::optional< std::string > | m_common_tx_sets |
| + | |
| std::vector< uint8_t > | m_extra |
| + | |
| boost::optional< std::string > | m_rct_signatures |
| + | |
| boost::optional< std::string > | m_rct_sig_prunable |
| + | |
| boost::optional< bool > | m_is_kept_by_block |
| + | |
| boost::optional< bool > | m_is_failed |
| + | |
| boost::optional< uint64_t > | m_last_failed_height |
| + | |
| boost::optional< std::string > | m_last_failed_hash |
| + | |
| boost::optional< uint64_t > | m_max_used_block_height |
| + | |
| boost::optional< std::string > | m_max_used_block_hash |
| + | |
| std::vector< std::string > | m_signatures |
Additional Inherited Members | |
Static Public Attributes inherited from monero::monero_tx | |
| + | |
Static Public Attributes inherited from monero::monero_tx | |
| static const std::string | DEFAULT_PAYMENT_ID = std::string("0000000000000000") |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator | D
Reimplemented from monero::monero_tx. -Reimplemented in monero::monero_tx_query. -The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Public Attributes | |
| + | |
| boost::optional< uint32_t > | m_number |
| + | |
| boost::optional< bool > | m_is_release |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| + | |
| monero_wallet_config (const monero_wallet_config &config) | |
| + | |
| monero_wallet_config | copy () const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Static Public Member Functions | |
| + | |
| static std::shared_ptr< monero_wallet_config > | deserialize (const std::string &config_json) |
Public Attributes | |
| + | |
| boost::optional< std::string > | m_path |
| + | |
| boost::optional< std::string > | m_password |
| + | |
| boost::optional< monero_network_type > | m_network_type |
| + | |
| boost::optional< monero_rpc_connection > | m_server |
| + | |
| boost::optional< std::string > | m_seed |
| + | |
| boost::optional< std::string > | m_seed_offset |
| + | |
| boost::optional< std::string > | m_primary_address |
| + | |
| boost::optional< std::string > | m_private_view_key |
| + | |
| boost::optional< std::string > | m_private_spend_key |
| + | |
| boost::optional< uint64_t > | m_restore_height |
| + | |
| boost::optional< std::string > | m_language |
| + | |
| boost::optional< bool > | m_save_current |
| + | |
| boost::optional< uint64_t > | m_account_lookahead |
| + | |
| boost::optional< uint64_t > | m_subaddress_lookahead |
| + | |
| boost::optional< bool > | m_is_multisig |
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
The documentation for this struct was generated from the following files:
-Generated by |
Public Member Functions | |
| std::string | serialize () const |
| std::string | serialize () const |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
Serializes the struct to a json std::string.
+Serializes the struct to a json std::string.
Converts the struct to a rapidjson Value.
+Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Public Member Functions | |
| wallet2_listener (monero_wallet_full &wallet, tools::wallet2 &wallet2) | |
| wallet2_listener (monero_wallet_full &wallet, tools::wallet2 &wallet2) | |
| + | |
| void | update_listening () |
| + | |
| void | on_sync_start (uint64_t start_height) |
| + | |
| void | on_sync_end () |
| + | |
| void | on_new_block (uint64_t height, const cryptonote::block &cn_block) override |
| + | |
| void | on_unconfirmed_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index) override |
| + | |
| void | on_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx, uint64_t amount, uint64_t burnt, const cryptonote::subaddress_index &subaddr_index, bool is_change, uint64_t unlock_time) override |
| + | |
| void | on_money_spent (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx_in, uint64_t amount, const cryptonote::transaction &cn_tx_out, const cryptonote::subaddress_index &subaddr_index) override |
| + | |
| void | on_spend_tx_hashes (const std::vector< std::string > &tx_hashes) |
| + | |
| void | on_spend_txs (const std::vector< std::shared_ptr< monero_tx_wallet > > &txs) |
Listens to wallet2 notifications in order to notify external wallet listeners.
+Listens to wallet2 notifications in order to notify external wallet listeners.
Constructs the listener.
+Constructs the listener.
| wallet | provides context to notify external listeners | on_spend_txs (con
The documentation for this struct was generated from the following file:
-Generated by |