diff --git a/docs/annotated.html b/docs/annotated.html new file mode 100644 index 0000000..58e7ce2 --- /dev/null +++ b/docs/annotated.html @@ -0,0 +1,111 @@ + + + + + + + +monero-cpp-library: Class List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 ▼Nmonero
 Cmonero_account
 Cmonero_block
 Cmonero_block_header
 Cmonero_check
 Cmonero_check_reserve
 Cmonero_check_tx
 Cmonero_destination
 Cmonero_incoming_transfer
 Cmonero_integrated_address
 Cmonero_key_image
 Cmonero_key_image_import_result
 Cmonero_outgoing_transfer
 Cmonero_output
 Cmonero_output_query
 Cmonero_output_wallet
 Cmonero_rpc_connection
 Cmonero_send_request
 Cmonero_subaddress
 Cmonero_sync_listener
 Cmonero_sync_result
 Cmonero_transfer
 Cmonero_transfer_query
 Cmonero_tx
 Cmonero_tx_query
 Cmonero_tx_wallet
 Cmonero_wallet
 Cmonero_wallet_listener
 Cserializable_struct
 Csync_listener_wrapper
 Cwallet2_listener
+
+
+ + + + diff --git a/docs/bc_s.png b/docs/bc_s.png new file mode 100644 index 0000000..224b29a Binary files /dev/null and b/docs/bc_s.png differ diff --git a/docs/bdwn.png b/docs/bdwn.png new file mode 100644 index 0000000..940a0b9 Binary files /dev/null and b/docs/bdwn.png differ diff --git a/docs/classes.html b/docs/classes.html new file mode 100644 index 0000000..686508a --- /dev/null +++ b/docs/classes.html @@ -0,0 +1,92 @@ + + + + + + + +monero-cpp-library: Class Index + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+
+
m | s | w
+ + + + + + + + + + +
  m  
+
monero_destination (monero)   monero_output_wallet (monero)   monero_tx (monero)   sync_listener_wrapper (monero)   
monero_incoming_transfer (monero)   monero_rpc_connection (monero)   monero_tx_query (monero)   
  w  
+
monero_account (monero)   monero_integrated_address (monero)   monero_send_request (monero)   monero_tx_wallet (monero)   
monero_block (monero)   monero_key_image (monero)   monero_subaddress (monero)   monero_wallet (monero)   wallet2_listener (monero)   
monero_block_header (monero)   monero_key_image_import_result (monero)   monero_sync_listener (monero)   monero_wallet_listener (monero)   
monero_check (monero)   monero_outgoing_transfer (monero)   monero_sync_result (monero)   
  s  
+
monero_check_reserve (monero)   monero_output (monero)   monero_transfer (monero)   
monero_check_tx (monero)   monero_output_query (monero)   monero_transfer_query (monero)   serializable_struct (monero)   
+
m | s | w
+
+ + + + diff --git a/docs/classmonero_1_1monero__sync__listener-members.html b/docs/classmonero_1_1monero__sync__listener-members.html new file mode 100644 index 0000000..3da9a23 --- /dev/null +++ b/docs/classmonero_1_1monero__sync__listener-members.html @@ -0,0 +1,84 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_sync_listener Member List
+
+
+ +

This is the complete list of members for monero::monero_sync_listener, including all inherited members.

+ + +
on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)monero::monero_sync_listenerinlinevirtual
+ + + + diff --git a/docs/classmonero_1_1monero__sync__listener.html b/docs/classmonero_1_1monero__sync__listener.html new file mode 100644 index 0000000..9e29ad7 --- /dev/null +++ b/docs/classmonero_1_1monero__sync__listener.html @@ -0,0 +1,175 @@ + + + + + + + +monero-cpp-library: monero::monero_sync_listener Class Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Member Functions | +List of all members
+
+
monero::monero_sync_listener Class Reference
+
+
+ +

#include <monero_wallet.h>

+
+Inheritance diagram for monero::monero_sync_listener:
+
+
+ + +monero::monero_wallet_listener +monero::sync_listener_wrapper + +
+ + + + +

+Public Member Functions

virtual void on_sync_progress (uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)
 
+

Detailed Description

+

Receives progress notifications as a wallet is synchronized.

+

TODO: make these interfaces and provide default implementation

+

Member Function Documentation

+ +

◆ on_sync_progress()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void monero::monero_sync_listener::on_sync_progress (uint64_t height,
uint64_t start_height,
uint64_t end_height,
double percent_done,
const string & message 
)
+
+inlinevirtual
+
+

Invoked when sync progress is made.

+
Parameters
+ + + + + + +
heightis the height of the synced block
start_heightis the starting height of the sync request
end_heightis the ending height of the sync request
percent_doneis the sync progress as a percentage
messageis a human-readable description of the current progress
+
+
+ +

Reimplemented in monero::sync_listener_wrapper.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/classmonero_1_1monero__sync__listener.png b/docs/classmonero_1_1monero__sync__listener.png new file mode 100644 index 0000000..09a94f9 Binary files /dev/null and b/docs/classmonero_1_1monero__sync__listener.png differ diff --git a/docs/classmonero_1_1monero__wallet-members.html b/docs/classmonero_1_1monero__wallet-members.html new file mode 100644 index 0000000..b2638cb --- /dev/null +++ b/docs/classmonero_1_1monero__wallet-members.html @@ -0,0 +1,194 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_wallet Member List
+
+
+ +

This is the complete list of members for monero::monero_wallet, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
add_listener(monero_wallet_listener &listener)monero::monero_wallet
check_reserve_proof(const string &address, const string &message, const string &signature) constmonero::monero_wallet
check_spend_proof(const string &tx_id, const string &message, const string &signature) constmonero::monero_wallet
check_tx_key(const string &tx_id, const string &txKey, const string &address) constmonero::monero_wallet
check_tx_proof(const string &tx_id, const string &address, const string &message, const string &signature) constmonero::monero_wallet
close()monero::monero_wallet
create_account(const string &label="")monero::monero_wallet
create_payment_uri(const monero_send_request &request) constmonero::monero_wallet
create_subaddress(uint32_t account_idx, const string &label="")monero::monero_wallet
create_tx(monero_send_request &request)monero::monero_wallet
create_tx(uint32_t account_index, string address, uint64_t amount)monero::monero_wallet
create_tx(int account_index, string address, uint64_t amount, monero_send_priority priority)monero::monero_wallet
create_txs(monero_send_request &request)monero::monero_wallet
create_wallet_from_keys(const string &path, const string &password, const monero_network_type network_type, const string &address, const string &view_key, const string &spend_key)monero::monero_walletstatic
create_wallet_from_keys(const string &path, const string &password, const monero_network_type network_type, const string &address, const string &view_key, const string &spend_key, const monero_rpc_connection &daemon_connection, uint64_t restore_height) (defined in monero::monero_wallet)monero::monero_walletstatic
create_wallet_from_keys(const string &path, const string &password, const monero_network_type network_type, const string &address, const string &view_key, const string &spend_key, const monero_rpc_connection &daemon_connection, uint64_t restore_height, const string &language) (defined in monero::monero_wallet)monero::monero_walletstatic
create_wallet_from_mnemonic(const string &path, const string &password, const monero_network_type network_type, const string &mnemonic)monero::monero_walletstatic
create_wallet_from_mnemonic(const string &path, const string &password, const monero_network_type network_type, const string &mnemonic, const monero_rpc_connection &daemon_connection, uint64_t restore_height) (defined in monero::monero_wallet)monero::monero_walletstatic
create_wallet_random(const string &path, const string &password)monero::monero_walletstatic
create_wallet_random(const string &path, const string &password, const monero_network_type network_type, const monero_rpc_connection &daemon_connection, const string &language) (defined in monero::monero_wallet)monero::monero_walletstatic
decode_integrated_address(const string &integrated_address) constmonero::monero_wallet
get_account(uint32_t account_idx) constmonero::monero_wallet
get_account(const uint32_t account_idx, bool include_subaddresses) constmonero::monero_wallet
get_accounts() constmonero::monero_wallet
get_accounts(bool include_subaddresses) constmonero::monero_wallet
get_accounts(const string &tag) constmonero::monero_wallet
get_accounts(bool include_subaddresses, const string &tag) constmonero::monero_wallet
get_address(const uint32_t account_idx, const uint32_t subaddress_idx) constmonero::monero_wallet
get_address_index(const string &address) constmonero::monero_wallet
get_attribute(const string &key) constmonero::monero_wallet
get_balance() constmonero::monero_wallet
get_balance(uint32_t account_idx) constmonero::monero_wallet
get_balance(uint32_t account_idx, uint32_t subaddress_idx) constmonero::monero_wallet
get_daemon_connection() constmonero::monero_wallet
get_daemon_height() constmonero::monero_wallet
get_daemon_max_peer_height() constmonero::monero_wallet
get_height() constmonero::monero_wallet
get_integrated_address(const string &standard_address="", const string &payment_id="") constmonero::monero_wallet
get_key_images() constmonero::monero_wallet
get_language() constmonero::monero_wallet
get_languages() constmonero::monero_wallet
get_listeners()monero::monero_wallet
get_mnemonic() constmonero::monero_wallet
get_network_type() constmonero::monero_wallet
get_outputs(const monero_output_query &request) constmonero::monero_wallet
get_outputs_hex() constmonero::monero_wallet
get_path() constmonero::monero_wallet
get_primary_address() constmonero::monero_wallet
get_private_spend_key() constmonero::monero_wallet
get_private_view_key() constmonero::monero_wallet
get_public_spend_key() constmonero::monero_wallet
get_public_view_key() constmonero::monero_wallet
get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const string &message) constmonero::monero_wallet
get_reserve_proof_wallet(const string &message) constmonero::monero_wallet
get_restore_height() constmonero::monero_wallet
get_seed() constmonero::monero_wallet
get_spend_proof(const string &tx_id, const string &message) constmonero::monero_wallet
get_subaddresses(const uint32_t account_idx) constmonero::monero_wallet
get_subaddresses(const uint32_t account_idx, const vector< uint32_t > &subaddress_indices) constmonero::monero_wallet
get_transfers(const monero_transfer_query &request) constmonero::monero_wallet
get_tx_key(const string &tx_id) constmonero::monero_wallet
get_tx_note(const string &tx_id) constmonero::monero_wallet
get_tx_notes(const vector< string > &tx_ids) constmonero::monero_wallet
get_tx_proof(const string &tx_id, const string &address, const string &message) constmonero::monero_wallet
get_txs() constmonero::monero_wallet
get_txs(const monero_tx_query &request) constmonero::monero_wallet
get_unlocked_balance() constmonero::monero_wallet
get_unlocked_balance(uint32_t account_idx) constmonero::monero_wallet
get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) constmonero::monero_wallet
getSubaddress(const uint32_t account_idx, const uint32_t subaddress_idx) constmonero::monero_wallet
import_key_images(const vector< shared_ptr< monero_key_image >> &key_images)monero::monero_wallet
import_outputs_hex(const string &outputs_hex)monero::monero_wallet
is_connected() constmonero::monero_wallet
is_daemon_synced() constmonero::monero_wallet
is_synced() constmonero::monero_wallet
move_to(string path, string password)monero::monero_wallet
open_wallet(const string &path, const string &password, const monero_network_type network_type)monero::monero_walletstatic
parse_payment_uri(const string &uri) constmonero::monero_wallet
relay_tx(const string &tx_metadata)monero::monero_wallet
relay_tx(const monero_tx_wallet &tx)monero::monero_wallet
relay_txs(const vector< string > &tx_metadatas)monero::monero_wallet
relay_txs(const vector< shared_ptr< monero_tx_wallet >> &txs)monero::monero_wallet
remove_listener(monero_wallet_listener &listener)monero::monero_wallet
rescan_blockchain()monero::monero_wallet
save()monero::monero_wallet
send(monero_send_request &request)monero::monero_wallet
send(uint32_t account_index, string address, uint64_t amount)monero::monero_wallet
send(uint32_t account_index, string address, uint64_t amount, monero_send_priority priority)monero::monero_wallet
send_split(const monero_send_request &request)monero::monero_wallet
set_attribute(const string &key, const string &val)monero::monero_wallet
set_daemon_connection(const string &uri, const string &username="", const string &password="")monero::monero_wallet
set_daemon_connection(const monero_rpc_connection &connection)monero::monero_wallet
set_restore_height(uint64_t restore_height)monero::monero_wallet
set_tx_note(const string &tx_id, const string &note)monero::monero_wallet
set_tx_notes(const vector< string > &tx_ids, const vector< string > &notes)monero::monero_wallet
sign(const string &msg) constmonero::monero_wallet
start_mining(boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery)monero::monero_wallet
start_syncing()monero::monero_wallet
stop_mining()monero::monero_wallet
stop_syncing()monero::monero_wallet
sweep_dust(bool do_not_relay=false)monero::monero_wallet
sweep_output(const monero_send_request &request) constmonero::monero_wallet
sync()monero::monero_wallet
sync(monero_sync_listener &listener)monero::monero_wallet
sync(uint64_t start_height)monero::monero_wallet
sync(uint64_t start_height, monero_sync_listener &listener)monero::monero_wallet
verify(const string &msg, const string &address, const string &signature) constmonero::monero_wallet
wait_for_next_block()monero::monero_wallet
wallet2_listener (defined in monero::monero_wallet)monero::monero_walletfriend
wallet_exists(const string &path)monero::monero_walletstatic
~monero_wallet()monero::monero_wallet
+ + + + diff --git a/docs/classmonero_1_1monero__wallet.html b/docs/classmonero_1_1monero__wallet.html new file mode 100644 index 0000000..4cc85f9 --- /dev/null +++ b/docs/classmonero_1_1monero__wallet.html @@ -0,0 +1,3580 @@ + + + + + + + +monero-cpp-library: monero::monero_wallet Class Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Member Functions | +Static Public Member Functions | +Friends | +List of all members
+
+
monero::monero_wallet Class Reference
+
+
+ +

#include <monero_wallet.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 ~monero_wallet ()
 
uint64_t get_height () const
 
uint64_t get_restore_height () const
 
void set_restore_height (uint64_t restore_height)
 
uint64_t get_daemon_height () const
 
uint64_t get_daemon_max_peer_height () const
 
void set_daemon_connection (const string &uri, const string &username="", const string &password="")
 
void set_daemon_connection (const monero_rpc_connection &connection)
 
shared_ptr< monero_rpc_connection > get_daemon_connection () const
 
bool is_connected () const
 
bool is_daemon_synced () const
 
bool is_synced () const
 
string get_path () const
 
monero_network_type get_network_type () const
 
string get_seed () const
 
string get_mnemonic () const
 
string get_language () const
 
vector< string > get_languages () const
 
string get_public_view_key () const
 
string get_private_view_key () const
 
string get_public_spend_key () const
 
string get_private_spend_key () const
 
string get_primary_address () const
 
string get_address (const uint32_t account_idx, const uint32_t subaddress_idx) const
 
monero_subaddress get_address_index (const string &address) const
 
monero_integrated_address get_integrated_address (const string &standard_address="", const string &payment_id="") const
 
monero_integrated_address decode_integrated_address (const string &integrated_address) const
 
void add_listener (monero_wallet_listener &listener)
 
void remove_listener (monero_wallet_listener &listener)
 
set< monero_wallet_listener * > get_listeners ()
 
monero_sync_result sync ()
 
monero_sync_result sync (monero_sync_listener &listener)
 
monero_sync_result sync (uint64_t start_height)
 
monero_sync_result sync (uint64_t start_height, monero_sync_listener &listener)
 
void start_syncing ()
 
void stop_syncing ()
 
void rescan_blockchain ()
 
uint64_t get_balance () const
 
uint64_t get_balance (uint32_t account_idx) const
 
uint64_t get_balance (uint32_t account_idx, uint32_t subaddress_idx) const
 
uint64_t get_unlocked_balance () const
 
uint64_t get_unlocked_balance (uint32_t account_idx) const
 
uint64_t get_unlocked_balance (uint32_t account_idx, uint32_t subaddress_idx) const
 
vector< monero_account > get_accounts () const
 
vector< monero_account > get_accounts (bool include_subaddresses) const
 
vector< monero_account > get_accounts (const string &tag) const
 
vector< monero_account > get_accounts (bool include_subaddresses, const string &tag) const
 
monero_account get_account (uint32_t account_idx) const
 
monero_account get_account (const uint32_t account_idx, bool include_subaddresses) const
 
monero_account create_account (const string &label="")
 
vector< monero_subaddress > get_subaddresses (const uint32_t account_idx) const
 
vector< monero_subaddress > get_subaddresses (const uint32_t account_idx, const vector< uint32_t > &subaddress_indices) const
 
monero_subaddress getSubaddress (const uint32_t account_idx, const uint32_t subaddress_idx) const
 
monero_subaddress create_subaddress (uint32_t account_idx, const string &label="")
 
vector< shared_ptr< monero_tx_wallet > > get_txs () const
 
vector< shared_ptr< monero_tx_wallet > > get_txs (const monero_tx_query &request) const
 
vector< shared_ptr< monero_transfer > > get_transfers (const monero_transfer_query &request) const
 
vector< shared_ptr< monero_output_wallet > > get_outputs (const monero_output_query &request) const
 
string get_outputs_hex () const
 
int import_outputs_hex (const string &outputs_hex)
 
vector< shared_ptr< monero_key_image > > get_key_images () const
 
shared_ptr< monero_key_image_import_result > import_key_images (const vector< shared_ptr< monero_key_image >> &key_images)
 
shared_ptr< monero_tx_wallet > create_tx (monero_send_request &request)
 
shared_ptr< monero_tx_wallet > create_tx (uint32_t account_index, string address, uint64_t amount)
 
shared_ptr< monero_tx_wallet > create_tx (int account_index, string address, uint64_t amount, monero_send_priority priority)
 
vector< shared_ptr< monero_tx_wallet > > create_txs (monero_send_request &request)
 
string relay_tx (const string &tx_metadata)
 
string relay_tx (const monero_tx_wallet &tx)
 
vector< string > relay_txs (const vector< string > &tx_metadatas)
 
vector< string > relay_txs (const vector< shared_ptr< monero_tx_wallet >> &txs)
 
shared_ptr< monero_tx_wallet > send (monero_send_request &request)
 
shared_ptr< monero_tx_wallet > send (uint32_t account_index, string address, uint64_t amount)
 
shared_ptr< monero_tx_wallet > send (uint32_t account_index, string address, uint64_t amount, monero_send_priority priority)
 
vector< shared_ptr< monero_tx_wallet > > send_split (const monero_send_request &request)
 
shared_ptr< monero_tx_wallet > sweep_output (const monero_send_request &request) const
 
vector< shared_ptr< monero_tx_wallet > > sweep_dust (bool do_not_relay=false)
 
string get_tx_note (const string &tx_id) const
 
vector< string > get_tx_notes (const vector< string > &tx_ids) const
 
void set_tx_note (const string &tx_id, const string &note)
 
void set_tx_notes (const vector< string > &tx_ids, const vector< string > &notes)
 
string sign (const string &msg) const
 
bool verify (const string &msg, const string &address, const string &signature) const
 
string get_tx_key (const string &tx_id) const
 
shared_ptr< monero_check_tx > check_tx_key (const string &tx_id, const string &txKey, const string &address) const
 
string get_tx_proof (const string &tx_id, const string &address, const string &message) const
 
shared_ptr< monero_check_tx > check_tx_proof (const string &tx_id, const string &address, const string &message, const string &signature) const
 
string get_spend_proof (const string &tx_id, const string &message) const
 
bool check_spend_proof (const string &tx_id, const string &message, const string &signature) const
 
string get_reserve_proof_wallet (const string &message) const
 
string get_reserve_proof_account (uint32_t account_idx, uint64_t amount, const string &message) const
 
shared_ptr< monero_check_reserve > check_reserve_proof (const string &address, const string &message, const string &signature) const
 
string create_payment_uri (const monero_send_request &request) const
 
shared_ptr< monero_send_request > parse_payment_uri (const string &uri) const
 
void set_attribute (const string &key, const string &val)
 
string get_attribute (const string &key) const
 
void start_mining (boost::optional< uint64_t > num_threads, boost::optional< bool > background_mining, boost::optional< bool > ignore_battery)
 
void stop_mining ()
 
uint64_t wait_for_next_block ()
 
void save ()
 
void move_to (string path, string password)
 
void close ()
 
+ + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static bool wallet_exists (const string &path)
 
static monero_wallet * open_wallet (const string &path, const string &password, const monero_network_type network_type)
 
static monero_wallet * create_wallet_random (const string &path, const string &password)
 
+static monero_wallet * create_wallet_random (const string &path, const string &password, const monero_network_type network_type, const monero_rpc_connection &daemon_connection, const string &language)
 
static monero_wallet * create_wallet_from_mnemonic (const string &path, const string &password, const monero_network_type network_type, const string &mnemonic)
 
+static monero_wallet * create_wallet_from_mnemonic (const string &path, const string &password, const monero_network_type network_type, const string &mnemonic, const monero_rpc_connection &daemon_connection, uint64_t restore_height)
 
static monero_wallet * create_wallet_from_keys (const string &path, const string &password, const monero_network_type network_type, const string &address, const string &view_key, const string &spend_key)
 
+static monero_wallet * create_wallet_from_keys (const string &path, const string &password, const monero_network_type network_type, const string &address, const string &view_key, const string &spend_key, const monero_rpc_connection &daemon_connection, uint64_t restore_height)
 
+static monero_wallet * create_wallet_from_keys (const string &path, const string &password, const monero_network_type network_type, const string &address, const string &view_key, const string &spend_key, const monero_rpc_connection &daemon_connection, uint64_t restore_height, const string &language)
 
+ + + +

+Friends

+struct wallet2_listener
 
+

Detailed Description

+

Monero wallet interface.

+

Constructor & Destructor Documentation

+ +

◆ ~monero_wallet()

+ +
+
+ + + + + + + +
monero::monero_wallet::~monero_wallet ()
+
+

Deconstruct the wallet.

+ +
+
+

Member Function Documentation

+ +

◆ add_listener()

+ +
+
+ + + + + + + + +
void monero::monero_wallet::add_listener (monero_wallet_listener & listener)
+
+

Register a listener receive wallet notifications.

+
Parameters
+ + +
listeneris the listener to receive wallet notifications
+
+
+ +
+
+ +

◆ check_reserve_proof()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_check_reserve > monero::monero_wallet::check_reserve_proof (const string & address,
const string & message,
const string & signature 
) const
+
+

Proves a wallet has a disposable reserve using a signature.

+
Parameters
+ + + + +
addressis the public wallet address
messageis a message included with the signature to further authenticate the proof (optional)
signatureis the reserve proof signature to check
+
+
+
Returns
the result of checking the signature proof
+ +
+
+ +

◆ check_spend_proof()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool monero::monero_wallet::check_spend_proof (const string & tx_id,
const string & message,
const string & signature 
) const
+
+

Prove a spend using a signature. Unlike proving a transaction, it does not require the destination public address.

+
Parameters
+ + + + +
tx_idspecifies the transaction to prove
messageis a message included with the signature to further authenticate the proof (optional)
signatureis the transaction signature to confirm
+
+
+
Returns
true if the signature is good, false otherwise
+ +
+
+ +

◆ check_tx_key()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_check_tx > monero::monero_wallet::check_tx_key (const string & tx_id,
const string & txKey,
const string & address 
) const
+
+

Check a transaction in the blockchain with its secret key.

+
Parameters
+ + + + +
tx_idspecifies the transaction to check
txKeyis the transaction's secret key
addressis the destination public address of the transaction
+
+
+
Returns
the result of the check
+ +
+
+ +

◆ check_tx_proof()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_check_tx > monero::monero_wallet::check_tx_proof (const string & tx_id,
const string & address,
const string & message,
const string & signature 
) const
+
+

Prove a transaction by checking its signature.

+
Parameters
+ + + + + +
tx_idspecifies the transaction to prove
addressis the destination public address of the transaction
messageis a message included with the signature to further authenticate the proof (optional)
signatureis the transaction signature to confirm
+
+
+
Returns
the result of the check
+ +
+
+ +

◆ close()

+ +
+
+ + + + + + + +
void monero::monero_wallet::close ()
+
+

Close the wallet.

+ +
+
+ +

◆ create_account()

+ +
+
+ + + + + + + + +
monero_account monero::monero_wallet::create_account (const string & label = "")
+
+

Create a new account with a label for the first subaddress.

+
Parameters
+ + +
labelspecifies the label for the account's first subaddress (optional)
+
+
+
Returns
the created account
+ +
+
+ +

◆ create_payment_uri()

+ +
+
+ + + + + + + + +
string monero::monero_wallet::create_payment_uri (const monero_send_request & request) const
+
+

Get all address book entries.

+
Returns
the address book entriesGet address book entries.
+
Parameters
+ + +
entryIndicesare indices of the entries to get
+
+
+
Returns
the address book entriesAdd an address book entry.
+
Parameters
+ + + +
addressis the entry address
descriptionis the entry description (optional)
+
+
+
Returns
the index of the added entryAdd an address book entry.
+
Parameters
+ + + + +
addressis the entry address
descriptionis the entry description (optional)
payment_idis the entry paymet id (optional)
+
+
+
Returns
the index of the added entryDelete an address book entry.
+
Parameters
+ + + + + +
entryIdxis the index of the entry to deleteTag accounts.
tagis the tag to apply to the specified accounts
accountIndicesare the indices of the accounts to tagUntag acconts.
accountIndicesare the indices of the accounts to untagReturn all account tags.
+
+
+
Returns
the wallet's account tagsSets a human-readable description for a tag.
+
Parameters
+ + + + +
tagis the tag to set a description for
labelis the label to set for the tagCreates a payment URI from a send configuration.
requestspecifies configuration for a potential tx
+
+
+
Returns
is the payment uri
+ +
+
+ +

◆ create_subaddress()

+ +
+
+ + + + + + + + + + + + + + + + + + +
monero_subaddress monero::monero_wallet::create_subaddress (uint32_t account_idx,
const string & label = "" 
)
+
+

Create a subaddress within an account.

+
Parameters
+ + + +
account_idxspecifies the index of the account to create the subaddress within
labelspecifies the the label for the subaddress (defaults to empty string)
+
+
+
Returns
the created subaddress
+ +
+
+ +

◆ create_tx() [1/3]

+ +
+
+ + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::create_tx (monero_send_request & request)
+
+

Get new key images from the last imported outputs.

+
Returns
the key images from the last imported outputsCreate a transaction to transfer funds from this wallet according to the given request. The transaction may be relayed later.
+
Parameters
+ + +
requestconfigures the transaction to create
+
+
+
Returns
the created transaction
+ +
+
+ +

◆ create_tx() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::create_tx (uint32_t account_index,
string address,
uint64_t amount 
)
+
+

Create a transaction to transfers funds from this wallet to a destination address. The transaction may be relayed later.

+
Parameters
+ + + + +
accountIndexis the index of the account to withdraw funds from
addressis the destination address to send funds to
amountis the amount being sent
+
+
+
Returns
the resulting transaction
+ +
+
+ +

◆ create_tx() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::create_tx (int account_index,
string address,
uint64_t amount,
monero_send_priority priority 
)
+
+

Create a transaction to transfers funds from this wallet to a destination address. The transaction may be relayed later.

+
Parameters
+ + + + + +
accountIndexis the index of the account to withdraw funds from
addressis the destination address to send funds to
amountis the amount being sent
priorityis the send priority (default normal)
+
+
+
Returns
the resulting transaction
+ +
+
+ +

◆ create_txs()

+ +
+
+ + + + + + + + +
vector< shared_ptr< monero_tx_wallet > > monero::monero_wallet::create_txs (monero_send_request & request)
+
+

Create one or more transactions to transfer funds from this wallet according to the given request. The transactions may later be relayed.

+
Parameters
+ + +
requestconfigures the transactions to create
+
+
+
Returns
the created transactions
+ +
+
+ +

◆ create_wallet_from_keys()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
monero_wallet * monero::monero_wallet::create_wallet_from_keys (const string & path,
const string & password,
const monero_network_type network_type,
const string & address,
const string & view_key,
const string & spend_key 
)
+
+static
+
+

Create a wallet from an address, view key, and spend key.

+
Parameters
+ + + + + + + + + + +
pathis the path to create the wallet
passwordis the password encrypt the wallet
network_typeis the wallet's network type
addressis the address of the wallet to construct
view_keyis the view key of the wallet to construct
spend_keyis the spend key of the wallet to construct
daemon_connectionis connection information to a daemon (default = an unconnected wallet)
restore_heightis the block height to restore (i.e. scan the chain) from (default = 0)
languageis the wallet and mnemonic's language (default = "English")
+
+
+ +
+
+ +

◆ create_wallet_from_mnemonic()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
monero_wallet * monero::monero_wallet::create_wallet_from_mnemonic (const string & path,
const string & password,
const monero_network_type network_type,
const string & mnemonic 
)
+
+static
+
+

Create a wallet from an existing mnemonic phrase.

+
Parameters
+ + + + + + + +
pathis the path to create the wallet
passwordis the password encrypt the wallet
network_typeis the wallet's network type
mnemonicis the mnemonic of the wallet to construct
daemon_connectionis connection information to a daemon (default = an unconnected wallet)
restore_heightis the block height to restore (i.e. scan the chain) from (default = 0)
+
+
+ +
+
+ +

◆ create_wallet_random()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
monero_wallet * monero::monero_wallet::create_wallet_random (const string & path,
const string & password 
)
+
+static
+
+

Create a new wallet with a randomly generated seed.

+
Parameters
+ + + + + + +
pathis the path to create the wallet
passwordis the password encrypt the wallet
network_typeis the wallet's network type (default = monero_network_type.MAINNET)
daemon_connectionis connection information to a daemon (default = an unconnected wallet)
languageis the wallet and mnemonic's language (default = "English")
+
+
+ +
+
+ +

◆ decode_integrated_address()

+ +
+
+ + + + + + + + +
monero_integrated_address monero::monero_wallet::decode_integrated_address (const string & integrated_address) const
+
+

Decode an integrated address to get its standard address and payment id.

+
Parameters
+ + +
integrated_addressis an integrated address to decode
+
+
+
Returns
the decoded integrated address including standard address and payment id
+ +
+
+ +

◆ get_account() [1/2]

+ +
+
+ + + + + + + + +
monero_account monero::monero_wallet::get_account (uint32_t account_idx) const
+
+

Get an account without subaddress information.

+
Parameters
+ + +
account_idxspecifies the account to get
+
+
+
Returns
the retrieved account
+ +
+
+ +

◆ get_account() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
monero_account monero::monero_wallet::get_account (const uint32_t account_idx,
bool include_subaddresses 
) const
+
+

Get an account.

+
Parameters
+ + + +
account_idxspecifies the account to get
include_subaddressesspecifies if subaddresses should be included
+
+
+
Returns
the retrieved account
+ +
+
+ +

◆ get_accounts() [1/4]

+ +
+
+ + + + + + + +
vector< monero_account > monero::monero_wallet::get_accounts () const
+
+

Get all accounts.

+
Returns
List<monero_account> are all accounts within the wallet
+ +
+
+ +

◆ get_accounts() [2/4]

+ +
+
+ + + + + + + + +
vector< monero_account > monero::monero_wallet::get_accounts (bool include_subaddresses) const
+
+

Get all accounts.

+
Parameters
+ + +
include_subaddressesspecifies if subaddresses should be included
+
+
+
Returns
List<monero_account> are all accounts
+ +
+
+ +

◆ get_accounts() [3/4]

+ +
+
+ + + + + + + + +
vector< monero_account > monero::monero_wallet::get_accounts (const string & tag) const
+
+

Get accounts with a given tag.

+
Parameters
+ + +
tagis the tag for filtering accounts, all accounts if null
+
+
+
Returns
List<monero_account> are all accounts for the wallet with the given tag
+ +
+
+ +

◆ get_accounts() [4/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
vector< monero_account > monero::monero_wallet::get_accounts (bool include_subaddresses,
const string & tag 
) const
+
+

Get accounts with a given tag.

+
Parameters
+ + + +
include_subaddressesspecifies if subaddresses should be included
tagis the tag for filtering accounts, all accounts if null
+
+
+
Returns
List<monero_account> are all accounts for the wallet with the given tag
+ +
+
+ +

◆ get_address()

+ +
+
+ + + + + + + + + + + + + + + + + + +
string monero::monero_wallet::get_address (const uint32_t account_idx,
const uint32_t subaddress_idx 
) const
+
+

Get the address of a specific subaddress.

+
Parameters
+ + + +
account_idxspecifies the account index of the address's subaddress
subaddress_idxspecifies the subaddress index within the account
+
+
+
Returns
the receive address of the specified subaddress
+ +
+
+ +

◆ get_address_index()

+ +
+
+ + + + + + + + +
monero_subaddress monero::monero_wallet::get_address_index (const string & address) const
+
+

Get the account and subaddress index of the given address.

+
Parameters
+ + +
addressis the address to get the account and subaddress index from
+
+
+
Returns
the account and subaddress indices
+
Exceptions
+ + +
exceptionif address is not a wallet address
+
+
+ +
+
+ +

◆ get_attribute()

+ +
+
+ + + + + + + + +
string monero::monero_wallet::get_attribute (const string & key) const
+
+

Get an attribute.

+
Parameters
+ + +
keyis the attribute to get the value of
+
+
+
Returns
the attribute's value
+ +
+
+ +

◆ get_balance() [1/3]

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::get_balance () const
+
+

Indicates if importing multisig data is needed for returning a correct balance.

+
Returns
true if importing multisig data is needed for returning a correct balance, false otherwiseGet the wallet's balance.
+
+the wallet's balance
+ +
+
+ +

◆ get_balance() [2/3]

+ +
+
+ + + + + + + + +
uint64_t monero::monero_wallet::get_balance (uint32_t account_idx) const
+
+

Get an account's balance.

+
Parameters
+ + +
account_idxis the index of the account to get the balance of
+
+
+
Returns
the account's balance
+ +
+
+ +

◆ get_balance() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t monero::monero_wallet::get_balance (uint32_t account_idx,
uint32_t subaddress_idx 
) const
+
+

Get a subaddress's balance.

+
Parameters
+ + + +
account_idxis the index of the subaddress's account to get the balance of
subaddress_idxis the index of the subaddress to get the balance of
+
+
+
Returns
the subaddress's balance
+ +
+
+ +

◆ get_daemon_connection()

+ +
+
+ + + + + + + +
shared_ptr< monero_rpc_connection > monero::monero_wallet::get_daemon_connection () const
+
+

Get the wallet's daemon connection.

+
Returns
the wallet's daemon connection
+ +
+
+ +

◆ get_daemon_height()

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::get_daemon_height () const
+
+

Get the height that the wallet's daemon is synced to.

+
Returns
the height that the wallet's daemon is synced to
+ +
+
+ +

◆ get_daemon_max_peer_height()

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::get_daemon_max_peer_height () const
+
+

Get the maximum height of the peers the wallet's daemon is connected to.

+
Returns
the maximum height of the peers the wallet's daemon is connected to
+ +
+
+ +

◆ get_height()

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::get_height () const
+
+

Get the height of the last block processed by the wallet (its index + 1).

+
Returns
the height of the last block processed by the wallet
+ +
+
+ +

◆ get_integrated_address()

+ +
+
+ + + + + + + + + + + + + + + + + + +
monero_integrated_address monero::monero_wallet::get_integrated_address (const string & standard_address = "",
const string & payment_id = "" 
) const
+
+

Get an integrated address from a standard address and a payment id.

+
Parameters
+ + + +
standard_addressis the integrated addresse's standard address (defaults to wallet's primary address)
payment_idis the integrated addresse's payment id (defaults to randomly generating new payment id)
+
+
+
Returns
the integrated address
+ +
+
+ +

◆ get_key_images()

+ +
+
+ + + + + + + +
vector< shared_ptr< monero_key_image > > monero::monero_wallet::get_key_images () const
+
+

Get all signed key images.

+
Returns
the wallet's signed key images
+ +
+
+ +

◆ get_language()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_language () const
+
+

Get the language of the wallet's mnemonic phrase.

+
Returns
the language of the wallet's mnemonic phrase
+ +
+
+ +

◆ get_languages()

+ +
+
+ + + + + + + +
vector< string > monero::monero_wallet::get_languages () const
+
+

Get a list of available languages for the wallet's mnemonic phrase.

+
Returns
the available languages for the wallet's mnemonic phrase
+ +
+
+ +

◆ get_listeners()

+ +
+
+ + + + + + + +
set< monero_wallet_listener * > monero::monero_wallet::get_listeners ()
+
+

Get the listeners registered with the wallet.

+ +
+
+ +

◆ get_mnemonic()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_mnemonic () const
+
+

Get the wallet's mnemonic phrase derived from the seed.

+
Parameters
+ + +
mnemonicis assigned the wallet's mnemonic phrase
+
+
+ +
+
+ +

◆ get_network_type()

+ +
+
+ + + + + + + +
monero_network_type monero::monero_wallet::get_network_type () const
+
+

Get the wallet's network type (mainnet, testnet, or stagenet).

+
Returns
the wallet's network type
+ +
+
+ +

◆ get_outputs()

+ +
+
+ + + + + + + + +
vector< shared_ptr< monero_output_wallet > > monero::monero_wallet::get_outputs (const monero_output_query & request) const
+
+

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.

+
Returns
List<monero_output_wallet> are all wallet outputsGet 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 request in order to be returned. All filtering is optional and no filtering is applied when not defined.

+
Parameters
+ + +
requestspecifies request options (optional)
+
+
+
Returns
List<monero_output_wallet> are wallet outputs per the request
+ +
+
+ +

◆ get_outputs_hex()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_outputs_hex () const
+
+

Export all outputs in hex format.

+
Returns
all outputs in hex format, empty string if no outputs
+ +
+
+ +

◆ get_path()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_path () const
+
+

Get the path of this wallet's file on disk.

+
Returns
the path of this wallet's file on disk
+ +
+
+ +

◆ get_primary_address()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_primary_address () const
+
+

Get the wallet's primary address.

+
Returns
the wallet's primary address
+ +
+
+ +

◆ get_private_spend_key()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_private_spend_key () const
+
+

Get the wallet's private spend key.

+
Returns
the wallet's private spend key
+ +
+
+ +

◆ get_private_view_key()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_private_view_key () const
+
+

Get the wallet's private view key.

+
Returns
the wallet's private view key
+ +
+
+ +

◆ get_public_spend_key()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_public_spend_key () const
+
+

Get the wallet's public spend key.

+
Returns
the wallet's public spend key
+ +
+
+ +

◆ get_public_view_key()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_public_view_key () const
+
+

Get the wallet's public view key.

+
Returns
the wallet's public view key
+ +
+
+ +

◆ get_reserve_proof_account()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
string monero::monero_wallet::get_reserve_proof_account (uint32_t account_idx,
uint64_t amount,
const string & message 
) const
+
+

Generate a signature to prove an available amount in an account.

+
Parameters
+ + + + +
account_idxspecifies the account to prove ownership of the amount
amountis the minimum amount to prove as available in the account
messageis a message to include with the signature to further authenticate the proof (optional)
+
+
+
Returns
the reserve proof signature
+ +
+
+ +

◆ get_reserve_proof_wallet()

+ +
+
+ + + + + + + + +
string monero::monero_wallet::get_reserve_proof_wallet (const string & message) const
+
+

Generate a signature to prove the entire balance of the wallet.

+
Parameters
+ + +
messageis a message included with the signature to further authenticate the proof (optional)
+
+
+
Returns
the reserve proof signature
+ +
+
+ +

◆ get_restore_height()

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::get_restore_height () const
+
+

Get the height of the first block that the wallet scans.

+
Returns
the height of the first block that the wallet scans
+ +
+
+ +

◆ get_seed()

+ +
+
+ + + + + + + +
string monero::monero_wallet::get_seed () const
+
+

Get the wallet's seed.

+
Returns
the wallet's seed
+ +
+
+ +

◆ get_spend_proof()

+ +
+
+ + + + + + + + + + + + + + + + + + +
string monero::monero_wallet::get_spend_proof (const string & tx_id,
const string & message 
) const
+
+

Generate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.

+
Parameters
+ + +
tx_idspecifies the transaction to prove
+
+
+
Returns
the transaction signatureGenerate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.
+
Parameters
+ + + +
tx_idspecifies the transaction to prove
messageis a message to include with the signature to further authenticate the proof (optional)
+
+
+
Returns
the transaction signature
+ +
+
+ +

◆ get_subaddresses() [1/2]

+ +
+
+ + + + + + + + +
vector< monero_subaddress > monero::monero_wallet::get_subaddresses (const uint32_t account_idx) const
+
+

Get all subaddresses in an account.

+
Parameters
+ + +
account_idxspecifies the account to get subaddresses within
+
+
+
Returns
List<monero_subaddress> are the retrieved subaddresses
+ +
+
+ +

◆ get_subaddresses() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
vector< monero_subaddress > monero::monero_wallet::get_subaddresses (const uint32_t account_idx,
const vector< uint32_t > & subaddress_indices 
) const
+
+

Get subaddresses in an account.

+
Parameters
+ + + +
account_idxspecifies the account to get subaddresses within
subaddress_indicesare specific subaddresses to get (optional)
+
+
+
Returns
the retrieved subaddresses
+ +
+
+ +

◆ get_transfers()

+ +
+
+ + + + + + + + +
vector< shared_ptr< monero_transfer > > monero::monero_wallet::get_transfers (const monero_transfer_query & request) const
+
+

Get all 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.

+
Returns
all wallet transfersGet incoming and outgoing transfers to and from an account. 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.
+
Parameters
+ + +
account_idxis the index of the account to get transfers from
+
+
+
Returns
transfers to/from the accountGet incoming and outgoing transfers to and from a subaddress. 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.
+
Parameters
+ + + +
account_idxis the index of the account to get transfers from
subaddress_idxis the index of the subaddress to get transfers from
+
+
+
Returns
transfers to/from the subaddressGet 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 request in order to be returned. All filtering is optional and no filtering is applied when not defined.

+
Parameters
+ + +
requestfilters query results (optional)
+
+
+
Returns
wallet transfers per the request
+ +
+
+ +

◆ get_tx_key()

+ +
+
+ + + + + + + + +
string monero::monero_wallet::get_tx_key (const string & tx_id) const
+
+

Get a transaction's secret key from its id.

+
Parameters
+ + +
tx_idis the transaction's id
+
+
+
Returns
is the transaction's secret key
+ +
+
+ +

◆ get_tx_note()

+ +
+
+ + + + + + + + +
string monero::monero_wallet::get_tx_note (const string & tx_id) const
+
+

Get a transaction note.

+
Parameters
+ + +
tx_idspecifies the transaction to get the note of
+
+
+
Returns
the tx note
+ +
+
+ +

◆ get_tx_notes()

+ +
+
+ + + + + + + + +
vector< string > monero::monero_wallet::get_tx_notes (const vector< string > & tx_ids) const
+
+

Get notes for multiple transactions.

+
Parameters
+ + +
tx_idsidentify the transactions to get notes for @preturns notes for the transactions
+
+
+ +
+
+ +

◆ get_tx_proof()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
string monero::monero_wallet::get_tx_proof (const string & tx_id,
const string & address,
const string & message 
) const
+
+

Get a transaction signature to prove it.

+
Parameters
+ + + +
tx_idspecifies the transaction to prove
addressis the destination public address of the transaction
+
+
+
Returns
the transaction signatureGet a transaction signature to prove it.
+
Parameters
+ + + + +
tx_idspecifies the transaction to prove
addressis the destination public address of the transaction
messageis a message to include with the signature to further authenticate the proof (optional)
+
+
+
Returns
the transaction signature
+ +
+
+ +

◆ get_txs() [1/2]

+ +
+
+ + + + + + + +
vector< shared_ptr< monero_tx_wallet > > monero::monero_wallet::get_txs () const
+
+

Get a wallet transaction by id.

+
Parameters
+ + +
tx_idis an id of a transaction to get
+
+
+
Returns
monero_tx_wallet is the identified transactionsGet all wallet transactions. Wallet transactions contain one or more transfers that are either incoming or outgoing to the wallet.
+
+all wallet transactions
+ +
+
+ +

◆ get_txs() [2/2]

+ +
+
+ + + + + + + + +
vector< shared_ptr< monero_tx_wallet > > monero::monero_wallet::get_txs (const monero_tx_query & request) const
+
+

Get wallet transactions by id.

+
Parameters
+ + +
tx_idsare ids of transactions to get
+
+
+
Returns
the identified transactionsGet 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 request. Transactions must meet every criteria defined in the request in order to be returned. All filtering is optional and no filtering is applied when not defined.

+
Parameters
+ + +
requestfilters query results (optional)
+
+
+
Returns
wallet transactions per the request
+ +
+
+ +

◆ get_unlocked_balance() [1/3]

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::get_unlocked_balance () const
+
+

Get the wallet's unlocked balance.

+
Returns
the wallet's unlocked balance
+ +
+
+ +

◆ get_unlocked_balance() [2/3]

+ +
+
+ + + + + + + + +
uint64_t monero::monero_wallet::get_unlocked_balance (uint32_t account_idx) const
+
+

Get an account's unlocked balance.

+
Parameters
+ + +
account_idxis the index of the account to get the unlocked balance of
+
+
+
Returns
the account's unlocked balance
+ +
+
+ +

◆ get_unlocked_balance() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t monero::monero_wallet::get_unlocked_balance (uint32_t account_idx,
uint32_t subaddress_idx 
) const
+
+

Get a subaddress's unlocked balance.

+
Parameters
+ + + +
account_idxis the index of the subaddress's account to get the unlocked balance of
subaddress_idxis the index of the subaddress to get the unlocked balance of
+
+
+
Returns
the subaddress's balance
+ +
+
+ +

◆ getSubaddress()

+ +
+
+ + + + + + + + + + + + + + + + + + +
monero_subaddress monero::monero_wallet::getSubaddress (const uint32_t account_idx,
const uint32_t subaddress_idx 
) const
+
+

Get a subaddress.

+
Parameters
+ + + +
account_idxspecifies the index of the subaddress's account
subaddress_idxspecifies index of the subaddress within the account
+
+
+
Returns
the retrieved subaddress
+ +
+
+ +

◆ import_key_images()

+ +
+
+ + + + + + + + +
shared_ptr< monero_key_image_import_result > monero::monero_wallet::import_key_images (const vector< shared_ptr< monero_key_image >> & key_images)
+
+

Import signed key images and verify their spent status.

+
Parameters
+ + +
key_imagesare key images to import and verify (requires hex and signature)
+
+
+
Returns
results of the import
+ +
+
+ +

◆ import_outputs_hex()

+ +
+
+ + + + + + + + +
int monero::monero_wallet::import_outputs_hex (const string & outputs_hex)
+
+

Import outputs in hex format.

+
Parameters
+ + +
outputs_hexare outputs in hex format
+
+
+
Returns
the number of outputs imported
+ +
+
+ +

◆ is_connected()

+ +
+
+ + + + + + + +
bool monero::monero_wallet::is_connected () const
+
+

Indicates if the wallet is connected a daemon.

+
Returns
true if the wallet is connected to a daemon, false otherwise
+ +
+
+ +

◆ is_daemon_synced()

+ +
+
+ + + + + + + +
bool monero::monero_wallet::is_daemon_synced () const
+
+

Indicates if the wallet's daemon is synced with the network.

+
Returns
true if the daemon is synced with the network, false otherwise
+ +
+
+ +

◆ is_synced()

+ +
+
+ + + + + + + +
bool monero::monero_wallet::is_synced () const
+
+

Indicates if the wallet is synced with the daemon.

+
Returns
true if the wallet is synced with the daemon, false otherwise
+ +
+
+ +

◆ move_to()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void monero::monero_wallet::move_to (string path,
string password 
)
+
+

Move the wallet from its current path to the given path.

+
Parameters
+ + + +
pathis the new wallet's path
passwordis the new wallet's password
+
+
+ +
+
+ +

◆ open_wallet()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
monero_wallet * monero::monero_wallet::open_wallet (const string & path,
const string & password,
const monero_network_type network_type 
)
+
+static
+
+

Open an existing wallet.

+
Parameters
+ + + + +
pathis the path to the wallet file to open
passwordis the password of the wallet file to open
network_typeis the wallet's network type
+
+
+ +
+
+ +

◆ parse_payment_uri()

+ +
+
+ + + + + + + + +
shared_ptr< monero_send_request > monero::monero_wallet::parse_payment_uri (const string & uri) const
+
+

Parses a payment URI to a send request.

+
Parameters
+ + +
uriis the payment uri to parse
+
+
+
Returns
the send request parsed from the uri
+ +
+
+ +

◆ relay_tx() [1/2]

+ +
+
+ + + + + + + + +
string monero::monero_wallet::relay_tx (const string & tx_metadata)
+
+

Relay a transaction previously created without relaying.

+
Parameters
+ + +
txMetadatais transaction metadata previously created without relaying
+
+
+
Returns
string is the id of the relayed tx
+ +
+
+ +

◆ relay_tx() [2/2]

+ +
+
+ + + + + + + + +
string monero::monero_wallet::relay_tx (const monero_tx_wallet & tx)
+
+

Relay a previously created transaction.

+
Parameters
+ + +
txis the transaction to relay
+
+
+
Returns
the id of the relayed tx
+ +
+
+ +

◆ relay_txs() [1/2]

+ +
+
+ + + + + + + + +
vector< string > monero::monero_wallet::relay_txs (const vector< string > & tx_metadatas)
+
+

Relay transactions previously created without relaying.

+
Parameters
+ + +
tx_metadatasare transaction metadata previously created without relaying
+
+
+
Returns
the ids of the relayed txs
+ +
+
+ +

◆ relay_txs() [2/2]

+ +
+
+ + + + + + + + +
vector< string > monero::monero_wallet::relay_txs (const vector< shared_ptr< monero_tx_wallet >> & txs)
+
+

Relay previously created transactions.

+
Parameters
+ + +
txsare the transactions to relay
+
+
+
Returns
the ids of the relayed txs
+ +
+
+ +

◆ remove_listener()

+ +
+
+ + + + + + + + +
void monero::monero_wallet::remove_listener (monero_wallet_listener & listener)
+
+

Unregister a listener to receive wallet notifications.

+
Parameters
+ + +
listeneris the listener to unregister
+
+
+ +
+
+ +

◆ rescan_blockchain()

+ +
+
+ + + + + + + +
void monero::monero_wallet::rescan_blockchain ()
+
+

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.

+ +
+
+ +

◆ save()

+ +
+
+ + + + + + + +
void monero::monero_wallet::save ()
+
+

Save the wallet at its current path.

+ +
+
+ +

◆ send() [1/3]

+ +
+
+ + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::send (monero_send_request & request)
+
+

Create and relay a transaction to transfer funds from this wallet according to the given request.

+
Parameters
+ + +
requestconfigures the transaction
+
+
+
Returns
the resulting transaction
+ +
+
+ +

◆ send() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::send (uint32_t account_index,
string address,
uint64_t amount 
)
+
+

Create and relay a transaction to transfers funds from this wallet to a destination address.

+
Parameters
+ + + + +
account_indexis the index of the account to withdraw funds from
addressis the destination address to send funds to
amountis the amount being sent
+
+
+
Returns
the resulting transaction
+ +
+
+ +

◆ send() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::send (uint32_t account_index,
string address,
uint64_t amount,
monero_send_priority priority 
)
+
+

Create and relay a transaction to transfers funds from this wallet to a destination address.

+
Parameters
+ + + + + +
account_indexis the index of the account to withdraw funds from
addressis the destination address to send funds to
amountis the amount being sent
priorityis the send priority (default normal)
+
+
+
Returns
the resulting transaction
+ +
+
+ +

◆ send_split()

+ +
+
+ + + + + + + + +
vector< shared_ptr< monero_tx_wallet > > monero::monero_wallet::send_split (const monero_send_request & request)
+
+

Create one or more transactions which transfer funds from this wallet to one or more destinations depending on the given configuration.

+
Parameters
+ + +
requestconfigures the transaction
+
+
+
Returns
the resulting transaction
+ +
+
+ +

◆ set_attribute()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void monero::monero_wallet::set_attribute (const string & key,
const string & val 
)
+
+

Set an arbitrary attribute.

+
Parameters
+ + + +
keyis the attribute key
valis the attribute value
+
+
+ +
+
+ +

◆ set_daemon_connection() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void monero::monero_wallet::set_daemon_connection (const string & uri,
const string & username = "",
const string & password = "" 
)
+
+

Set the wallet's daemon connection.

+
Parameters
+ + + + +
uriis the daemon's URI
usernameis the username to authenticate with the daemon (optional)
passwordis the password to authenticate with the daemon (optional)
+
+
+ +
+
+ +

◆ set_daemon_connection() [2/2]

+ +
+
+ + + + + + + + +
void monero::monero_wallet::set_daemon_connection (const monero_rpc_connection & connection)
+
+

Set the wallet's daemon connection.

+
Parameters
+ + +
connectionis the connection to set
+
+
+ +
+
+ +

◆ set_restore_height()

+ +
+
+ + + + + + + + +
void monero::monero_wallet::set_restore_height (uint64_t restore_height)
+
+

Set the height of the first block that the wallet scans.

+
Parameters
+ + +
restore_heightis the height of the first block that the wallet scans
+
+
+ +
+
+ +

◆ set_tx_note()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void monero::monero_wallet::set_tx_note (const string & tx_id,
const string & note 
)
+
+

Set a note for a specific transaction.

+
Parameters
+ + + +
tx_idspecifies the transaction
notespecifies the note
+
+
+ +
+
+ +

◆ set_tx_notes()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void monero::monero_wallet::set_tx_notes (const vector< string > & tx_ids,
const vector< string > & notes 
)
+
+

Set notes for multiple transactions.

+
Parameters
+ + + +
tx_idsspecify the transactions to set notes for
notesare the notes to set for the transactions
+
+
+ +
+
+ +

◆ sign()

+ +
+
+ + + + + + + + +
string monero::monero_wallet::sign (const string & msg) const
+
+

Sign a message.

+
Parameters
+ + +
msgis the message to sign
+
+
+
Returns
the signature
+ +
+
+ +

◆ start_mining()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void monero::monero_wallet::start_mining (boost::optional< uint64_t > num_threads,
boost::optional< bool > background_mining,
boost::optional< bool > ignore_battery 
)
+
+

Start mining.

+
Parameters
+ + + + +
num_threadsis the number of threads created for mining (optional)
background_miningspecifies if mining should occur in the background (optional)
ignore_batteryspecifies if the battery should be ignored for mining (optional)
+
+
+ +
+
+ +

◆ start_syncing()

+ +
+
+ + + + + + + +
void monero::monero_wallet::start_syncing ()
+
+

Start an asynchronous thread to continuously synchronize the wallet with the daemon.

+

Start automatic syncing as its own thread.

+ +
+
+ +

◆ stop_mining()

+ +
+
+ + + + + + + +
void monero::monero_wallet::stop_mining ()
+
+

Stop mining.

+ +
+
+ +

◆ stop_syncing()

+ +
+
+ + + + + + + +
void monero::monero_wallet::stop_syncing ()
+
+

Stop the asynchronous thread to continuously synchronize the wallet with the daemon.

+

Stop automatic syncing as its own thread.

+ +
+
+ +

◆ sweep_dust()

+ +
+
+ + + + + + + + +
vector< shared_ptr< monero_tx_wallet > > monero::monero_wallet::sweep_dust (bool do_not_relay = false)
+
+

Sweep an output with a given key image.

+
Parameters
+ + + +
addressis the destination address to send to
key_imageis the key image hex of the output to sweep
+
+
+
Returns
the resulting transaction from sweeping an outputSweep an output with a given key image.
+
Parameters
+ + + + +
addressis the destination address to send to
key_imageis the key image hex of the output to sweep
priorityis the transaction priority (optional)
+
+
+
Returns
the resulting transaction from sweeping an outputSweep a subaddress's unlocked funds to an address.
+
Parameters
+ + + + +
account_idxis the index of the account
subaddress_idxis the index of the subaddress
addressis the address to sweep the subaddress's funds to
+
+
+
Returns
the resulting transactionsSweep an acount's unlocked funds to an address.
+
Parameters
+ + + +
account_idxis the index of the account
addressis the address to sweep the account's funds to
+
+
+
Returns
the resulting transactionsSweep the wallet's unlocked funds to an address.
+
Parameters
+ + +
addressis the address to sweep the wallet's funds to
+
+
+
Returns
the resulting transactionsSweep all unlocked funds according to the given request.
+
Parameters
+ + +
requestis the sweep configuration
+
+
+
Returns
the resulting transactionsSweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
+

NOTE: Dust only exists pre RCT, so this method will return "no dust to sweep" on new wallets.

+
Returns
the resulting transactions from sweeping dustSweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
+
Parameters
+ + +
do_not_relayspecifies if the resulting transaction should not be relayed (defaults to false i.e. relayed)
+
+
+
Returns
the resulting transactions from sweeping dust
+ +
+
+ +

◆ sweep_output()

+ +
+
+ + + + + + + + +
shared_ptr< monero_tx_wallet > monero::monero_wallet::sweep_output (const monero_send_request & request) const
+
+

Create and relay a transaction which transfers funds from this wallet to a destination address.

+
Parameters
+ + + + +
account_indexis the index of the account to draw funds from
addressis the destination address to send funds to
sendAmountis the amount being sent
+
+
+
Returns
the resulting transactionCreate and relay a transaction which transfers funds from this wallet to a destination address.
+
Parameters
+ + + + + +
account_indexis the index of the account to draw funds from
addressis the destination address to send funds to
sendAmountis the amount being sent
priorityis the send priority (default normal)
+
+
+
Returns
the resulting transactionCreate and relay (depending on configuration) one or more transactions which transfer funds from this wallet to one or more destination.
+
Parameters
+ + +
requestconfigures the transactions
+
+
+
Returns
the resulting transactionsCreate and relay one or more transactions which transfer funds from this wallet to one or more destination.
+
Parameters
+ + + + +
account_indexis the index of the account to draw funds from
addressis the destination address to send funds to
sendAmountis the amount being sent
+
+
+
Returns
the resulting transactionsCreate and relay one or more transactions which transfer funds from this wallet to one or more destination.
+
Parameters
+ + + + + +
account_indexis the index of the account to draw funds from
addressis the destination address to send funds to
sendAmountis the amount being sent
priorityis the send priority (default normal)
+
+
+
Returns
the resulting transactionsSweep an output with a given key image.
+
Parameters
+ + +
requestconfigures the sweep transaction
+
+
+
Returns
the resulting transaction from sweeping an output
+ +
+
+ +

◆ sync() [1/4]

+ +
+
+ + + + + + + +
monero_sync_result monero::monero_wallet::sync ()
+
+

Synchronize the wallet with the daemon as a one-time synchronous process.

+
Returns
the sync result
+ +
+
+ +

◆ sync() [2/4]

+ +
+
+ + + + + + + + +
monero_sync_result monero::monero_wallet::sync (monero_sync_listener & listener)
+
+

Synchronize the wallet with the daemon as a one-time synchronous process.

+
Parameters
+ + +
listeneris invoked as sync progress is made
+
+
+
Returns
the sync result
+ +
+
+ +

◆ sync() [3/4]

+ +
+
+ + + + + + + + +
monero_sync_result monero::monero_wallet::sync (uint64_t start_height)
+
+

Synchronize the wallet with the daemon as a one-time synchronous process.

+
Parameters
+ + +
start_heightis the start height to sync from (ignored if less than last processed block)
+
+
+
Returns
the sync result
+ +
+
+ +

◆ sync() [4/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
monero_sync_result monero::monero_wallet::sync (uint64_t start_height,
monero_sync_listener & listener 
)
+
+

Synchronizes the wallet with the blockchain.

+
Parameters
+ + + +
start_heightis the start height to sync from (ignored if less than last processed block)
listeneris invoked as sync progress is made
+
+
+
Returns
the sync result
+ +
+
+ +

◆ verify()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool monero::monero_wallet::verify (const string & msg,
const string & address,
const string & signature 
) const
+
+

Verify a signature on a message.

+
Parameters
+ + + + +
msgis the signed message
addressis the signing address
signatureis the signature
+
+
+
Returns
true if the signature is good, false otherwise
+ +
+
+ +

◆ wait_for_next_block()

+ +
+
+ + + + + + + +
uint64_t monero::monero_wallet::wait_for_next_block ()
+
+

Wait for the next block to be added to the chain.

+
Returns
the height of the next block when it is added to the chain
+ +
+
+ +

◆ wallet_exists()

+ +
+
+ + + + + +
+ + + + + + + + +
bool monero::monero_wallet::wallet_exists (const string & path)
+
+static
+
+

Indicates if a wallet exists at the given path.

+
Parameters
+ + +
pathis the path to check for a wallet
+
+
+
Returns
true if a wallet exists at the given path, false otherwise
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/classmonero_1_1monero__wallet__listener-members.html b/docs/classmonero_1_1monero__wallet__listener-members.html new file mode 100644 index 0000000..bca8b71 --- /dev/null +++ b/docs/classmonero_1_1monero__wallet__listener-members.html @@ -0,0 +1,87 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_wallet_listener Member List
+
+
+ +

This is the complete list of members for monero::monero_wallet_listener, including all inherited members.

+ + + + + +
on_new_block(uint64_t height)monero::monero_wallet_listenerinlinevirtual
on_output_received(const monero_output_wallet &output)monero::monero_wallet_listenerinlinevirtual
on_output_spent(const monero_output_wallet &output)monero::monero_wallet_listenerinlinevirtual
on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)monero::monero_sync_listenerinlinevirtual
+ + + + diff --git a/docs/classmonero_1_1monero__wallet__listener.html b/docs/classmonero_1_1monero__wallet__listener.html new file mode 100644 index 0000000..995051b --- /dev/null +++ b/docs/classmonero_1_1monero__wallet__listener.html @@ -0,0 +1,213 @@ + + + + + + + +monero-cpp-library: monero::monero_wallet_listener Class Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Member Functions | +List of all members
+
+
monero::monero_wallet_listener Class Reference
+
+
+ +

#include <monero_wallet.h>

+
+Inheritance diagram for monero::monero_wallet_listener:
+
+
+ + +monero::monero_sync_listener +monero::sync_listener_wrapper + +
+ + + + + + + + + + + +

+Public Member Functions

virtual void on_new_block (uint64_t height)
 
virtual void on_output_received (const monero_output_wallet &output)
 
virtual void on_output_spent (const monero_output_wallet &output)
 
- Public Member Functions inherited from monero::monero_sync_listener
virtual void on_sync_progress (uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)
 
+

Detailed Description

+

Receives notifications as a wallet is updated.

+

Member Function Documentation

+ +

◆ on_new_block()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void monero::monero_wallet_listener::on_new_block (uint64_t height)
+
+inlinevirtual
+
+

Invoked when a new block is processed.

+
Parameters
+ + +
blockis the newly processed block
+
+
+ +
+
+ +

◆ on_output_received()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void monero::monero_wallet_listener::on_output_received (const monero_output_wallet & output)
+
+inlinevirtual
+
+

Invoked when the wallet receives an output.

+
Parameters
+ + +
outputis the incoming output to the wallet
+
+
+ +
+
+ +

◆ on_output_spent()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void monero::monero_wallet_listener::on_output_spent (const monero_output_wallet & output)
+
+inlinevirtual
+
+

Invoked when the wallet spends an output.

+
Parameters
+ + +
outputthe outgoing transfer from the wallet
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/classmonero_1_1monero__wallet__listener.png b/docs/classmonero_1_1monero__wallet__listener.png new file mode 100644 index 0000000..6d0e83c Binary files /dev/null and b/docs/classmonero_1_1monero__wallet__listener.png differ diff --git a/docs/closed.png b/docs/closed.png new file mode 100644 index 0000000..98cc2c9 Binary files /dev/null and b/docs/closed.png differ diff --git a/docs/dir_04adb1df8a70d06f465cfe55c3148bab.html b/docs/dir_04adb1df8a70d06f465cfe55c3148bab.html new file mode 100644 index 0000000..a5d965c --- /dev/null +++ b/docs/dir_04adb1df8a70d06f465cfe55c3148bab.html @@ -0,0 +1,80 @@ + + + + + + + +monero-cpp-library: wallet Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
wallet Directory Reference
+
+
+
+ + + + diff --git a/docs/dir_39030b11ec2f66a58a20203c6f23f032.html b/docs/dir_39030b11ec2f66a58a20203c6f23f032.html new file mode 100644 index 0000000..c7462bb --- /dev/null +++ b/docs/dir_39030b11ec2f66a58a20203c6f23f032.html @@ -0,0 +1,80 @@ + + + + + + + +monero-cpp-library: daemon Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
daemon Directory Reference
+
+
+
+ + + + diff --git a/docs/dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html b/docs/dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html new file mode 100644 index 0000000..4733f69 --- /dev/null +++ b/docs/dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html @@ -0,0 +1,80 @@ + + + + + + + +monero-cpp-library: utils Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
utils Directory Reference
+
+
+
+ + + + diff --git a/docs/doc.png b/docs/doc.png new file mode 100644 index 0000000..17edabf Binary files /dev/null and b/docs/doc.png differ diff --git a/docs/doxygen.css b/docs/doxygen.css new file mode 100644 index 0000000..e251592 --- /dev/null +++ b/docs/doxygen.css @@ -0,0 +1,1764 @@ +/* The standard CSS for doxygen 1.8.15 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #FFFFFF; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #FFFFFF; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFFFF; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #9CAFD4; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/docs/doxygen.png b/docs/doxygen.png new file mode 100644 index 0000000..3ff17d8 Binary files /dev/null and b/docs/doxygen.png differ diff --git a/docs/dynsections.js b/docs/dynsections.js new file mode 100644 index 0000000..ea0a7b3 --- /dev/null +++ b/docs/dynsections.js @@ -0,0 +1,120 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + + +monero-cpp-library: File List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 12]
+ + + + + + + + +
 ▼ daemon
 monero_daemon.h
 monero_daemon_model.h
 ▼ utils
 monero_utils.h
 ▼ wallet
 monero_wallet.h
 monero_wallet_model.h
+
+
+ + + + diff --git a/docs/folderclosed.png b/docs/folderclosed.png new file mode 100644 index 0000000..bb8ab35 Binary files /dev/null and b/docs/folderclosed.png differ diff --git a/docs/folderopen.png b/docs/folderopen.png new file mode 100644 index 0000000..d6c7f67 Binary files /dev/null and b/docs/folderopen.png differ diff --git a/docs/functions.html b/docs/functions.html new file mode 100644 index 0000000..8d67e09 --- /dev/null +++ b/docs/functions.html @@ -0,0 +1,429 @@ + + + + + + + +monero-cpp-library: Class Members + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+ + +

- c -

+ + +

- d -

+ + +

- g -

+ + +

- i -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- v -

+ + +

- w -

+ + +

- ~ -

+
+ + + + diff --git a/docs/functions_func.html b/docs/functions_func.html new file mode 100644 index 0000000..5ec40d8 --- /dev/null +++ b/docs/functions_func.html @@ -0,0 +1,429 @@ + + + + + + + +monero-cpp-library: Class Members - Functions + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- c -

+ + +

- d -

+ + +

- g -

+ + +

- i -

+ + +

- m -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- v -

+ + +

- w -

+ + +

- ~ -

+
+ + + + diff --git a/docs/hierarchy.html b/docs/hierarchy.html new file mode 100644 index 0000000..3445f80 --- /dev/null +++ b/docs/hierarchy.html @@ -0,0 +1,111 @@ + + + + + + + +monero-cpp-library: Class Hierarchy + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
+ + + + diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..fa8638b --- /dev/null +++ b/docs/index.html @@ -0,0 +1,76 @@ + + + + + + + +monero-cpp-library: Main Page + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
monero-cpp-library Documentation
+
+
+
+ + + + diff --git a/docs/jquery.js b/docs/jquery.js new file mode 100644 index 0000000..1ee895c --- /dev/null +++ b/docs/jquery.js @@ -0,0 +1,87 @@ +/*! + * jQuery JavaScript Library v1.7.2 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Wed Mar 21 12:46:34 2012 -0700 + */ +(function(bd,L){var av=bd.document,bu=bd.navigator,bm=bd.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bd.jQuery,bH=bd.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bd.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bd.attachEvent("onload",bF.ready);var b0=false;try{b0=bd.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0!=null&&b0==b0.window},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bd.JSON&&bd.JSON.parse){return bd.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){if(typeof b2!=="string"||!b2){return null}var b0,b1;try{if(bd.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bd.execScript||function(b1){bd["eval"].call(bd,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aK.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aK.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bH=bv.getElementsByTagName("*");bE=bv.getElementsByTagName("a")[0];if(!bH||!bH.length||!bE){return{}}bF=av.createElement("select");bx=bF.appendChild(av.createElement("option"));bD=bv.getElementsByTagName("input")[0];bI={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bE.getAttribute("style")),hrefNormalized:(bE.getAttribute("href")==="/a"),opacity:/^0.55/.test(bE.style.opacity),cssFloat:!!bE.style.cssFloat,checkOn:(bD.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,pixelMargin:true};b.boxModel=bI.boxModel=(av.compatMode==="CSS1Compat");bD.checked=true;bI.noCloneChecked=bD.cloneNode(true).checked;bF.disabled=true;bI.optDisabled=!bx.disabled;try{delete bv.test}catch(bB){bI.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bI.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bD=av.createElement("input");bD.value="t";bD.setAttribute("type","radio");bI.radioValue=bD.value==="t";bD.setAttribute("checked","checked");bD.setAttribute("name","t");bv.appendChild(bD);bC=av.createDocumentFragment();bC.appendChild(bv.lastChild);bI.checkClone=bC.cloneNode(true).cloneNode(true).lastChild.checked;bI.appendChecked=bD.checked;bC.removeChild(bD);bC.appendChild(bv);if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bA="on"+by;bw=(bA in bv);if(!bw){bv.setAttribute(bA,"return;");bw=(typeof bv[bA]==="function")}bI[by+"Bubbles"]=bw}}bC.removeChild(bv);bC=bF=bx=bv=bD=null;b(function(){var bM,bV,bW,bU,bO,bP,bR,bL,bK,bQ,bN,e,bT,bS=av.getElementsByTagName("body")[0];if(!bS){return}bL=1;bT="padding:0;margin:0;border:";bN="position:absolute;top:0;left:0;width:1px;height:1px;";e=bT+"0;visibility:hidden;";bK="style='"+bN+bT+"5px solid #000;";bQ="
";bM=av.createElement("div");bM.style.cssText=e+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bS.insertBefore(bM,bS.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bI.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);if(bd.getComputedStyle){bv.innerHTML="";bR=av.createElement("div");bR.style.width="0";bR.style.marginRight="0";bv.style.width="2px";bv.appendChild(bR);bI.reliableMarginRight=(parseInt((bd.getComputedStyle(bR,null)||{marginRight:0}).marginRight,10)||0)===0}if(typeof bv.style.zoom!=="undefined"){bv.innerHTML="";bv.style.width=bv.style.padding="1px";bv.style.border=0;bv.style.overflow="hidden";bv.style.display="inline";bv.style.zoom=1;bI.inlineBlockNeedsLayout=(bv.offsetWidth===3);bv.style.display="block";bv.style.overflow="visible";bv.innerHTML="
";bI.shrinkWrapBlocks=(bv.offsetWidth!==3)}bv.style.cssText=bN+e;bv.innerHTML=bQ;bV=bv.firstChild;bW=bV.firstChild;bO=bV.nextSibling.firstChild.firstChild;bP={doesNotAddBorder:(bW.offsetTop!==5),doesAddBorderForTableAndCells:(bO.offsetTop===5)};bW.style.position="fixed";bW.style.top="20px";bP.fixedPosition=(bW.offsetTop===20||bW.offsetTop===15);bW.style.position=bW.style.top="";bV.style.overflow="hidden";bV.style.position="relative";bP.subtractsBorderForOverflowNotVisible=(bW.offsetTop===-5);bP.doesNotIncludeMarginInBodyOffset=(bS.offsetTop!==bL);if(bd.getComputedStyle){bv.style.marginTop="1%";bI.pixelMargin=(bd.getComputedStyle(bv,null)||{marginTop:0}).marginTop!=="1%"}if(typeof bM.style.zoom!=="undefined"){bM.style.zoom=1}bS.removeChild(bM);bR=bv=bM=null;b.extend(bI,bP)});return bI})();var aT=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA1,null,false)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a6(bx,bw,by){if(by===L&&bx.nodeType===1){var bv="data-"+bw.replace(aA,"-$1").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:b.isNumeric(by)?+by:aT.test(by)?b.parseJSON(by):by}catch(bz){}b.data(bx,bw,by)}else{by=L}}return by}function S(bv){for(var e in bv){if(e==="data"&&b.isEmptyObject(bv[e])){continue}if(e!=="toJSON"){return false}}return true}function bj(by,bx,bA){var bw=bx+"defer",bv=bx+"queue",e=bx+"mark",bz=b._data(by,bw);if(bz&&(bA==="queue"||!b._data(by,bv))&&(bA==="mark"||!b._data(by,e))){setTimeout(function(){if(!b._data(by,bv)&&!b._data(by,e)){b.removeData(by,bw,true);bz.fire()}},0)}}b.extend({_mark:function(bv,e){if(bv){e=(e||"fx")+"mark";b._data(bv,e,(b._data(bv,e)||0)+1)}},_unmark:function(by,bx,bv){if(by!==true){bv=bx;bx=by;by=false}if(bx){bv=bv||"fx";var e=bv+"mark",bw=by?0:((b._data(bx,e)||1)-1);if(bw){b._data(bx,e,bw)}else{b.removeData(bx,e,true);bj(bx,bv,"mark")}}},queue:function(bv,e,bx){var bw;if(bv){e=(e||"fx")+"queue";bw=b._data(bv,e);if(bx){if(!bw||b.isArray(bx)){bw=b._data(bv,e,b.makeArray(bx))}else{bw.push(bx)}}return bw||[]}},dequeue:function(by,bx){bx=bx||"fx";var bv=b.queue(by,bx),bw=bv.shift(),e={};if(bw==="inprogress"){bw=bv.shift()}if(bw){if(bx==="fx"){bv.unshift("inprogress")}b._data(by,bx+".run",e);bw.call(by,function(){b.dequeue(by,bx)},e)}if(!bv.length){b.removeData(by,bx+"queue "+bx+".run",true);bj(by,bx,"queue")}}});b.fn.extend({queue:function(e,bv){var bw=2;if(typeof e!=="string"){bv=e;e="fx";bw--}if(arguments.length1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bv){return b.access(this,b.prop,e,bv,arguments.length>1)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=L;delete this[e]}catch(bv){}})},addClass:function(by){var bA,bw,bv,bx,bz,bB,e;if(b.isFunction(by)){return this.each(function(bC){b(this).addClass(by.call(this,bC,this.className))})}if(by&&typeof by==="string"){bA=by.split(ag);for(bw=0,bv=this.length;bw-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.type]||b.valHooks[bw.nodeName.toLowerCase()];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aV,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aZ:bf)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(by,bA){var bz,bB,bw,e,bv,bx=0;if(bA&&by.nodeType===1){bB=bA.toLowerCase().split(ag);e=bB.length;for(;bx=0)}}})});var be=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/(?:^|\s)hover(\.\S+)?\b/,aP=/^key/,bg=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler;by=bv.selector}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bd,bI])}}for(bC=0;bCbC){bv.push({elem:this,matches:bD.slice(bC)})}for(bJ=0;bJ0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aP.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bg.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}bE.match.globalPOS=bD;var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(B(bx[0])||B(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function B(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||bb.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aH(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aS.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aS="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ah=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,v=/]","i"),o=/checked\s*(?:[^=]|=\s*.checked.)/i,bn=/\/(java|ecma)script/i,aO=/^\s*",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){return b.access(this,function(bv){return bv===L?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(bv))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(e){return b.access(this,function(by){var bx=this[0]||{},bw=0,bv=this.length;if(by===L){return bx.nodeType===1?bx.innerHTML.replace(ah,""):null}if(typeof by==="string"&&!ae.test(by)&&(b.support.leadingWhitespace||!ar.test(by))&&!ax[(d.exec(by)||["",""])[1].toLowerCase()]){by=by.replace(R,"<$1>");try{for(;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bh(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function D(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function am(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||b.isXMLDoc(by)||!ai.test("<"+by.nodeName+">")?by.cloneNode(true):am(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){aj(by,bz);e=bh(by);bv=bh(bz);for(bx=0;e[bx];++bx){if(bv[bx]){aj(e[bx],bv[bx])}}}if(bA){s(by,bz);if(bw){e=bh(by);bv=bh(bz);for(bx=0;e[bx];++bx){s(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bI,bw,bv,bx){var bA,bH,bD,bJ=[];bw=bw||av;if(typeof bw.createElement==="undefined"){bw=bw.ownerDocument||bw[0]&&bw[0].ownerDocument||av}for(var bE=0,bG;(bG=bI[bE])!=null;bE++){if(typeof bG==="number"){bG+=""}if(!bG){continue}if(typeof bG==="string"){if(!W.test(bG)){bG=bw.createTextNode(bG)}else{bG=bG.replace(R,"<$1>");var bN=(d.exec(bG)||["",""])[1].toLowerCase(),bz=ax[bN]||ax._default,bK=bz[0],bB=bw.createElement("div"),bL=ac.childNodes,bM;if(bw===av){ac.appendChild(bB)}else{a(bw).appendChild(bB)}bB.innerHTML=bz[1]+bG+bz[2];while(bK--){bB=bB.lastChild}if(!b.support.tbody){var by=v.test(bG),e=bN==="table"&&!by?bB.firstChild&&bB.firstChild.childNodes:bz[1]===""&&!by?bB.childNodes:[];for(bD=e.length-1;bD>=0;--bD){if(b.nodeName(e[bD],"tbody")&&!e[bD].childNodes.length){e[bD].parentNode.removeChild(e[bD])}}}if(!b.support.leadingWhitespace&&ar.test(bG)){bB.insertBefore(bw.createTextNode(ar.exec(bG)[0]),bB.firstChild)}bG=bB.childNodes;if(bB){bB.parentNode.removeChild(bB);if(bL.length>0){bM=bL[bL.length-1];if(bM&&bM.parentNode){bM.parentNode.removeChild(bM)}}}}}var bF;if(!b.support.appendChecked){if(bG[0]&&typeof(bF=bG.length)==="number"){for(bD=0;bD1)};b.extend({cssHooks:{opacity:{get:function(bw,bv){if(bv){var e=Z(bw,"opacity");return e===""?"1":e}else{return bw.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return}var bB,bC,bz=b.camelCase(bw),bv=bx.style,bE=b.cssHooks[bz];bw=b.cssProps[bz]||bz;if(bD!==L){bC=typeof bD;if(bC==="string"&&(bB=I.exec(bD))){bD=(+(bB[1]+1)*+bB[2])+parseFloat(b.css(bx,bw));bC="number"}if(bD==null||bC==="number"&&isNaN(bD)){return}if(bC==="number"&&!b.cssNumber[bz]){bD+="px"}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD))!==L){try{bv[bw]=bD}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==L){return bB}return bv[bw]}},css:function(by,bx,bv){var bw,e;bx=b.camelCase(bx);e=b.cssHooks[bx];bx=b.cssProps[bx]||bx;if(bx==="cssFloat"){bx="float"}if(e&&"get" in e&&(bw=e.get(by,true,bv))!==L){return bw}else{if(Z){return Z(by,bx)}}},swap:function(by,bx,bz){var e={},bw,bv;for(bv in bx){e[bv]=by.style[bv];by.style[bv]=bx[bv]}bw=bz.call(by);for(bv in bx){by.style[bv]=e[bv]}return bw}});b.curCSS=b.css;if(av.defaultView&&av.defaultView.getComputedStyle){aJ=function(bA,bw){var bv,bz,e,by,bx=bA.style;bw=bw.replace(y,"-$1").toLowerCase();if((bz=bA.ownerDocument.defaultView)&&(e=bz.getComputedStyle(bA,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(bA.ownerDocument.documentElement,bA)){bv=b.style(bA,bw)}}if(!b.support.pixelMargin&&e&&aE.test(bw)&&a1.test(bv)){by=bx.width;bx.width=bv;bv=e.width;bx.width=by}return bv}}if(av.documentElement.currentStyle){aY=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv==null&&bx&&(by=bx[bw])){bv=by}if(a1.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":bv;bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aJ||aY;function af(by,bw,bv){var bz=bw==="width"?by.offsetWidth:by.offsetHeight,bx=bw==="width"?1:0,e=4;if(bz>0){if(bv!=="border"){for(;bx=1&&b.trim(bw.replace(al,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=al.test(bw)?bw.replace(al,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bv,e){return b.swap(bv,{display:"inline-block"},function(){if(e){return Z(bv,"margin-right")}else{return bv.style.marginRight}})}}}});if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bw){var bv=bw.offsetWidth,e=bw.offsetHeight;return(bv===0&&e===0)||(!b.support.reliableHiddenOffsets&&((bw.style&&bw.style.display)||b.css(bw,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}b.each({margin:"",padding:"",border:"Width"},function(e,bv){b.cssHooks[e+bv]={expand:function(by){var bx,bz=typeof by==="string"?by.split(" "):[by],bw={};for(bx=0;bx<4;bx++){bw[e+G[bx]+bv]=bz[bx]||bz[bx-2]||bz[0]}return bw}}});var k=/%20/g,ap=/\[\]$/,bs=/\r?\n/g,bq=/#.*$/,aD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,a0=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aN=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aR=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a7=/)<[^<]*)*<\/script>/gi,p=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,z=b.fn.load,aa={},q={},aF,r,aW=["*/"]+["*"];try{aF=bm.href}catch(aw){aF=av.createElement("a");aF.href="";aF=aF.href}r=K.exec(aF.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a7,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||p.test(this.nodeName)||a0.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){an(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}an(bv,e);return bv},ajaxSettings:{url:aF,isLocal:aN.test(r[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bd.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(q),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bk(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=F(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,r[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=r[1]||bI[2]!=r[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(r[3]||(r[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aX(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aR.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aW+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aX(q,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){u(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function u(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{u(bw+"["+(typeof bz==="object"?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&b.type(by)==="object"){for(var e in by){u(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bk(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function F(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!ba){ba=av.createElement("iframe");ba.frameBorder=ba.width=ba.height=0}e.appendChild(ba);if(!m||!ba.createElement){m=(ba.contentWindow||ba.contentDocument).document;m.write((b.support.boxModel?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(ba)}Q[bx]=bw}return Q[bx]}var a8,V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){a8=function(by,bH,bw,bB){try{bB=by.getBoundingClientRect()}catch(bF){}if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aL(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{a8=function(bz,bE,bx){var bC,bw=bz.offsetParent,bv=bz,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.fn.offset=function(e){if(arguments.length){return e===L?this:this.each(function(bx){b.offset.setOffset(this,e,bx)})}var bv=this[0],bw=bv&&bv.ownerDocument;if(!bw){return null}if(bv===bw.body){return b.offset.bodyOffset(bv)}return a8(bv,bw,bw.documentElement)};b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(bw,bv){var e=/Y/.test(bv);b.fn[bw]=function(bx){return b.access(this,function(by,bB,bA){var bz=aL(by);if(bA===L){return bz?(bv in bz)?bz[bv]:b.support.boxModel&&bz.document.documentElement[bB]||bz.document.body[bB]:by[bB]}if(bz){bz.scrollTo(!e?bA:b(bz).scrollLeft(),e?bA:b(bz).scrollTop())}else{by[bB]=bA}},bw,bx,arguments.length,null)}});function aL(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each({Height:"height",Width:"width"},function(bw,bx){var bv="client"+bw,e="scroll"+bw,by="offset"+bw;b.fn["inner"+bw]=function(){var bz=this[0];return bz?bz.style?parseFloat(b.css(bz,bx,"padding")):this[bx]():null};b.fn["outer"+bw]=function(bA){var bz=this[0];return bz?bz.style?parseFloat(b.css(bz,bx,bA?"margin":"border")):this[bx]():null};b.fn[bx]=function(bz){return b.access(this,function(bC,bB,bD){var bF,bE,bG,bA;if(b.isWindow(bC)){bF=bC.document;bE=bF.documentElement[bv];return b.support.boxModel&&bE||bF.body&&bF.body[bv]||bE}if(bC.nodeType===9){bF=bC.documentElement;if(bF[bv]>=bF[e]){return bF[bv]}return Math.max(bC.body[e],bF[e],bC.body[by],bF[by])}if(bD===L){bG=b.css(bC,bB);bA=parseFloat(bG);return b.isNumeric(bA)?bA:bG}b(bC).css(bB,bD)},bx,bz,arguments.length,null)}});bd.jQuery=bd.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + + + +
+
+
monero_daemon.h
+
+
+
1 
53 #pragma once
54 
55 #include "monero_daemon_model.h"
56 
57 using namespace std;
58 
62 namespace monero {
63 
64 }
Definition: monero_daemon.cpp:58
+
+ + + + diff --git a/docs/monero__daemon__model_8h_source.html b/docs/monero__daemon__model_8h_source.html new file mode 100644 index 0000000..559f949 --- /dev/null +++ b/docs/monero__daemon__model_8h_source.html @@ -0,0 +1,89 @@ + + + + + + + +monero-cpp-library: daemon/monero_daemon_model.h Source File + + + + + + + + + +
+
+
+ + + + + +
+
monero-cpp-library +
+
+ + + + + + + + + +
+
+ + +
+ +
+ + + +
+
+
monero_daemon_model.h
+
+
+
1 
53 #pragma once
54 
55 #include <boost/property_tree/ptree.hpp>
56 #include <boost/property_tree/json_parser.hpp>
57 
58 using namespace std;
59 
63 namespace monero {
64 
69 
75  string serialize() const;
76 
82  virtual boost::property_tree::ptree to_property_tree() const = 0;
83  };
84 
88  enum monero_network_type : uint8_t {
89  MAINNET = 0,
90  TESTNET,
91  STAGENET
92  };
93 
100  string m_uri;
101  boost::optional<string> m_username;
102  boost::optional<string> m_password;
103  monero_rpc_connection(const string& uri = "", const boost::optional<string>& username = boost::none, const boost::optional<string>& password = boost::none) : m_uri(uri), m_username(username), m_password(password) {}
104  };
105 
106  // forward declarations
107  struct monero_tx;
108  struct monero_output;
109 
116  boost::optional<string> m_id;
117  boost::optional<uint64_t> m_height;
118  boost::optional<uint64_t> m_timestamp;
119  boost::optional<uint64_t> m_size;
120  boost::optional<uint64_t> m_weight;
121  boost::optional<uint64_t> m_long_term_weight;
122  boost::optional<uint64_t> m_depth;
123  boost::optional<uint64_t> m_difficulty;
124  boost::optional<uint64_t> m_cumulative_difficulty;
125  boost::optional<uint32_t> m_major_version;
126  boost::optional<uint32_t> m_minor_version;
127  boost::optional<uint64_t> m_nonce;
128  boost::optional<string> m_miner_tx_id;
129  boost::optional<uint32_t> m_num_txs;
130  boost::optional<bool> m_orphan_status;
131  boost::optional<string> m_prev_id;
132  boost::optional<uint64_t> m_reward;
133  boost::optional<string> m_pow_hash;
134 
135  boost::property_tree::ptree to_property_tree() const;
136  virtual void merge(const shared_ptr<monero_block_header>& self, const shared_ptr<monero_block_header>& other);
137  };
138 
143  boost::optional<string> m_hex;
144  boost::optional<shared_ptr<monero_tx>> m_miner_tx;
145  vector<shared_ptr<monero_tx>> m_txs;
146  vector<string> m_tx_ids;
147 
148  boost::property_tree::ptree to_property_tree() const;
149  void merge(const shared_ptr<monero_block_header>& self, const shared_ptr<monero_block_header>& other);
150  void merge(const shared_ptr<monero_block>& self, const shared_ptr<monero_block>& other);
151  };
152 
156  struct monero_tx : public serializable_struct {
157  static const string DEFAULT_PAYMENT_ID; // default payment id "0000000000000000"
158  boost::optional<shared_ptr<monero_block>> m_block;
159  boost::optional<string> m_id;
160  boost::optional<uint32_t> m_version;
161  boost::optional<bool> m_is_miner_tx;
162  boost::optional<string> m_payment_id;
163  boost::optional<uint64_t> m_fee;
164  boost::optional<uint32_t> m_mixin;
165  boost::optional<bool> m_do_not_relay;
166  boost::optional<bool> m_is_relayed;
167  boost::optional<bool> m_is_confirmed;
168  boost::optional<bool> m_in_tx_pool;
169  boost::optional<uint64_t> m_num_confirmations;
170  boost::optional<uint64_t> m_unlock_time;
171  boost::optional<uint64_t> m_last_relayed_timestamp;
172  boost::optional<uint64_t> m_received_timestamp;
173  boost::optional<bool> m_is_double_spend_seen;
174  boost::optional<string> m_key;
175  boost::optional<string> m_full_hex;
176  boost::optional<string> m_pruned_hex;
177  boost::optional<string> m_prunable_hex;
178  boost::optional<string> m_prunable_hash;
179  boost::optional<uint32_t> m_size;
180  boost::optional<uint32_t> m_weight;
181  vector<shared_ptr<monero_output>> m_vins;
182  vector<shared_ptr<monero_output>> m_vouts;
183  vector<uint32_t> m_output_indices;
184  boost::optional<string> m_metadata;
185  boost::optional<string> m_common_tx_sets;
186  vector<uint8_t> m_extra;
187  boost::optional<string> m_rct_signatures; // TODO: implement
188  boost::optional<string> m_rct_sig_prunable; // TODO: implement
189  boost::optional<bool> m_is_kept_by_block;
190  boost::optional<bool> m_is_failed;
191  boost::optional<uint32_t> m_last_failed_height;
192  boost::optional<string> m_last_failed_id;
193  boost::optional<uint32_t> m_max_used_block_height;
194  boost::optional<string> m_max_used_block_id;
195  vector<string> m_signatures;
196 
197  shared_ptr<monero_tx> copy(const shared_ptr<monero_tx>& src, const shared_ptr<monero_tx>& tgt) const;
198  boost::property_tree::ptree to_property_tree() const;
199  virtual void merge(const shared_ptr<monero_tx>& self, const shared_ptr<monero_tx>& other);
200  boost::optional<uint64_t> get_height() const;
201  };
202 
207  boost::optional<string> m_hex;
208  boost::optional<string> m_signature;
209 
210  shared_ptr<monero_key_image> copy(const shared_ptr<monero_key_image>& src, const shared_ptr<monero_key_image>& tgt) const;
211  boost::property_tree::ptree to_property_tree() const;
212  void merge(const shared_ptr<monero_key_image>& self, const shared_ptr<monero_key_image>& other);
213  };
214 
219  shared_ptr<monero_tx> m_tx;
220  boost::optional<shared_ptr<monero_key_image>> m_key_image;
221  boost::optional<uint64_t> m_amount;
222  boost::optional<uint64_t> m_index;
223  vector<uint64_t> m_ring_output_indices;
224  boost::optional<string> m_stealth_public_key;
225 
226  shared_ptr<monero_output> copy(const shared_ptr<monero_output>& src, const shared_ptr<monero_output>& tgt) const;
227  boost::property_tree::ptree to_property_tree() const;
228  virtual void merge(const shared_ptr<monero_output>& self, const shared_ptr<monero_output>& other);
229  };
230 }
Definition: monero_daemon.cpp:58
+
Definition: monero_daemon_model.h:115
+
Definition: monero_daemon_model.h:142
+
Definition: monero_daemon_model.h:68
+
Definition: monero_daemon_model.h:218
+
Definition: monero_daemon_model.h:156
+
Definition: monero_daemon_model.h:99
+
Definition: monero_daemon_model.h:206
+
monero_network_type
Definition: monero_daemon_model.h:88
+
+ + + + diff --git a/docs/monero__utils_8h_source.html b/docs/monero__utils_8h_source.html new file mode 100644 index 0000000..710237b --- /dev/null +++ b/docs/monero__utils_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +monero-cpp-library: utils/monero_utils.h Source File + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero_utils.h
+
+
+
1 
53 #ifndef monero_utils_h
54 #define monero_utils_h
55 
56 #include "wallet/monero_wallet.h"
57 #include "cryptonote_basic/cryptonote_basic.h"
58 #include "serialization/keyvalue_serialization.h" // TODO: consolidate with other binary deps?
59 #include "storages/portable_storage.h"
60 
64 namespace monero_utils
65 {
66  using namespace std;
67  using namespace cryptonote;
68 
69  void json_to_binary(const std::string &json, std::string &bin);
70 
71  void binary_to_json(const std::string &bin, std::string &json);
72 
73  void binary_blocks_to_json(const std::string &bin, std::string &json);
74 
75  shared_ptr<monero_tx_query> deserialize_tx_query(const string& txQueryStr);
76 
77  shared_ptr<monero_transfer_query> deserialize_transfer_query(const string& transfer_query_str);
78 
79  shared_ptr<monero_output_query> deserialize_output_query(const string& output_query_str);
80 
81  shared_ptr<monero_send_request> deserialize_send_request(const string& send_request_str);
82 
83  vector<shared_ptr<monero_key_image>> deserialize_key_images(const string& key_images_json);
84 
85  string serialize(const boost::property_tree::ptree& node);
86 
93  shared_ptr<monero_block> cn_block_to_block(const cryptonote::block& cn_block);
94 
95 
103  shared_ptr<monero_tx> cn_tx_to_tx(const cryptonote::transaction& cn_tx, bool init_as_tx_wallet = false);
104 
110  static std::string get_pruned_tx_json(cryptonote::transaction &tx)
111  {
112  std::stringstream ss;
113  json_archive<true> ar(ss);
114  bool r = tx.serialize_base(ar);
115  CHECK_AND_ASSERT_MES(r, std::string(), "Failed to serialize rct signatures base");
116  return ss.str();
117  }
118 
119  // ----------------------------- PROPERTY TREE ------------------------------
120 
121  // TODO: template implementation here, could move to monero_utils.hpp per https://stackoverflow.com/questions/3040480/c-template-function-compiles-in-header-but-not-implementation
122  template <class T> boost::property_tree::ptree to_property_tree(const vector<shared_ptr<T>>& types) {
123  boost::property_tree::ptree typeNodes;
124  for (const auto& type : types) {
125  typeNodes.push_back(std::make_pair("", type->to_property_tree()));
126  }
127  return typeNodes;
128  }
129 
130  // TODO: template implementation here, could move to monero_utils.hpp per https://stackoverflow.com/questions/3040480/c-template-function-compiles-in-header-but-not-implementation
131  template <class T> boost::property_tree::ptree to_property_tree(const vector<T>& types) {
132  boost::property_tree::ptree typeNodes;
133  for (const auto& type : types) {
134  typeNodes.push_back(std::make_pair("", type.to_property_tree()));
135  }
136  return typeNodes;
137  }
138 
139  boost::property_tree::ptree to_property_tree(const vector<string>& strs);
140  boost::property_tree::ptree to_property_tree(const vector<uint8_t>& nums);
141  boost::property_tree::ptree to_property_tree(const vector<uint32_t>& nums);
142  boost::property_tree::ptree to_property_tree(const vector<uint64_t>& nums);
143 
144  // ------------------------- VALUE RECONCILATION- ---------------------------
145 
146  // TODO: refactor common template code
147  template <class T, typename std::enable_if<std::is_same<T, string>::value, T>::type* = nullptr>
148  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 string& err_msg = "") {
149 
150  // check for equality
151  if (val1 == val2) return val1;
152 
153  // resolve one value none
154  if (val1 == boost::none || val2 == boost::none) {
155  if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
156  else return val1 == boost::none ? val2 : val1;
157  }
158 
159  throw runtime_error(string("Cannot reconcile strings: ") + to_string(val1) + string(" vs ") + to_string(val2) + (!err_msg.empty() ? string(". ") + err_msg : string("")));
160  }
161  template <class T, typename std::enable_if<std::is_same<T, string>::value, T>::type* = nullptr>
162  boost::optional<T> reconcile(const boost::optional<T>& val1, const boost::optional<T>& val2, const string& err_msg = "") {
163  return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
164  }
165 
166  template <class T, typename std::enable_if<std::is_integral<T>::value, T>::type* = nullptr>
167  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 string& err_msg = "") {
168 
169  // check for equality
170  if (val1 == val2) return val1;
171 
172  // resolve one value none
173  if (val1 == boost::none || val2 == boost::none) {
174  if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
175  else return val1 == boost::none ? val2 : val1;
176  }
177 
178  // resolve different numbers
179  if (resolve_max != boost::none) {
180  return *resolve_max ? max(*val1, *val2) : min(*val1, *val2);
181  }
182 
183  // throw runtime_error("Cannot reconcile values " + val1 + " and " + val2 + " with config: [" + resolve_defined + ", " + resolve_true + ", " + resolve_max + "]", val1, val2);
184  throw runtime_error(string("Cannot reconcile integrals: ") + to_string(val1) + string(" vs ") + to_string(val2) + (!err_msg.empty() ? string(". ") + err_msg : string("")));
185  }
186  template <class T, typename std::enable_if<std::is_integral<T>::value, T>::type* = nullptr>
187  boost::optional<T> reconcile(const boost::optional<T>& val1, const boost::optional<T>& val2, const string& err_msg = "") {
188  return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
189  }
190 
191  template <class T, typename std::enable_if<std::is_same<T, bool>::value, T>::type>
192  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 string& err_msg = "") {
193 
194  // check for equality
195  if (val1 == val2) return val1;
196 
197  // resolve one value none
198  if (val1 == boost::none || val2 == boost::none) {
199  if (resolve_defined != boost::none && *resolve_defined == false) return boost::none;
200  else return val1 == boost::none ? val2 : val1;
201  }
202 
203  // resolve different booleans
204  if (resolve_true != boost::none) {
205  return val1 == resolve_true ? val1 : val2; // if resolve true, return true, else return false
206  } else {
207  throw runtime_error(string("Cannot reconcile booleans: ") + to_string(val1) + string(" vs ") + to_string(val2) + (!err_msg.empty() ? string(". ") + err_msg : string("")));
208  }
209  }
210  template <class T, typename std::enable_if<std::is_same<T, bool>::value, T>::type>
211  boost::optional<T> reconcile(const boost::optional<T>& val1, const boost::optional<T>& val2, const string& err_msg = "") {
212  return reconcile(val1, val2, boost::none, boost::none, boost::none, err_msg);
213  }
214 
215  template <class T>
216  vector<T> reconcile(const vector<T>& v1, const vector<T>& v2, const string& err_msg = "") {
217 
218  // check for equality
219  if (v1 == v2) return v1;
220 
221  // resolve one vector empty
222  if (v1.empty()) return v2;
223  if (v2.empty()) return v1;
224 
225  // otherwise cannot reconcile
226  throw runtime_error("Cannot reconcile vectors" + (!err_msg.empty() ? string(". ") + err_msg : string("")));
227  }
228 
229 // template <class T>
230 // boost::optional<T> reconcile(const boost::optional<T>& val1, const boost::optional<T>& val2) {
231 // return reconcile(val1, val2, boost::none, boost::none, boost::none);
232 // }
233 }
234 #endif /* monero_utils_h */
shared_ptr< monero_block > cn_block_to_block(const cryptonote::block &cn_block)
Definition: monero_utils.cpp:494
+
shared_ptr< monero_tx > cn_tx_to_tx(const cryptonote::transaction &cn_tx, bool init_as_tx_wallet=false)
Definition: monero_utils.cpp:510
+
Definition: monero_utils.h:64
+
+ + + + diff --git a/docs/monero__wallet_8h_source.html b/docs/monero__wallet_8h_source.html new file mode 100644 index 0000000..e04afe6 --- /dev/null +++ b/docs/monero__wallet_8h_source.html @@ -0,0 +1,102 @@ + + + + + + + +monero-cpp-library: wallet/monero_wallet.h Source File + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero_wallet.h
+
+
+
1 
53 #pragma once
54 
55 #include "monero_wallet_model.h"
56 #include "wallet/wallet2.h"
57 
58 #include <boost/thread/mutex.hpp>
59 #include <boost/thread/thread.hpp>
60 #include <boost/thread/condition_variable.hpp>
61 
62 using namespace std;
63 using namespace crypto;
64 using namespace monero;
65 
69 namespace monero {
70 
71  // --------------------------------- LISTENERS ------------------------------
72 
79  public:
80 
90  virtual void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string& message) {}
91  };
92 
97  public:
98 
104  virtual void on_new_block(uint64_t height) {};
105 
111  virtual void on_output_received(const monero_output_wallet& output) {};
112 
118  virtual void on_output_spent(const monero_output_wallet& output) {};
119  };
120 
121  // forward declaration of internal wallet2 listener
122  struct wallet2_listener;
123 
124  // ---------------------------- WALLET INTERFACE ----------------------------
125 
130 
131  public:
132 
139  static bool wallet_exists(const string& path);
140 
148  static monero_wallet* open_wallet(const string& path, const string& password, const monero_network_type network_type);
149 
159  static monero_wallet* create_wallet_random(const string& path, const string& password);
160  static monero_wallet* create_wallet_random(const string& path, const string& password, const monero_network_type network_type, const monero_rpc_connection& daemon_connection, const string& language);
161 
172  static monero_wallet* create_wallet_from_mnemonic(const string& path, const string& password, const monero_network_type network_type, const string& mnemonic);
173  static monero_wallet* create_wallet_from_mnemonic(const string& path, const string& password, const monero_network_type network_type, const string& mnemonic, const monero_rpc_connection& daemon_connection, uint64_t restore_height);
174 
188  static monero_wallet* create_wallet_from_keys(const string& path, const string& password, const monero_network_type network_type, const string& address, const string& view_key, const string& spend_key);
189  static monero_wallet* create_wallet_from_keys(const string& path, const string& password, const monero_network_type network_type, const string& address, const string& view_key, const string& spend_key, const monero_rpc_connection& daemon_connection, uint64_t restore_height);
190  static monero_wallet* create_wallet_from_keys(const string& path, const string& password, const monero_network_type network_type, const string& address, const string& view_key, const string& spend_key, const monero_rpc_connection& daemon_connection, uint64_t restore_height, const string& language);
191 
195  ~monero_wallet();
196 
202  uint64_t get_height() const;
203 
209  uint64_t get_restore_height() const;
210 
216  void set_restore_height(uint64_t restore_height);
217 
223  uint64_t get_daemon_height() const;
224 
230  uint64_t get_daemon_max_peer_height() const;
231 
239  void set_daemon_connection(const string& uri, const string& username = "", const string& password = "");
240 
246  void set_daemon_connection(const monero_rpc_connection& connection);
247 
253  shared_ptr<monero_rpc_connection> get_daemon_connection() const;
254 
260  bool is_connected() const;
261 
267  bool is_daemon_synced() const;
268 
274  bool is_synced() const;
275 
281  string get_path() const;
282 
288  monero_network_type get_network_type() const;
289 
295  string get_seed() const;
296 
302  string get_mnemonic() const;
303 
309  string get_language() const;
310 
316  vector<string> get_languages() const;
317 
323  string get_public_view_key() const;
324 
330  string get_private_view_key() const;
331 
337  string get_public_spend_key() const;
338 
344  string get_private_spend_key() const;
345 
351  string get_primary_address() const;
352 
360  string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const;
361 
369  monero_subaddress get_address_index(const string& address) const;
370 
378  monero_integrated_address get_integrated_address(const string& standard_address = "", const string& payment_id = "") const;
379 
386  monero_integrated_address decode_integrated_address(const string& integrated_address) const;
387 
393  void add_listener(monero_wallet_listener& listener);
394 
400  void remove_listener(monero_wallet_listener& listener);
401 
405  set<monero_wallet_listener*> get_listeners();
406 
412  monero_sync_result sync();
413 
421 
428  monero_sync_result sync(uint64_t start_height);
429 
437  monero_sync_result sync(uint64_t start_height, monero_sync_listener& listener);
438 
442  void start_syncing();
443 
447  void stop_syncing();
448 
456  void rescan_blockchain();
457 
458 // /**
459 // * Indicates if importing multisig data is needed for returning a correct balance.
460 // *
461 // * @return true if importing multisig data is needed for returning a correct balance, false otherwise
462 // */
463 // public boolean isMultisigImportNeeded();
464 
470  uint64_t get_balance() const;
471 
478  uint64_t get_balance(uint32_t account_idx) const;
479 
487  uint64_t get_balance(uint32_t account_idx, uint32_t subaddress_idx) const;
488 
494  uint64_t get_unlocked_balance() const;
495 
502  uint64_t get_unlocked_balance(uint32_t account_idx) const;
503 
511  uint64_t get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const;
512 
518  vector<monero_account> get_accounts() const;
519 
526  vector<monero_account> get_accounts(bool include_subaddresses) const;
527 
534  vector<monero_account> get_accounts(const string& tag) const;
535 
543  vector<monero_account> get_accounts(bool include_subaddresses, const string& tag) const;
544 
551  monero_account get_account(uint32_t account_idx) const;
552 
560  monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const;
561 
568  monero_account create_account(const string& label = "");
569 
576  vector<monero_subaddress> get_subaddresses(const uint32_t account_idx) const;
577 
585  vector<monero_subaddress> get_subaddresses(const uint32_t account_idx, const vector<uint32_t>& subaddress_indices) const;
586 
594  monero_subaddress getSubaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const;
595 
603  monero_subaddress create_subaddress(uint32_t account_idx, const string& label = "");
604 
605 // /**
606 // * Get a wallet transaction by id.
607 // *
608 // * @param tx_id is an id of a transaction to get
609 // * @return monero_tx_wallet is the identified transactions
610 // */
611 // public monero_tx_wallet getTx(string tx_id);
612 
619  vector<shared_ptr<monero_tx_wallet>> get_txs() const;
620 
621 // /**
622 // * Get wallet transactions by id.
623 // *
624 // * @param tx_ids are ids of transactions to get
625 // * @return the identified transactions
626 // */
627 // public List<monero_tx_wallet> get_txs(Collection<string> tx_ids);
628 
641  vector<shared_ptr<monero_tx_wallet>> get_txs(const monero_tx_query& request) const;
642 
643 // /**
644 // * Get all incoming and outgoing transfers to and from this wallet. An
645 // * outgoing transfer represents a total amount sent from one or more
646 // * subaddresses within an account to individual destination addresses, each
647 // * with their own amount. An incoming transfer represents a total amount
648 // * received into a subaddress within an account. Transfers belong to
649 // * transactions which are stored on the blockchain.
650 // *
651 // * @return all wallet transfers
652 // */
653 // public List<monero_transfer> get_transfers();
654 //
655 // /**
656 // * Get incoming and outgoing transfers to and from an account. An outgoing
657 // * transfer represents a total amount sent from one or more subaddresses
658 // * within an account to individual destination addresses, each with their
659 // * own amount. An incoming transfer represents a total amount received into
660 // * a subaddress within an account. Transfers belong to transactions which
661 // * are stored on the blockchain.
662 // *
663 // * @param account_idx is the index of the account to get transfers from
664 // * @return transfers to/from the account
665 // */
666 // public List<monero_transfer> get_transfers(int account_idx);
667 //
668 // /**
669 // * Get incoming and outgoing transfers to and from a subaddress. An outgoing
670 // * transfer represents a total amount sent from one or more subaddresses
671 // * within an account to individual destination addresses, each with their
672 // * own amount. An incoming transfer represents a total amount received into
673 // * a subaddress within an account. Transfers belong to transactions which
674 // * are stored on the blockchain.
675 // *
676 // * @param account_idx is the index of the account to get transfers from
677 // * @param subaddress_idx is the index of the subaddress to get transfers from
678 // * @return transfers to/from the subaddress
679 // */
680 // public List<monero_transfer> get_transfers(int account_idx, int subaddress_idx);
681 
698  vector<shared_ptr<monero_transfer>> get_transfers(const monero_transfer_query& request) const;
699 
700 // /**
701 // * Get outputs created from previous transactions that belong to the wallet
702 // * (i.e. that the wallet can spend one time). Outputs are part of
703 // * transactions which are stored in blocks on the blockchain.
704 // *
705 // * @return List<monero_output_wallet> are all wallet outputs
706 // */
707 // public List<monero_output_wallet> get_outputs();
708 
721  vector<shared_ptr<monero_output_wallet>> get_outputs(const monero_output_query& request) const;
722 
728  string get_outputs_hex() const;
729 
736  int import_outputs_hex(const string& outputs_hex);
737 
743  vector<shared_ptr<monero_key_image>> get_key_images() const;
744 
751  shared_ptr<monero_key_image_import_result> import_key_images(const vector<shared_ptr<monero_key_image>>& key_images);
752 
753 // /**
754 // * Get new key images from the last imported outputs.
755 // *
756 // * @return the key images from the last imported outputs
757 // */
758 // public List<monero_key_image> getNewKeyImagesFromLastImport();
759 
767  shared_ptr<monero_tx_wallet> create_tx(monero_send_request& request);
768 
778  shared_ptr<monero_tx_wallet> create_tx(uint32_t account_index, string address, uint64_t amount);
779 
790  shared_ptr<monero_tx_wallet> create_tx(int account_index, string address, uint64_t amount, monero_send_priority priority);
791 
799  vector<shared_ptr<monero_tx_wallet>> create_txs(monero_send_request& request);
800 
807  string relay_tx(const string& tx_metadata);
808 
815  string relay_tx(const monero_tx_wallet& tx);
816 
823  vector<string> relay_txs(const vector<string>& tx_metadatas);
824 
831  vector<string> relay_txs(const vector<shared_ptr<monero_tx_wallet>>& txs);
832 
840  shared_ptr<monero_tx_wallet> send(monero_send_request& request);
841 
851  shared_ptr<monero_tx_wallet> send(uint32_t account_index, string address, uint64_t amount);
852 
863  shared_ptr<monero_tx_wallet> send(uint32_t account_index, string address, uint64_t amount, monero_send_priority priority);
864 
872  vector<shared_ptr<monero_tx_wallet>> send_split(const monero_send_request& request);
873 
874 //
875 // /**
876 // * Create and relay a transaction which transfers funds from this wallet to
877 // * a destination address.
878 // *
879 // * @param account_index is the index of the account to draw funds from
880 // * @param address is the destination address to send funds to
881 // * @param sendAmount is the amount being sent
882 // * @return the resulting transaction
883 // */
884 // public monero_tx_wallet send(int account_index, string address, BigInteger sendAmount);
885 //
886 // /**
887 // * Create and relay a transaction which transfers funds from this wallet to
888 // * a destination address.
889 // *
890 // * @param account_index is the index of the account to draw funds from
891 // * @param address is the destination address to send funds to
892 // * @param sendAmount is the amount being sent
893 // * @param priority is the send priority (default normal)
894 // * @return the resulting transaction
895 // */
896 // public monero_tx_wallet send(int account_index, string address, BigInteger sendAmount, monero_send_priority priority);
897 //
898 // /**
899 // * Create and relay (depending on configuration) one or more transactions
900 // * which transfer funds from this wallet to one or more destination.
901 // *
902 // * @param request configures the transactions
903 // * @return the resulting transactions
904 // */
905 // public List<monero_tx_wallet> send_split(monero_send_request request);
906 //
907 // /**
908 // * Create and relay one or more transactions which transfer funds from this
909 // * wallet to one or more destination.
910 // *
911 // * @param account_index is the index of the account to draw funds from
912 // * @param address is the destination address to send funds to
913 // * @param sendAmount is the amount being sent
914 // * @return the resulting transactions
915 // */
916 // public List<monero_tx_wallet> send_split(int account_index, string address, BigInteger sendAmount);
917 //
918 // /**
919 // * Create and relay one or more transactions which transfer funds from this
920 // * wallet to one or more destination.
921 // *
922 // * @param account_index is the index of the account to draw funds from
923 // * @param address is the destination address to send funds to
924 // * @param sendAmount is the amount being sent
925 // * @param priority is the send priority (default normal)
926 // * @return the resulting transactions
927 // */
928 // public List<monero_tx_wallet> send_split(int account_index, string address, BigInteger sendAmount, monero_send_priority priority);
929 
936  shared_ptr<monero_tx_wallet> sweep_output(const monero_send_request& request) const;
937 
938 // /**
939 // * Sweep an output with a given key image.
940 // *
941 // * @param address is the destination address to send to
942 // * @param key_image is the key image hex of the output to sweep
943 // * @return the resulting transaction from sweeping an output
944 // */
945 // public monero_tx_wallet sweep_output(string address, string key_image);
946 //
947 // /**
948 // * Sweep an output with a given key image.
949 // *
950 // * @param address is the destination address to send to
951 // * @param key_image is the key image hex of the output to sweep
952 // * @param priority is the transaction priority (optional)
953 // * @return the resulting transaction from sweeping an output
954 // */
955 // public monero_tx_wallet sweep_output(string address, string key_image, monero_send_priority priority);
956 //
957 // /**
958 // * Sweep a subaddress's unlocked funds to an address.
959 // *
960 // * @param account_idx is the index of the account
961 // * @param subaddress_idx is the index of the subaddress
962 // * @param address is the address to sweep the subaddress's funds to
963 // * @return the resulting transactions
964 // */
965 // public List<monero_tx_wallet> sweepSubaddress(int account_idx, int subaddress_idx, string address);
966 //
967 // /**
968 // * Sweep an acount's unlocked funds to an address.
969 // *
970 // * @param account_idx is the index of the account
971 // * @param address is the address to sweep the account's funds to
972 // * @return the resulting transactions
973 // */
974 // public List<monero_tx_wallet> sweepAccount(int account_idx, string address);
975 //
976 // /**
977 // * Sweep the wallet's unlocked funds to an address.
978 // *
979 // * @param address is the address to sweep the wallet's funds to
980 // * @return the resulting transactions
981 // */
982 // public List<monero_tx_wallet> sweepWallet(string address);
983 //
984 // /**
985 // * Sweep all unlocked funds according to the given request.
986 // *
987 // * @param request is the sweep configuration
988 // * @return the resulting transactions
989 // */
990 // public List<monero_tx_wallet> sweepAllUnlocked(monero_send_request request);
991 //
992 // /**
993 // * Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix.
994 // *
995 // * NOTE: Dust only exists pre RCT, so this method will return "no dust to sweep" on new wallets.
996 // *
997 // * @return the resulting transactions from sweeping dust
998 // */
999 // public List<monero_tx_wallet> sweep_dust();
1000 
1007  vector<shared_ptr<monero_tx_wallet>> sweep_dust(bool do_not_relay = false);
1008 
1015  string get_tx_note(const string& tx_id) const;
1016 
1023  vector<string> get_tx_notes(const vector<string>& tx_ids) const;
1024 
1031  void set_tx_note(const string& tx_id, const string& note);
1032 
1039  void set_tx_notes(const vector<string>& tx_ids, const vector<string>& notes);
1040 
1047  string sign(const string& msg) const;
1048 
1057  bool verify(const string& msg, const string& address, const string& signature) const;
1058 
1065  string get_tx_key(const string& tx_id) const;
1066 
1075  shared_ptr<monero_check_tx> check_tx_key(const string& tx_id, const string& txKey, const string& address) const;
1076 
1077 // /**
1078 // * Get a transaction signature to prove it.
1079 // *
1080 // * @param tx_id specifies the transaction to prove
1081 // * @param address is the destination public address of the transaction
1082 // * @return the transaction signature
1083 // */
1084 // string get_tx_proof(const string& tx_id, const string& address) const;
1085 
1094  string get_tx_proof(const string& tx_id, const string& address, const string& message) const;
1095 
1105  shared_ptr<monero_check_tx> check_tx_proof(const string& tx_id, const string& address, const string& message, const string& signature) const;
1106 
1107 // /**
1108 // * Generate a signature to prove a spend. Unlike proving a transaction, it does not require the destination public address.
1109 // *
1110 // * @param tx_id specifies the transaction to prove
1111 // * @return the transaction signature
1112 // */
1113 // string get_spend_proof(const string& tx_id) const;
1114 
1122  string get_spend_proof(const string& tx_id, const string& message) const;
1123 
1132  bool check_spend_proof(const string& tx_id, const string& message, const string& signature) const;
1133 
1140  string get_reserve_proof_wallet(const string& message) const;
1141 
1150  string get_reserve_proof_account(uint32_t account_idx, uint64_t amount, const string& message) const;
1151 
1160  shared_ptr<monero_check_reserve> check_reserve_proof(const string& address, const string& message, const string& signature) const;
1161 
1162 // /**
1163 // * Get all address book entries.
1164 // *
1165 // * @return the address book entries
1166 // */
1167 // public List<MoneroAddressBookEntry> getAddressBookEntries();
1168 //
1169 // /**
1170 // * Get address book entries.
1171 // *
1172 // * @param entryIndices are indices of the entries to get
1173 // * @return the address book entries
1174 // */
1175 // public List<MoneroAddressBookEntry> getAddressBookEntries(Collection<Integer> entryIndices);
1176 //
1177 // /**
1178 // * Add an address book entry.
1179 // *
1180 // * @param address is the entry address
1181 // * @param description is the entry description (optional)
1182 // * @return the index of the added entry
1183 // */
1184 // public int addAddressBookEntry(string address, string description);
1185 //
1186 // /**
1187 // * Add an address book entry.
1188 // *
1189 // * @param address is the entry address
1190 // * @param description is the entry description (optional)
1191 // * @param payment_id is the entry paymet id (optional)
1192 // * @return the index of the added entry
1193 // */
1194 // public int addAddressBookEntry(string address, string description, string payment_id);
1195 //
1196 // /**
1197 // * Delete an address book entry.
1198 // *
1199 // * @param entryIdx is the index of the entry to delete
1200 // */
1201 // public void deleteAddressBookEntry(int entryIdx);
1202 //
1203 // /**
1204 // * Tag accounts.
1205 // *
1206 // * @param tag is the tag to apply to the specified accounts
1207 // * @param accountIndices are the indices of the accounts to tag
1208 // */
1209 // public void tagAccounts(string tag, Collection<Integer> accountIndices);
1210 //
1211 // /**
1212 // * Untag acconts.
1213 // *
1214 // * @param accountIndices are the indices of the accounts to untag
1215 // */
1216 // public void untagAccounts(Collection<Integer> accountIndices);
1217 //
1218 // /**
1219 // * Return all account tags.
1220 // *
1221 // * @return the wallet's account tags
1222 // */
1223 // public List<MoneroAccountTag> getAccountTags();
1224 //
1225 // /**
1226 // * Sets a human-readable description for a tag.
1227 // *
1228 // * @param tag is the tag to set a description for
1229 // * @param label is the label to set for the tag
1230 // */
1231 // public void setAccountTagLabel(string tag, string label);
1232 
1239  string create_payment_uri(const monero_send_request& request) const;
1240 
1247  shared_ptr<monero_send_request> parse_payment_uri(const string& uri) const;
1248 
1255  void set_attribute(const string& key, const string& val);
1256 
1263  string get_attribute(const string& key) const;
1264 
1272  void start_mining(boost::optional<uint64_t> num_threads, boost::optional<bool> background_mining, boost::optional<bool> ignore_battery);
1273 
1277  void stop_mining();
1278 
1284  uint64_t wait_for_next_block();
1285 
1289  void save();
1290 
1297  void move_to(string path, string password);
1298 
1302  void close();
1303 
1304  // --------------------------------- PRIVATE --------------------------------
1305 
1306  private:
1307  friend struct wallet2_listener;
1308  unique_ptr<tools::wallet2> m_w2; // internal wallet implementation
1309  unique_ptr<wallet2_listener> m_w2_listener; // internal wallet implementation listener
1310  set<monero_wallet_listener*> m_listeners; // external wallet listeners
1311 
1312  void init_common();
1313  vector<monero_subaddress> get_subaddresses_aux(uint32_t account_idx, const vector<uint32_t>& subaddress_indices, const vector<tools::wallet2::transfer_details>& transfers) const;
1314 
1315  // blockchain sync management
1316  mutable std::atomic<bool> m_is_synced; // whether or not wallet is synced
1317  mutable std::atomic<bool> m_is_connected; // cache connection status to avoid unecessary RPC calls
1318  boost::condition_variable m_sync_cv; // to make sync threads woke
1319  boost::mutex m_sync_mutex; // synchronize sync() and syncAsync() requests
1320  std::atomic<bool> m_rescan_on_sync; // whether or not to rescan on sync
1321  std::atomic<bool> m_syncing_enabled; // whether or not auto sync is enabled
1322  std::atomic<int> m_syncing_interval; // auto sync loop interval in milliseconds
1323  boost::thread m_syncing_thread; // thread for auto sync loop
1324  boost::mutex m_syncing_mutex; // synchronize auto sync loop
1325  std::atomic<bool> m_syncing_thread_done; // whether or not the syncing thread is shut down
1326  void sync_thread_func(); // function to run thread with syncing loop
1327  monero_sync_result lock_and_sync(boost::optional<uint64_t> start_height = boost::none); // internal function to synchronize request to sync and rescan
1328  monero_sync_result sync_aux(boost::optional<uint64_t> start_height = boost::none); // internal function to immediately block, sync, and report progress
1329  };
1330 }
Definition: monero_daemon.cpp:58
+
Definition: monero_wallet.h:129
+
Definition: monero_wallet_model.h:297
+
virtual void on_output_spent(const monero_output_wallet &output)
Definition: monero_wallet.h:118
+
Definition: monero_wallet.h:96
+
Definition: monero_wallet.h:78
+
Definition: monero_wallet_model.h:273
+
Definition: monero_wallet_model.h:254
+
monero_send_priority
Definition: monero_wallet_model.h:308
+
Definition: monero_wallet_model.h:68
+
virtual void on_output_received(const monero_output_wallet &output)
Definition: monero_wallet.h:111
+
Definition: monero_wallet_model.h:239
+
Definition: monero_wallet_model.h:318
+
virtual void on_new_block(uint64_t height)
Definition: monero_wallet.h:104
+
Definition: monero_wallet_model.h:107
+
Definition: monero_daemon_model.h:99
+
Definition: monero_wallet_model.h:78
+
virtual void on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)
Definition: monero_wallet.h:90
+
Definition: monero_wallet_model.h:219
+
Definition: monero_wallet_model.h:199
+
monero_network_type
Definition: monero_daemon_model.h:88
+
Definition: monero_wallet.cpp:657
+
+ + + + diff --git a/docs/monero__wallet__model_8h_source.html b/docs/monero__wallet__model_8h_source.html new file mode 100644 index 0000000..b31d36b --- /dev/null +++ b/docs/monero__wallet__model_8h_source.html @@ -0,0 +1,103 @@ + + + + + + + +monero-cpp-library: wallet/monero_wallet_model.h Source File + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero_wallet_model.h
+
+
+
1 
53 #pragma once
54 
55 #include "daemon/monero_daemon_model.h"
56 
57 using namespace std;
58 using namespace monero;
59 
63 namespace monero {
64 
69  uint64_t m_num_blocks_fetched;
70  bool m_received_money;
72  monero_sync_result(const uint64_t num_blocks_fetched, const bool received_money) : m_num_blocks_fetched(num_blocks_fetched), m_received_money(received_money) {}
73  };
74 
79  boost::optional<uint32_t> m_account_index;
80  boost::optional<uint32_t> m_index;
81  boost::optional<string> m_address;
82  boost::optional<string> m_label;
83  boost::optional<uint64_t> m_balance;
84  boost::optional<uint64_t> m_unlocked_balance;
85  boost::optional<uint32_t> m_num_unspent_outputs;
86  boost::optional<bool> m_is_used;
87  boost::optional<uint32_t> m_num_blocks_to_unlock;
88 // BEGIN_KV_SERIALIZE_MAP()
89 // KV_SERIALIZE(m_account_index)
90 // KV_SERIALIZE(index)
91 // KV_SERIALIZE(address)
92 // KV_SERIALIZE(label)
93 // KV_SERIALIZE(balance)
94 // KV_SERIALIZE(m_unlocked_balance)
95 // KV_SERIALIZE(m_num_unspent_outputs)
96 // KV_SERIALIZE(m_is_used)
97 // KV_SERIALIZE(m_num_blocks_to_unlock)
98 // END_KV_SERIALIZE_MAP()
99 
100  boost::property_tree::ptree to_property_tree() const;
101  //void merge(const shared_ptr<monero_subaddress>& self, const shared_ptr<monero_subaddress>& other);
102  };
103 
108  boost::optional<uint32_t> m_index;
109  boost::optional<string> m_primary_address;
110  boost::optional<uint64_t> m_balance;
111  boost::optional<uint64_t> m_unlocked_balance;
112  boost::optional<string> m_tag;
113  vector<monero_subaddress> m_subaddresses;
114 // BEGIN_KV_SERIALIZE_MAP()
115 // KV_SERIALIZE(index)
116 // KV_SERIALIZE(m_primary_address)
117 // KV_SERIALIZE(label)
118 // KV_SERIALIZE(balance)
119 // KV_SERIALIZE(m_unlocked_balance)
120 // KV_SERIALIZE(tag)
121 // KV_SERIALIZE(subaddresses)
122 // END_KV_SERIALIZE_MAP()
123 
124  boost::property_tree::ptree to_property_tree() const;
125  };
126 
127  // forward declarations
128  struct monero_tx_wallet;
129  struct monero_tx_query;
130 
135  boost::optional<string> m_address;
136  boost::optional<uint64_t> m_amount;
137 
138  monero_destination() {}
139  monero_destination(const string& address, uint64_t amount) : m_address(address), m_amount(amount) {}
140  shared_ptr<monero_destination> copy(const shared_ptr<monero_destination>& src, const shared_ptr<monero_destination>& tgt) const;
141  boost::property_tree::ptree to_property_tree() const;
142  };
143 
148  shared_ptr<monero_tx_wallet> m_tx;
149  boost::optional<uint64_t> m_amount;
150  boost::optional<uint32_t> m_account_index;
151  boost::optional<uint32_t> m_num_suggested_confirmations;
152 
153  virtual boost::optional<bool> is_incoming() const = 0; // derived class must implement
154  shared_ptr<monero_transfer> copy(const shared_ptr<monero_transfer>& src, const shared_ptr<monero_transfer>& tgt) const;
155  boost::optional<bool> is_outgoing() const {
156  if (is_incoming() == boost::none) return boost::none;
157  return !(*is_incoming());
158  }
159  boost::property_tree::ptree to_property_tree() const;
160  void merge(const shared_ptr<monero_transfer>& self, const shared_ptr<monero_transfer>& other);
161  };
162 
167  boost::optional<uint32_t> m_subaddress_index;
168  boost::optional<string> m_address;
169 
170  shared_ptr<monero_incoming_transfer> copy(const shared_ptr<monero_transfer>& src, const shared_ptr<monero_transfer>& tgt) const;
171  shared_ptr<monero_incoming_transfer> copy(const shared_ptr<monero_incoming_transfer>& src, const shared_ptr<monero_incoming_transfer>& tgt) const;
172  boost::optional<bool> is_incoming() const;
173  boost::property_tree::ptree to_property_tree() const;
174  void merge(const shared_ptr<monero_transfer>& self, const shared_ptr<monero_transfer>& other);
175  void merge(const shared_ptr<monero_incoming_transfer>& self, const shared_ptr<monero_incoming_transfer>& other);
176  };
177 
182  vector<uint32_t> m_subaddress_indices;
183  vector<string> m_addresses;
184  vector<shared_ptr<monero_destination>> m_destinations;
185 
186  shared_ptr<monero_outgoing_transfer> copy(const shared_ptr<monero_transfer>& src, const shared_ptr<monero_transfer>& tgt) const;
187  shared_ptr<monero_outgoing_transfer> copy(const shared_ptr<monero_outgoing_transfer>& src, const shared_ptr<monero_outgoing_transfer>& tgt) const;
188  boost::optional<bool> is_incoming() const;
189  boost::property_tree::ptree to_property_tree() const;
190  void merge(const shared_ptr<monero_transfer>& self, const shared_ptr<monero_transfer>& other);
191  void merge(const shared_ptr<monero_outgoing_transfer>& self, const shared_ptr<monero_outgoing_transfer>& other);
192  };
193 
200  boost::optional<bool> m_is_incoming;
201  boost::optional<string> m_address;
202  vector<string> m_addresses;
203  boost::optional<uint32_t> m_subaddress_index;
204  vector<uint32_t> m_subaddress_indices;
205  vector<shared_ptr<monero_destination>> m_destinations;
206  boost::optional<bool> m_has_destinations;
207  boost::optional<shared_ptr<monero_tx_query>> m_tx_query;
208 
209  shared_ptr<monero_transfer_query> copy(const shared_ptr<monero_transfer>& src, const shared_ptr<monero_transfer>& tgt) const;
210  shared_ptr<monero_transfer_query> copy(const shared_ptr<monero_transfer_query>& src, const shared_ptr<monero_transfer_query>& tgt) const;
211  boost::optional<bool> is_incoming() const;
212  boost::property_tree::ptree to_property_tree() const;
213  bool meets_criteria(monero_transfer* transfer) const;
214  };
215 
220  boost::optional<uint32_t> m_account_index;
221  boost::optional<uint32_t> m_subaddress_index;
222  boost::optional<bool> m_is_spent;
223  boost::optional<bool> m_is_unlocked;
224  boost::optional<bool> m_is_frozen;
225 
226  shared_ptr<monero_output_wallet> copy(const shared_ptr<monero_output>& src, const shared_ptr<monero_output>& tgt) const;
227  shared_ptr<monero_output_wallet> copy(const shared_ptr<monero_output_wallet>& src, const shared_ptr<monero_output_wallet>& tgt) const;
228  boost::property_tree::ptree to_property_tree() const;
229  void merge(const shared_ptr<monero_output>& self, const shared_ptr<monero_output>& other);
230  void merge(const shared_ptr<monero_output_wallet>& self, const shared_ptr<monero_output_wallet>& other);
231  };
232 
240  vector<uint32_t> m_subaddress_indices;
241  boost::optional<shared_ptr<monero_tx_query>> m_tx_query;
242 
243  // TODO: necessary to override all super classes?
244  shared_ptr<monero_output_query> copy(const shared_ptr<monero_output>& src, const shared_ptr<monero_output>& tgt) const;
245  shared_ptr<monero_output_query> copy(const shared_ptr<monero_output_wallet>& src, const shared_ptr<monero_output_wallet>& tgt) const;
246  shared_ptr<monero_output_query> copy(const shared_ptr<monero_output_query>& src, const shared_ptr<monero_output_query>& tgt) const;
247  boost::property_tree::ptree to_property_tree() const;
248  bool meets_criteria(monero_output_wallet* output) const;
249  };
250 
254  struct monero_tx_wallet : public monero_tx {
255  vector<shared_ptr<monero_incoming_transfer>> m_incoming_transfers;
256  boost::optional<shared_ptr<monero_outgoing_transfer>> m_outgoing_transfer;
257  boost::optional<string> m_note;
258 
259  shared_ptr<monero_tx_wallet> copy(const shared_ptr<monero_tx>& src, const shared_ptr<monero_tx>& tgt) const;
260  shared_ptr<monero_tx_wallet> copy(const shared_ptr<monero_tx_wallet>& src, const shared_ptr<monero_tx_wallet>& tgt) const;
261  bool is_incoming() const;
262  bool is_outgoing() const;
263  boost::property_tree::ptree to_property_tree() const;
264  void merge(const shared_ptr<monero_tx>& self, const shared_ptr<monero_tx>& other);
265  void merge(const shared_ptr<monero_tx_wallet>& self, const shared_ptr<monero_tx_wallet>& other);
266  };
267 
274  boost::optional<bool> m_is_outgoing;
275  boost::optional<bool> m_is_incoming;
276  vector<string> m_tx_ids;
277  boost::optional<bool> m_has_payment_id;
278  vector<string> m_payment_ids;
279  boost::optional<uint64_t> m_height;
280  boost::optional<uint64_t> m_min_height;
281  boost::optional<uint64_t> m_max_height;
282  boost::optional<uint64_t> m_include_outputs;
283  boost::optional<shared_ptr<monero_transfer_query>> m_transfer_query;
284  boost::optional<shared_ptr<monero_output_query>> m_output_query;
285 
286  // TODO: necessary to override all super classes?
287  shared_ptr<monero_tx_query> copy(const shared_ptr<monero_tx>& src, const shared_ptr<monero_tx>& tgt) const;
288  shared_ptr<monero_tx_query> copy(const shared_ptr<monero_tx_wallet>& src, const shared_ptr<monero_tx_wallet>& tgt) const;
289  shared_ptr<monero_tx_query> copy(const shared_ptr<monero_tx_query>& src, const shared_ptr<monero_tx_query>& tgt) const;
290  boost::property_tree::ptree to_property_tree() const;
291  bool meets_criteria(monero_tx_wallet* tx) const;
292  };
293 
298  string m_standard_address;
299  string m_payment_id;
300  string m_integrated_address;
301 
302  boost::property_tree::ptree to_property_tree() const;
303  };
304 
308  enum monero_send_priority : uint8_t {
309  DEFAULT = 0,
310  UNIMPORTANT,
311  NORMAL,
312  ELEVATED
313  };
314 
319  vector<shared_ptr<monero_destination>> m_destinations;
320  boost::optional<string> m_payment_id;
321  boost::optional<monero_send_priority> m_priority;
322  boost::optional<uint32_t> m_mixin;
323  boost::optional<uint32_t> m_ring_size;
324  boost::optional<uint64_t> m_fee;
325  boost::optional<uint32_t> m_account_index;
326  vector<uint32_t> m_subaddress_indices;
327  boost::optional<uint64_t> m_unlock_time;
328  boost::optional<bool> m_can_split;
329  boost::optional<bool> m_do_not_relay;
330  boost::optional<string> m_note;
331  boost::optional<string> m_recipient_name;
332  boost::optional<uint64_t> m_below_amount;
333  boost::optional<bool> m_sweep_each_subaddress;
334  boost::optional<string> m_key_image;
335 
336  boost::property_tree::ptree to_property_tree() const;
337  };
338 
343  boost::optional<uint64_t> m_height;
344  boost::optional<uint64_t> m_spent_amount;
345  boost::optional<uint64_t> m_unspent_amount;
346 
347  boost::property_tree::ptree to_property_tree() const;
348  };
349 
354  bool m_is_good;
355 
356  boost::property_tree::ptree to_property_tree() const;
357  };
358 
362  struct monero_check_tx : public monero_check {
363  boost::optional<bool> m_in_tx_pool;
364  boost::optional<uint64_t> m_num_confirmations;
365  boost::optional<uint64_t> m_received_amount;
366 
367  boost::property_tree::ptree to_property_tree() const;
368  };
369 
374  boost::optional<uint64_t> m_total_amount;
375  boost::optional<uint64_t> m_unconfirmed_spent_amount;
376 
377  boost::property_tree::ptree to_property_tree() const;
378  };
379 }
Definition: monero_daemon.cpp:58
+
Definition: monero_wallet_model.h:134
+
Definition: monero_wallet_model.h:297
+
Definition: monero_wallet_model.h:166
+
Definition: monero_wallet_model.h:273
+
Definition: monero_daemon_model.h:68
+
Definition: monero_daemon_model.h:218
+
Definition: monero_daemon_model.h:156
+
Definition: monero_wallet_model.h:254
+
monero_send_priority
Definition: monero_wallet_model.h:308
+
Definition: monero_wallet_model.h:373
+
Definition: monero_wallet_model.h:181
+
Definition: monero_wallet_model.h:68
+
Definition: monero_wallet_model.h:362
+
Definition: monero_wallet_model.h:239
+
Definition: monero_wallet_model.h:318
+
Definition: monero_wallet_model.h:107
+
Definition: monero_wallet_model.h:78
+
Definition: monero_wallet_model.h:219
+
Definition: monero_wallet_model.h:199
+
Definition: monero_wallet_model.h:342
+
Definition: monero_wallet_model.h:353
+
Definition: monero_wallet_model.h:147
+
+ + + + diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html new file mode 100644 index 0000000..08e907e --- /dev/null +++ b/docs/namespacemembers.html @@ -0,0 +1,101 @@ + + + + + + + +monero-cpp-library: Namespace Members + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented namespace members with links to the namespaces they belong to:
+
+ + + + diff --git a/docs/namespacemembers_enum.html b/docs/namespacemembers_enum.html new file mode 100644 index 0000000..14f8f03 --- /dev/null +++ b/docs/namespacemembers_enum.html @@ -0,0 +1,80 @@ + + + + + + + +monero-cpp-library: Namespace Members + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ 
    +
  • monero_network_type +: monero +
  • +
  • monero_send_priority +: monero +
  • +
+
+ + + + diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html new file mode 100644 index 0000000..b5df1b2 --- /dev/null +++ b/docs/namespacemembers_func.html @@ -0,0 +1,95 @@ + + + + + + + +monero-cpp-library: Namespace Members + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  +
+ + + + diff --git a/docs/namespacemonero.html b/docs/namespacemonero.html new file mode 100644 index 0000000..784d9fd --- /dev/null +++ b/docs/namespacemonero.html @@ -0,0 +1,465 @@ + + + + + + + +monero-cpp-library: monero Namespace Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
monero Namespace Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

struct  monero_account
 
struct  monero_block
 
struct  monero_block_header
 
struct  monero_check
 
struct  monero_check_reserve
 
struct  monero_check_tx
 
struct  monero_destination
 
struct  monero_incoming_transfer
 
struct  monero_integrated_address
 
struct  monero_key_image
 
struct  monero_key_image_import_result
 
struct  monero_outgoing_transfer
 
struct  monero_output
 
struct  monero_output_query
 
struct  monero_output_wallet
 
struct  monero_rpc_connection
 
struct  monero_send_request
 
struct  monero_subaddress
 
class  monero_sync_listener
 
struct  monero_sync_result
 
struct  monero_transfer
 
struct  monero_transfer_query
 
struct  monero_tx
 
struct  monero_tx_query
 
struct  monero_tx_wallet
 
class  monero_wallet
 
class  monero_wallet_listener
 
struct  serializable_struct
 
struct  sync_listener_wrapper
 
struct  wallet2_listener
 
+ + + + + +

+Enumerations

enum  monero_network_type : uint8_t { MAINNET = 0, +TESTNET, +STAGENET + }
 
enum  monero_send_priority : uint8_t { DEFAULT = 0, +UNIMPORTANT, +NORMAL, +ELEVATED + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+void merge_tx (vector< shared_ptr< monero_tx >> &txs, const shared_ptr< monero_tx > &tx)
 
+bool bool_equals (bool val, const boost::optional< bool > &opt_val)
 
+shared_ptr< monero_tx_wallet > build_tx_with_incoming_transfer (const tools::wallet2 &m_w2, uint64_t height, const crypto::hash &payment_id, const tools::wallet2::payment_details &pd)
 
+shared_ptr< monero_tx_wallet > build_tx_with_outgoing_transfer (const tools::wallet2 &m_w2, uint64_t height, const crypto::hash &txid, const tools::wallet2::confirmed_transfer_details &pd)
 
+shared_ptr< monero_tx_wallet > build_tx_with_incoming_transfer_unconfirmed (const tools::wallet2 &m_w2, const crypto::hash &payment_id, const tools::wallet2::pool_payment_details &ppd)
 
+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)
 
+shared_ptr< monero_tx_wallet > build_tx_with_vout (const tools::wallet2 &m_w2, const tools::wallet2::transfer_details &td)
 
void merge_tx (const shared_ptr< monero_tx_wallet > &tx, map< string, shared_ptr< monero_tx_wallet >> &tx_map, map< uint64_t, shared_ptr< monero_block >> &block_map, bool skip_if_absent)
 
bool tx_height_less_than (const shared_ptr< monero_tx > &tx1, const shared_ptr< monero_tx > &tx2)
 
bool incoming_transfer_before (const shared_ptr< monero_incoming_transfer > &transfer1, const shared_ptr< monero_incoming_transfer > &transfer2)
 
bool vout_before (const shared_ptr< monero_output > &o1, const shared_ptr< monero_output > &o2)
 
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 >
bool fill_response (wallet2 *m_w2, std::vector< tools::wallet2::pending_tx > &ptx_vector, bool get_tx_key, Ts &tx_key, Tu &amount, Tu &fee, 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, epee::json_rpc::error &er)
 
+void merge_incoming_transfer (vector< shared_ptr< monero_incoming_transfer >> &transfers, const shared_ptr< monero_incoming_transfer > &transfer)
 
+

Detailed Description

+

Copyright (c) 2017-2019 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.

+
    +
  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. +
  3. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  4. +
  5. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  6. +
+

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 developersPublic library intereface.

+

Public library interface.

+

Copyright (c) 2017-2019 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.

+
    +
  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. +
  3. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  4. +
  5. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  6. +
+

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 developersPublic library interface.

+

Public interface for libmonero-cpp library.

+

Enumeration Type Documentation

+ +

◆ monero_network_type

+ +
+
+ + + + +
enum monero::monero_network_type : uint8_t
+
+

Enumerates Monero network types.

+ +
+
+ +

◆ monero_send_priority

+ +
+
+ + + + +
enum monero::monero_send_priority : uint8_t
+
+

Enumerates Monero network types.

+ +
+
+

Function Documentation

+ +

◆ incoming_transfer_before()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool monero::incoming_transfer_before (const shared_ptr< monero_incoming_transfer > & transfer1,
const shared_ptr< monero_incoming_transfer > & transfer2 
)
+
+

Returns true iff transfer1 is ordered before transfer2 by ascending account and subaddress indices.

+ +
+
+ +

◆ merge_tx()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void monero::merge_tx (const shared_ptr< monero_tx_wallet > & tx,
map< string, shared_ptr< monero_tx_wallet >> & tx_map,
map< uint64_t, shared_ptr< monero_block >> & block_map,
bool skip_if_absent 
)
+
+

Merges a transaction into a unique set of transactions.

+

TODO monero-core: skip_if_absent only necessary because incoming payments not returned when sent from/to same account #4500

+
Parameters
+ + + + + +
txis the transaction to merge into the existing txs
tx_mapmaps tx ids to txs
block_mapmaps block heights to blocks
skip_if_absentspecifies if the tx should not be added if it doesn't already exist
+
+
+ +
+
+ +

◆ tx_height_less_than()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool monero::tx_height_less_than (const shared_ptr< monero_tx > & tx1,
const shared_ptr< monero_tx > & tx2 
)
+
+

Returns true iff tx1's height is known to be less than tx2's height for sorting.

+ +
+
+ +

◆ validate_transfer()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool monero::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 
)
+
+

-------------— 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 Core C++. Of those, (4) is probably ideal. TODO: open patch on Monero core 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 Core binaries to be used without modification, it's easy, and anything other than (4) is temporary.

+ +
+
+ +

◆ vout_before()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool monero::vout_before (const shared_ptr< monero_output > & o1,
const shared_ptr< monero_output > & o2 
)
+
+

Returns true iff wallet vout1 is ordered before vout2 by ascending account and subaddress indices then index.

+ +
+
+
+ + + + diff --git a/docs/namespacemonero__utils.html b/docs/namespacemonero__utils.html new file mode 100644 index 0000000..713d34d --- /dev/null +++ b/docs/namespacemonero__utils.html @@ -0,0 +1,223 @@ + + + + + + + +monero-cpp-library: monero_utils Namespace Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
monero_utils Namespace Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+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)
 
+shared_ptr< monero_tx_query > deserialize_tx_query (const string &txQueryStr)
 
+shared_ptr< monero_transfer_query > deserialize_transfer_query (const string &transfer_query_str)
 
+shared_ptr< monero_output_query > deserialize_output_query (const string &output_query_str)
 
+shared_ptr< monero_send_request > deserialize_send_request (const string &send_request_str)
 
+vector< shared_ptr< monero_key_image > > deserialize_key_images (const string &key_images_json)
 
+string serialize (const boost::property_tree::ptree &node)
 
shared_ptr< monero_block > cn_block_to_block (const cryptonote::block &cn_block)
 
shared_ptr< monero_tx > cn_tx_to_tx (const cryptonote::transaction &cn_tx, bool init_as_tx_wallet=false)
 
+template<class T >
boost::property_tree::ptree to_property_tree (const vector< shared_ptr< T >> &types)
 
+template<class T >
boost::property_tree::ptree to_property_tree (const vector< T > &types)
 
+boost::property_tree::ptree to_property_tree (const vector< string > &strs)
 
+boost::property_tree::ptree to_property_tree (const vector< uint8_t > &nums)
 
+boost::property_tree::ptree to_property_tree (const vector< uint32_t > &nums)
 
+boost::property_tree::ptree to_property_tree (const vector< uint64_t > &nums)
 
+template<class T , typename std::enable_if< std::is_same< T, 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 string &err_msg="")
 
+template<class T , typename std::enable_if< std::is_same< T, string >::value, T >::type * = nullptr>
boost::optional< T > reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, const string &err_msg="")
 
+template<class T >
vector< T > reconcile (const vector< T > &v1, const vector< T > &v2, const string &err_msg="")
 
+

Detailed Description

+

Copyright (c) 2017-2019 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.

+
    +
  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. +
  3. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  4. +
  5. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  6. +
+

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 developersCollection of utilities for working with Monero's binary portable storage format.

+

Function Documentation

+ +

◆ cn_block_to_block()

+ +
+
+ + + + + + + + +
shared_ptr< monero_block > monero_utils::cn_block_to_block (const cryptonote::block & cn_block)
+
+

Convert a Monero Core cryptonote::block to a block in this library's native model.

+
Parameters
+ + +
cn_blockis the Core block to convert
+
+
+
Returns
a block in this library's native model
+ +
+
+ +

◆ cn_tx_to_tx()

+ +
+
+ + + + + + + + + + + + + + + + + + +
shared_ptr< monero_tx > monero_utils::cn_tx_to_tx (const cryptonote::transaction & cn_tx,
bool init_as_tx_wallet = false 
)
+
+

Convert a Monero Core crpytonote::transaction to a transaction in this library's native model.

+
Parameters
+ + + +
cn_txis the Core transaction to convert
init_as_tx_walletspecifies if a monero_tx xor monero_tx_wallet should be initialized
+
+
+ +
+
+
+ + + + diff --git a/docs/namespaces.html b/docs/namespaces.html new file mode 100644 index 0000000..b4c21c6 --- /dev/null +++ b/docs/namespaces.html @@ -0,0 +1,82 @@ + + + + + + + +monero-cpp-library: Namespace List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Namespace List
+
+
+
Here is a list of all documented namespaces with brief descriptions:
+ + + +
 Nmonero
 Nmonero_utils
+
+
+ + + + diff --git a/docs/nav_f.png b/docs/nav_f.png new file mode 100644 index 0000000..72a58a5 Binary files /dev/null and b/docs/nav_f.png differ diff --git a/docs/nav_g.png b/docs/nav_g.png new file mode 100644 index 0000000..2093a23 Binary files /dev/null and b/docs/nav_g.png differ diff --git a/docs/nav_h.png b/docs/nav_h.png new file mode 100644 index 0000000..33389b1 Binary files /dev/null and b/docs/nav_h.png differ diff --git a/docs/open.png b/docs/open.png new file mode 100644 index 0000000..30f75c7 Binary files /dev/null and b/docs/open.png differ diff --git a/docs/search/all_0.html b/docs/search/all_0.html new file mode 100644 index 0000000..5330204 --- /dev/null +++ b/docs/search/all_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_0.js b/docs/search/all_0.js new file mode 100644 index 0000000..cb0d6a6 --- /dev/null +++ b/docs/search/all_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['add_5flistener',['add_listener',['../classmonero_1_1monero__wallet.html#a369504471cb6309dd5c0ae2507c7b940',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_1.html b/docs/search/all_1.html new file mode 100644 index 0000000..2f46793 --- /dev/null +++ b/docs/search/all_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_1.js b/docs/search/all_1.js new file mode 100644 index 0000000..56171b9 --- /dev/null +++ b/docs/search/all_1.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['check_5freserve_5fproof',['check_reserve_proof',['../classmonero_1_1monero__wallet.html#a238eac186387d4050b51ef053d466c6b',1,'monero::monero_wallet']]], + ['check_5fspend_5fproof',['check_spend_proof',['../classmonero_1_1monero__wallet.html#a1cb4a6925e57a042fd9f36638ad268d2',1,'monero::monero_wallet']]], + ['check_5ftx_5fkey',['check_tx_key',['../classmonero_1_1monero__wallet.html#a617be20907cf07c1e60792427a965bba',1,'monero::monero_wallet']]], + ['check_5ftx_5fproof',['check_tx_proof',['../classmonero_1_1monero__wallet.html#aac8be63652c367fe987b5b0cd414b348',1,'monero::monero_wallet']]], + ['close',['close',['../classmonero_1_1monero__wallet.html#ad94513b533cfcfeedced9ffd5e2b3733',1,'monero::monero_wallet']]], + ['cn_5fblock_5fto_5fblock',['cn_block_to_block',['../namespacemonero__utils.html#a101ac2471565938c54d68b588221fef7',1,'monero_utils']]], + ['cn_5ftx_5fto_5ftx',['cn_tx_to_tx',['../namespacemonero__utils.html#ac0f19d3c9a66d2907258233683749b29',1,'monero_utils']]], + ['create_5faccount',['create_account',['../classmonero_1_1monero__wallet.html#ac178b6881480b91545befb54c8cb536e',1,'monero::monero_wallet']]], + ['create_5fpayment_5furi',['create_payment_uri',['../classmonero_1_1monero__wallet.html#ae90d0d3b7a2e74124bf2ebe1630d7363',1,'monero::monero_wallet']]], + ['create_5fsubaddress',['create_subaddress',['../classmonero_1_1monero__wallet.html#a63218d1cce17e51716db403b31ffa8a0',1,'monero::monero_wallet']]], + ['create_5ftx',['create_tx',['../classmonero_1_1monero__wallet.html#ace70442390028c740a8e48f37f321b70',1,'monero::monero_wallet::create_tx(monero_send_request &request)'],['../classmonero_1_1monero__wallet.html#adebfc8eae9db36aabc6fd8a1c7bf2423',1,'monero::monero_wallet::create_tx(uint32_t account_index, string address, uint64_t amount)'],['../classmonero_1_1monero__wallet.html#aa97ea90c8d47782b3071f71ef504eb74',1,'monero::monero_wallet::create_tx(int account_index, string address, uint64_t amount, monero_send_priority priority)']]], + ['create_5ftxs',['create_txs',['../classmonero_1_1monero__wallet.html#a3a5dce3c0cf078907f6de77c3688f4d9',1,'monero::monero_wallet']]], + ['create_5fwallet_5ffrom_5fkeys',['create_wallet_from_keys',['../classmonero_1_1monero__wallet.html#a687c6748e71a04245a61b46aee605cee',1,'monero::monero_wallet']]], + ['create_5fwallet_5ffrom_5fmnemonic',['create_wallet_from_mnemonic',['../classmonero_1_1monero__wallet.html#a70fbc24cc1f3d96d939682eb158c8eb3',1,'monero::monero_wallet']]], + ['create_5fwallet_5frandom',['create_wallet_random',['../classmonero_1_1monero__wallet.html#a4364d781836b538a18f93d316599bd42',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_2.html b/docs/search/all_2.html new file mode 100644 index 0000000..4c33d85 --- /dev/null +++ b/docs/search/all_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_2.js b/docs/search/all_2.js new file mode 100644 index 0000000..6a2264b --- /dev/null +++ b/docs/search/all_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['decode_5fintegrated_5faddress',['decode_integrated_address',['../classmonero_1_1monero__wallet.html#afbf002752a5ce42104a5ee692108ab00',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_3.html b/docs/search/all_3.html new file mode 100644 index 0000000..b634070 --- /dev/null +++ b/docs/search/all_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_3.js b/docs/search/all_3.js new file mode 100644 index 0000000..92afd6c --- /dev/null +++ b/docs/search/all_3.js @@ -0,0 +1,42 @@ +var searchData= +[ + ['get_5faccount',['get_account',['../classmonero_1_1monero__wallet.html#a43d6d49c3a0362e86f1a309d87cd5269',1,'monero::monero_wallet::get_account(uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#ab0b8af9b66af90bff4dacf01e71ca90c',1,'monero::monero_wallet::get_account(const uint32_t account_idx, bool include_subaddresses) const']]], + ['get_5faccounts',['get_accounts',['../classmonero_1_1monero__wallet.html#ac881ac69f9d9d0c614697759754aa9b1',1,'monero::monero_wallet::get_accounts() const'],['../classmonero_1_1monero__wallet.html#a6c177912267fe83cbf8be29e1affb489',1,'monero::monero_wallet::get_accounts(bool include_subaddresses) const'],['../classmonero_1_1monero__wallet.html#a243e0c80d2e7fa83f0aec1f7df392c57',1,'monero::monero_wallet::get_accounts(const string &tag) const'],['../classmonero_1_1monero__wallet.html#aad8bbd70f53e8015ad868b1da965b565',1,'monero::monero_wallet::get_accounts(bool include_subaddresses, const string &tag) const']]], + ['get_5faddress',['get_address',['../classmonero_1_1monero__wallet.html#a2c46f082c3fec347cb099be1135aab55',1,'monero::monero_wallet']]], + ['get_5faddress_5findex',['get_address_index',['../classmonero_1_1monero__wallet.html#af3df2c90132379eed47fa6cb9140070d',1,'monero::monero_wallet']]], + ['get_5fattribute',['get_attribute',['../classmonero_1_1monero__wallet.html#a28f5b338aae37a64a29f256c848f5bf7',1,'monero::monero_wallet']]], + ['get_5fbalance',['get_balance',['../classmonero_1_1monero__wallet.html#af84bf12f6872087cfd8efc7da899d128',1,'monero::monero_wallet::get_balance() const'],['../classmonero_1_1monero__wallet.html#a99ef54a598a9fad843e87105678a19e0',1,'monero::monero_wallet::get_balance(uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#a13992cc7b088546b4b1a9c434527dde2',1,'monero::monero_wallet::get_balance(uint32_t account_idx, uint32_t subaddress_idx) const']]], + ['get_5fdaemon_5fconnection',['get_daemon_connection',['../classmonero_1_1monero__wallet.html#a571dab219f20e8d7334c4cec1872aa79',1,'monero::monero_wallet']]], + ['get_5fdaemon_5fheight',['get_daemon_height',['../classmonero_1_1monero__wallet.html#accaba676837c5755e5c449cf83c451d1',1,'monero::monero_wallet']]], + ['get_5fdaemon_5fmax_5fpeer_5fheight',['get_daemon_max_peer_height',['../classmonero_1_1monero__wallet.html#a83fb5c274ca5473c3613fecc9cea2ccd',1,'monero::monero_wallet']]], + ['get_5fheight',['get_height',['../classmonero_1_1monero__wallet.html#af9d9694fc140fbff3568ce08aee15cf1',1,'monero::monero_wallet']]], + ['get_5fintegrated_5faddress',['get_integrated_address',['../classmonero_1_1monero__wallet.html#aed90a33e62d7591771811063097e771c',1,'monero::monero_wallet']]], + ['get_5fkey_5fimages',['get_key_images',['../classmonero_1_1monero__wallet.html#a1bc8412e928f869128fbb30536b86a0d',1,'monero::monero_wallet']]], + ['get_5flanguage',['get_language',['../classmonero_1_1monero__wallet.html#a9c61f88a8f2d36e61795641a23239fb9',1,'monero::monero_wallet']]], + ['get_5flanguages',['get_languages',['../classmonero_1_1monero__wallet.html#a70c3ccde1ad53c1ba04706da09ccfbd7',1,'monero::monero_wallet']]], + ['get_5flisteners',['get_listeners',['../classmonero_1_1monero__wallet.html#a79f285293115d25e5f0c6ca9131a9056',1,'monero::monero_wallet']]], + ['get_5fmnemonic',['get_mnemonic',['../classmonero_1_1monero__wallet.html#a41adeea13c951ac47710dcae15338ebd',1,'monero::monero_wallet']]], + ['get_5fnetwork_5ftype',['get_network_type',['../classmonero_1_1monero__wallet.html#ab4a564b345cdcef175fb8320b3b31626',1,'monero::monero_wallet']]], + ['get_5foutputs',['get_outputs',['../classmonero_1_1monero__wallet.html#ae90fcc2677d947985f20806bada8ec47',1,'monero::monero_wallet']]], + ['get_5foutputs_5fhex',['get_outputs_hex',['../classmonero_1_1monero__wallet.html#a08593957e1bc81cdfc8fdd1fba9d91f6',1,'monero::monero_wallet']]], + ['get_5fpath',['get_path',['../classmonero_1_1monero__wallet.html#a4ffd17e05b36a5795e86ff5eb87afeab',1,'monero::monero_wallet']]], + ['get_5fprimary_5faddress',['get_primary_address',['../classmonero_1_1monero__wallet.html#a2a58b4132093c3dc67fc99a0149447e1',1,'monero::monero_wallet']]], + ['get_5fprivate_5fspend_5fkey',['get_private_spend_key',['../classmonero_1_1monero__wallet.html#a8d7757249aa1d5a7f3d908dc2add96ee',1,'monero::monero_wallet']]], + ['get_5fprivate_5fview_5fkey',['get_private_view_key',['../classmonero_1_1monero__wallet.html#af64578d0331c9cb2e1c985084883fd38',1,'monero::monero_wallet']]], + ['get_5fpublic_5fspend_5fkey',['get_public_spend_key',['../classmonero_1_1monero__wallet.html#a65021e012e46923cfb0467e6f3bf8e36',1,'monero::monero_wallet']]], + ['get_5fpublic_5fview_5fkey',['get_public_view_key',['../classmonero_1_1monero__wallet.html#ae37f10c94a6c6569b09731a9717b25cb',1,'monero::monero_wallet']]], + ['get_5freserve_5fproof_5faccount',['get_reserve_proof_account',['../classmonero_1_1monero__wallet.html#a28796d60f6e54143d6cafc14f591854e',1,'monero::monero_wallet']]], + ['get_5freserve_5fproof_5fwallet',['get_reserve_proof_wallet',['../classmonero_1_1monero__wallet.html#a9a95456c2fbcbe2a676c70460a8e0bda',1,'monero::monero_wallet']]], + ['get_5frestore_5fheight',['get_restore_height',['../classmonero_1_1monero__wallet.html#a30a419ba7b28242319d4564241d6b94b',1,'monero::monero_wallet']]], + ['get_5fseed',['get_seed',['../classmonero_1_1monero__wallet.html#afa833df9fed2437e56a91b5a426379b4',1,'monero::monero_wallet']]], + ['get_5fspend_5fproof',['get_spend_proof',['../classmonero_1_1monero__wallet.html#a29340c6c59b945ef3728b292dd3144e8',1,'monero::monero_wallet']]], + ['get_5fsubaddresses',['get_subaddresses',['../classmonero_1_1monero__wallet.html#aadbd9092fd8e3d4b16bf94a2fef7aa1c',1,'monero::monero_wallet::get_subaddresses(const uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#a00604f38d90eb68e04e7a45a7ea407e2',1,'monero::monero_wallet::get_subaddresses(const uint32_t account_idx, const vector< uint32_t > &subaddress_indices) const']]], + ['get_5ftransfers',['get_transfers',['../classmonero_1_1monero__wallet.html#a17f2d3c5cbafb2781d098c1b0b9849e4',1,'monero::monero_wallet']]], + ['get_5ftx_5fkey',['get_tx_key',['../classmonero_1_1monero__wallet.html#ad93756cae85dfe33fad9c764fcc3d18b',1,'monero::monero_wallet']]], + ['get_5ftx_5fnote',['get_tx_note',['../classmonero_1_1monero__wallet.html#a239724561e4efffcf75f3203200d5ee3',1,'monero::monero_wallet']]], + ['get_5ftx_5fnotes',['get_tx_notes',['../classmonero_1_1monero__wallet.html#a30f855906fd55be05e1c1db23b4e9eb1',1,'monero::monero_wallet']]], + ['get_5ftx_5fproof',['get_tx_proof',['../classmonero_1_1monero__wallet.html#a02a8c1e89a2163efc7cde7dc2540501d',1,'monero::monero_wallet']]], + ['get_5ftxs',['get_txs',['../classmonero_1_1monero__wallet.html#af4321c0aa28a16b31f6c65be86501fd9',1,'monero::monero_wallet::get_txs() const'],['../classmonero_1_1monero__wallet.html#a684c7b8900a2db3d720a639a28ade544',1,'monero::monero_wallet::get_txs(const monero_tx_query &request) const']]], + ['get_5funlocked_5fbalance',['get_unlocked_balance',['../classmonero_1_1monero__wallet.html#adab521cfa0d556a39c09de9cd049fe7f',1,'monero::monero_wallet::get_unlocked_balance() const'],['../classmonero_1_1monero__wallet.html#a6447d72b38ae1acf4cf8e777643c6b2b',1,'monero::monero_wallet::get_unlocked_balance(uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#a65c2e256842d4c7d2b5c5ea8c267c8b4',1,'monero::monero_wallet::get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const']]], + ['getsubaddress',['getSubaddress',['../classmonero_1_1monero__wallet.html#a26d5e8d327080d64504a902bac069b9b',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_4.html b/docs/search/all_4.html new file mode 100644 index 0000000..dd062ae --- /dev/null +++ b/docs/search/all_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_4.js b/docs/search/all_4.js new file mode 100644 index 0000000..4da997d --- /dev/null +++ b/docs/search/all_4.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['import_5fkey_5fimages',['import_key_images',['../classmonero_1_1monero__wallet.html#afe813a85b4e8aa065f56c92b593f4071',1,'monero::monero_wallet']]], + ['import_5foutputs_5fhex',['import_outputs_hex',['../classmonero_1_1monero__wallet.html#ac4f59053112ec076d830681b281d0746',1,'monero::monero_wallet']]], + ['incoming_5ftransfer_5fbefore',['incoming_transfer_before',['../namespacemonero.html#a289e7d9a279044252e447d725b2360b3',1,'monero']]], + ['is_5fconnected',['is_connected',['../classmonero_1_1monero__wallet.html#a0a20d8f73b00266e2d575cfc48fecfb6',1,'monero::monero_wallet']]], + ['is_5fdaemon_5fsynced',['is_daemon_synced',['../classmonero_1_1monero__wallet.html#a3bf1d352a15ab92ffddafca3c9583b9a',1,'monero::monero_wallet']]], + ['is_5fsynced',['is_synced',['../classmonero_1_1monero__wallet.html#adf218034ab5b4098b749d3f7ae83208c',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_5.html b/docs/search/all_5.html new file mode 100644 index 0000000..f0780fd --- /dev/null +++ b/docs/search/all_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_5.js b/docs/search/all_5.js new file mode 100644 index 0000000..64f6c69 --- /dev/null +++ b/docs/search/all_5.js @@ -0,0 +1,36 @@ +var searchData= +[ + ['merge_5ftx',['merge_tx',['../namespacemonero.html#a5f11313995339d1eef46ab00c4a9b187',1,'monero']]], + ['monero',['monero',['../namespacemonero.html',1,'']]], + ['monero_5faccount',['monero_account',['../structmonero_1_1monero__account.html',1,'monero']]], + ['monero_5fblock',['monero_block',['../structmonero_1_1monero__block.html',1,'monero']]], + ['monero_5fblock_5fheader',['monero_block_header',['../structmonero_1_1monero__block__header.html',1,'monero']]], + ['monero_5fcheck',['monero_check',['../structmonero_1_1monero__check.html',1,'monero']]], + ['monero_5fcheck_5freserve',['monero_check_reserve',['../structmonero_1_1monero__check__reserve.html',1,'monero']]], + ['monero_5fcheck_5ftx',['monero_check_tx',['../structmonero_1_1monero__check__tx.html',1,'monero']]], + ['monero_5fdestination',['monero_destination',['../structmonero_1_1monero__destination.html',1,'monero']]], + ['monero_5fincoming_5ftransfer',['monero_incoming_transfer',['../structmonero_1_1monero__incoming__transfer.html',1,'monero']]], + ['monero_5fintegrated_5faddress',['monero_integrated_address',['../structmonero_1_1monero__integrated__address.html',1,'monero']]], + ['monero_5fkey_5fimage',['monero_key_image',['../structmonero_1_1monero__key__image.html',1,'monero']]], + ['monero_5fkey_5fimage_5fimport_5fresult',['monero_key_image_import_result',['../structmonero_1_1monero__key__image__import__result.html',1,'monero']]], + ['monero_5fnetwork_5ftype',['monero_network_type',['../namespacemonero.html#ac9023a1d513e2526775d1e061bb5beed',1,'monero']]], + ['monero_5foutgoing_5ftransfer',['monero_outgoing_transfer',['../structmonero_1_1monero__outgoing__transfer.html',1,'monero']]], + ['monero_5foutput',['monero_output',['../structmonero_1_1monero__output.html',1,'monero']]], + ['monero_5foutput_5fquery',['monero_output_query',['../structmonero_1_1monero__output__query.html',1,'monero']]], + ['monero_5foutput_5fwallet',['monero_output_wallet',['../structmonero_1_1monero__output__wallet.html',1,'monero']]], + ['monero_5frpc_5fconnection',['monero_rpc_connection',['../structmonero_1_1monero__rpc__connection.html',1,'monero']]], + ['monero_5fsend_5fpriority',['monero_send_priority',['../namespacemonero.html#ad102bb6207c4abe9d875f8b0edc1a45e',1,'monero']]], + ['monero_5fsend_5frequest',['monero_send_request',['../structmonero_1_1monero__send__request.html',1,'monero']]], + ['monero_5fsubaddress',['monero_subaddress',['../structmonero_1_1monero__subaddress.html',1,'monero']]], + ['monero_5fsync_5flistener',['monero_sync_listener',['../classmonero_1_1monero__sync__listener.html',1,'monero']]], + ['monero_5fsync_5fresult',['monero_sync_result',['../structmonero_1_1monero__sync__result.html',1,'monero']]], + ['monero_5ftransfer',['monero_transfer',['../structmonero_1_1monero__transfer.html',1,'monero']]], + ['monero_5ftransfer_5fquery',['monero_transfer_query',['../structmonero_1_1monero__transfer__query.html',1,'monero']]], + ['monero_5ftx',['monero_tx',['../structmonero_1_1monero__tx.html',1,'monero']]], + ['monero_5ftx_5fquery',['monero_tx_query',['../structmonero_1_1monero__tx__query.html',1,'monero']]], + ['monero_5ftx_5fwallet',['monero_tx_wallet',['../structmonero_1_1monero__tx__wallet.html',1,'monero']]], + ['monero_5futils',['monero_utils',['../namespacemonero__utils.html',1,'']]], + ['monero_5fwallet',['monero_wallet',['../classmonero_1_1monero__wallet.html',1,'monero']]], + ['monero_5fwallet_5flistener',['monero_wallet_listener',['../classmonero_1_1monero__wallet__listener.html',1,'monero']]], + ['move_5fto',['move_to',['../classmonero_1_1monero__wallet.html#ae401df6d1be2181ce9a33e2258cc065d',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_6.html b/docs/search/all_6.html new file mode 100644 index 0000000..39b0f55 --- /dev/null +++ b/docs/search/all_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_6.js b/docs/search/all_6.js new file mode 100644 index 0000000..992a3e5 --- /dev/null +++ b/docs/search/all_6.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['on_5fnew_5fblock',['on_new_block',['../classmonero_1_1monero__wallet__listener.html#a0276dc5dbe62b7df42e3eab1b5967895',1,'monero::monero_wallet_listener']]], + ['on_5foutput_5freceived',['on_output_received',['../classmonero_1_1monero__wallet__listener.html#a858412263ef3d02da6453334abacff18',1,'monero::monero_wallet_listener']]], + ['on_5foutput_5fspent',['on_output_spent',['../classmonero_1_1monero__wallet__listener.html#a3938fd913222b0f107d5b133d1afd439',1,'monero::monero_wallet_listener']]], + ['on_5fsync_5fprogress',['on_sync_progress',['../structmonero_1_1sync__listener__wrapper.html#ae75957bcc79bf9ed187910da973cb940',1,'monero::sync_listener_wrapper::on_sync_progress()'],['../classmonero_1_1monero__sync__listener.html#aa2c6e4a08d25e47d8a59ca2b3f2b0f40',1,'monero::monero_sync_listener::on_sync_progress()']]], + ['open_5fwallet',['open_wallet',['../classmonero_1_1monero__wallet.html#ab335a7f7451123e79012062ee03ca4c7',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_7.html b/docs/search/all_7.html new file mode 100644 index 0000000..9cd0196 --- /dev/null +++ b/docs/search/all_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_7.js b/docs/search/all_7.js new file mode 100644 index 0000000..4b86ce3 --- /dev/null +++ b/docs/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['parse_5fpayment_5furi',['parse_payment_uri',['../classmonero_1_1monero__wallet.html#a9afaca5a994c98daaff1083731164783',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_8.html b/docs/search/all_8.html new file mode 100644 index 0000000..1e8fb9c --- /dev/null +++ b/docs/search/all_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_8.js b/docs/search/all_8.js new file mode 100644 index 0000000..41f3f5e --- /dev/null +++ b/docs/search/all_8.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['relay_5ftx',['relay_tx',['../classmonero_1_1monero__wallet.html#aa29e4fd0395c7101af8b8f41672e18d3',1,'monero::monero_wallet::relay_tx(const string &tx_metadata)'],['../classmonero_1_1monero__wallet.html#a05c2b29cf18f7201ebc9885439ac4959',1,'monero::monero_wallet::relay_tx(const monero_tx_wallet &tx)']]], + ['relay_5ftxs',['relay_txs',['../classmonero_1_1monero__wallet.html#a3d01da4bea76cb060a8a4442d11651e3',1,'monero::monero_wallet::relay_txs(const vector< string > &tx_metadatas)'],['../classmonero_1_1monero__wallet.html#aa11ffee904c0985a91d172d79a9413ca',1,'monero::monero_wallet::relay_txs(const vector< shared_ptr< monero_tx_wallet >> &txs)']]], + ['remove_5flistener',['remove_listener',['../classmonero_1_1monero__wallet.html#ad786da644ac586948b28ba48f88b676c',1,'monero::monero_wallet']]], + ['rescan_5fblockchain',['rescan_blockchain',['../classmonero_1_1monero__wallet.html#a7cc7b8ab33409234d09623934cd76082',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_9.html b/docs/search/all_9.html new file mode 100644 index 0000000..27df366 --- /dev/null +++ b/docs/search/all_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_9.js b/docs/search/all_9.js new file mode 100644 index 0000000..bfe5e87 --- /dev/null +++ b/docs/search/all_9.js @@ -0,0 +1,22 @@ +var searchData= +[ + ['save',['save',['../classmonero_1_1monero__wallet.html#a0a3ef4621ffc14e36ecaf2cf77c5e4c3',1,'monero::monero_wallet']]], + ['send',['send',['../classmonero_1_1monero__wallet.html#af5d21eeed4331b436d71447d1aacd434',1,'monero::monero_wallet::send(monero_send_request &request)'],['../classmonero_1_1monero__wallet.html#a3b70eee9122afad49b4db2a7de93b77d',1,'monero::monero_wallet::send(uint32_t account_index, string address, uint64_t amount)'],['../classmonero_1_1monero__wallet.html#afde9d9507ec31463433c5957430ebcb3',1,'monero::monero_wallet::send(uint32_t account_index, string address, uint64_t amount, monero_send_priority priority)']]], + ['send_5fsplit',['send_split',['../classmonero_1_1monero__wallet.html#a87042710bc70d905fd06046e6a1e1a91',1,'monero::monero_wallet']]], + ['serializable_5fstruct',['serializable_struct',['../structmonero_1_1serializable__struct.html',1,'monero']]], + ['serialize',['serialize',['../structmonero_1_1serializable__struct.html#aff4103707ee262cc4bd15d8e789adddc',1,'monero::serializable_struct']]], + ['set_5fattribute',['set_attribute',['../classmonero_1_1monero__wallet.html#a8b1f71b19b450e146a1212425ebb277d',1,'monero::monero_wallet']]], + ['set_5fdaemon_5fconnection',['set_daemon_connection',['../classmonero_1_1monero__wallet.html#a30720a838407b9f2fe897a42628aa073',1,'monero::monero_wallet::set_daemon_connection(const string &uri, const string &username="", const string &password="")'],['../classmonero_1_1monero__wallet.html#ab0152566cf7d119702d1d9f18ceae424',1,'monero::monero_wallet::set_daemon_connection(const monero_rpc_connection &connection)']]], + ['set_5frestore_5fheight',['set_restore_height',['../classmonero_1_1monero__wallet.html#aaaad3ab2963fcf2e57cfd58272d4dce9',1,'monero::monero_wallet']]], + ['set_5ftx_5fnote',['set_tx_note',['../classmonero_1_1monero__wallet.html#a15d8c8ae3263f4ba1e8095685ea7d153',1,'monero::monero_wallet']]], + ['set_5ftx_5fnotes',['set_tx_notes',['../classmonero_1_1monero__wallet.html#a45ed4cc14338e53016aca586b240e7dd',1,'monero::monero_wallet']]], + ['sign',['sign',['../classmonero_1_1monero__wallet.html#a31a9677f28604c35c4d6c0dce1228e39',1,'monero::monero_wallet']]], + ['start_5fmining',['start_mining',['../classmonero_1_1monero__wallet.html#afa496a3f4f72d467460500888020d4ab',1,'monero::monero_wallet']]], + ['start_5fsyncing',['start_syncing',['../classmonero_1_1monero__wallet.html#aea02aaa33bca848415f3400e5c68daf1',1,'monero::monero_wallet']]], + ['stop_5fmining',['stop_mining',['../classmonero_1_1monero__wallet.html#a80cceae09c3ecf26924c716df5103fef',1,'monero::monero_wallet']]], + ['stop_5fsyncing',['stop_syncing',['../classmonero_1_1monero__wallet.html#ae431381dbcc196437b04516043d06087',1,'monero::monero_wallet']]], + ['sweep_5fdust',['sweep_dust',['../classmonero_1_1monero__wallet.html#a49b7107e7a68d33a4ae7bc6d4af75218',1,'monero::monero_wallet']]], + ['sweep_5foutput',['sweep_output',['../classmonero_1_1monero__wallet.html#aa94b928daf21395001650bde906ad154',1,'monero::monero_wallet']]], + ['sync',['sync',['../classmonero_1_1monero__wallet.html#ae69123b6fc6bc381f17a4e2faa323787',1,'monero::monero_wallet::sync()'],['../classmonero_1_1monero__wallet.html#afb4759741f9b1a536606b1a26c43e4e0',1,'monero::monero_wallet::sync(monero_sync_listener &listener)'],['../classmonero_1_1monero__wallet.html#aed4bae7ece950543bdb60f0039424401',1,'monero::monero_wallet::sync(uint64_t start_height)'],['../classmonero_1_1monero__wallet.html#abf2980e8c363030bcb2a6bf3aa9b53a8',1,'monero::monero_wallet::sync(uint64_t start_height, monero_sync_listener &listener)']]], + ['sync_5flistener_5fwrapper',['sync_listener_wrapper',['../structmonero_1_1sync__listener__wrapper.html',1,'monero']]] +]; diff --git a/docs/search/all_a.html b/docs/search/all_a.html new file mode 100644 index 0000000..63f9254 --- /dev/null +++ b/docs/search/all_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_a.js b/docs/search/all_a.js new file mode 100644 index 0000000..d26b7c3 --- /dev/null +++ b/docs/search/all_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['to_5fproperty_5ftree',['to_property_tree',['../structmonero_1_1serializable__struct.html#a1674afdced731c1687d37c05f3e7a9be',1,'monero::serializable_struct::to_property_tree()'],['../structmonero_1_1monero__block__header.html#abfb6486a0f190a2538c79a8cf63b8709',1,'monero::monero_block_header::to_property_tree()'],['../structmonero_1_1monero__block.html#a1210cc81324e8232e05893fcc8a38b09',1,'monero::monero_block::to_property_tree()'],['../structmonero_1_1monero__tx.html#a85861294812884fe5899bee3438f0049',1,'monero::monero_tx::to_property_tree()'],['../structmonero_1_1monero__key__image.html#ac7440270a4c250ddcffc99eb021320db',1,'monero::monero_key_image::to_property_tree()'],['../structmonero_1_1monero__output.html#a6426edac595e680d34b78cd8709bfbcb',1,'monero::monero_output::to_property_tree()'],['../structmonero_1_1monero__subaddress.html#af083b578419da9d69bffb6b3bd3e1cda',1,'monero::monero_subaddress::to_property_tree()'],['../structmonero_1_1monero__account.html#aca680b5cf23a357f8c49d843b9d1e715',1,'monero::monero_account::to_property_tree()'],['../structmonero_1_1monero__transfer.html#aac19cca1774b0b46b1bd78336772dfa7',1,'monero::monero_transfer::to_property_tree()'],['../structmonero_1_1monero__incoming__transfer.html#acc3c15bfd199eb94591fb87cffa2359a',1,'monero::monero_incoming_transfer::to_property_tree()'],['../structmonero_1_1monero__outgoing__transfer.html#a0a44f6722238b7c766811245ff57eb06',1,'monero::monero_outgoing_transfer::to_property_tree()'],['../structmonero_1_1monero__transfer__query.html#aad73282bc4d791ddd6e064c46e1e5b0b',1,'monero::monero_transfer_query::to_property_tree()'],['../structmonero_1_1monero__output__wallet.html#aee2dc54f465719999f78c44cd0c677a2',1,'monero::monero_output_wallet::to_property_tree()'],['../structmonero_1_1monero__output__query.html#aed180b284800897658175df13809086e',1,'monero::monero_output_query::to_property_tree()'],['../structmonero_1_1monero__tx__wallet.html#a38332602a4ba4d43dc7b04f5f774a9f3',1,'monero::monero_tx_wallet::to_property_tree()'],['../structmonero_1_1monero__tx__query.html#acffeb6bf3c558fa6db8ba7cc3f5658c3',1,'monero::monero_tx_query::to_property_tree()'],['../structmonero_1_1monero__integrated__address.html#a22078831c51ef860868a1b6bfad2ea24',1,'monero::monero_integrated_address::to_property_tree()'],['../structmonero_1_1monero__send__request.html#a71e56c039a357c178de342edd9ae0481',1,'monero::monero_send_request::to_property_tree()'],['../structmonero_1_1monero__key__image__import__result.html#a3e73289149f6aa37760e406165bb0edc',1,'monero::monero_key_image_import_result::to_property_tree()'],['../structmonero_1_1monero__check.html#a7a6ef3c88c37395642e2c519dfdcc246',1,'monero::monero_check::to_property_tree()'],['../structmonero_1_1monero__check__tx.html#acd887894552f4e94f9fa7e1641c53515',1,'monero::monero_check_tx::to_property_tree()'],['../structmonero_1_1monero__check__reserve.html#ad0c68f1f9292c462b9a87fdc5b84c27c',1,'monero::monero_check_reserve::to_property_tree()']]], + ['tx_5fheight_5fless_5fthan',['tx_height_less_than',['../namespacemonero.html#a05561b00d2f4f98c1ff9d082326cf8a9',1,'monero']]] +]; diff --git a/docs/search/all_b.html b/docs/search/all_b.html new file mode 100644 index 0000000..44ae3e4 --- /dev/null +++ b/docs/search/all_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_b.js b/docs/search/all_b.js new file mode 100644 index 0000000..42d877f --- /dev/null +++ b/docs/search/all_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['validate_5ftransfer',['validate_transfer',['../namespacemonero.html#a11ef2da5190ff16e820b26ada8cfd943',1,'monero']]], + ['verify',['verify',['../classmonero_1_1monero__wallet.html#a9c7792c67874bdc4e1229f8efc28b0ec',1,'monero::monero_wallet']]], + ['vout_5fbefore',['vout_before',['../namespacemonero.html#ad88e2b182344e1c169cd028ad8366359',1,'monero']]] +]; diff --git a/docs/search/all_c.html b/docs/search/all_c.html new file mode 100644 index 0000000..3de1586 --- /dev/null +++ b/docs/search/all_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_c.js b/docs/search/all_c.js new file mode 100644 index 0000000..1c92574 --- /dev/null +++ b/docs/search/all_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['wait_5ffor_5fnext_5fblock',['wait_for_next_block',['../classmonero_1_1monero__wallet.html#adea8d9aeb4401c892b0bdd1f5df29fb8',1,'monero::monero_wallet']]], + ['wallet2_5flistener',['wallet2_listener',['../structmonero_1_1wallet2__listener.html',1,'monero::wallet2_listener'],['../structmonero_1_1wallet2__listener.html#a1eb81f32adeff8288598295c7f05b9b6',1,'monero::wallet2_listener::wallet2_listener()']]], + ['wallet_5fexists',['wallet_exists',['../classmonero_1_1monero__wallet.html#ad4174ed077e0c423bd87f3a0a89ac151',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/all_d.html b/docs/search/all_d.html new file mode 100644 index 0000000..a2d5bd7 --- /dev/null +++ b/docs/search/all_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/all_d.js b/docs/search/all_d.js new file mode 100644 index 0000000..707548e --- /dev/null +++ b/docs/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_7emonero_5fwallet',['~monero_wallet',['../classmonero_1_1monero__wallet.html#a8b434916e7815fcfe4dee23a3086def1',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/classes_0.html b/docs/search/classes_0.html new file mode 100644 index 0000000..b3c6ec6 --- /dev/null +++ b/docs/search/classes_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js new file mode 100644 index 0000000..f1ca995 --- /dev/null +++ b/docs/search/classes_0.js @@ -0,0 +1,30 @@ +var searchData= +[ + ['monero_5faccount',['monero_account',['../structmonero_1_1monero__account.html',1,'monero']]], + ['monero_5fblock',['monero_block',['../structmonero_1_1monero__block.html',1,'monero']]], + ['monero_5fblock_5fheader',['monero_block_header',['../structmonero_1_1monero__block__header.html',1,'monero']]], + ['monero_5fcheck',['monero_check',['../structmonero_1_1monero__check.html',1,'monero']]], + ['monero_5fcheck_5freserve',['monero_check_reserve',['../structmonero_1_1monero__check__reserve.html',1,'monero']]], + ['monero_5fcheck_5ftx',['monero_check_tx',['../structmonero_1_1monero__check__tx.html',1,'monero']]], + ['monero_5fdestination',['monero_destination',['../structmonero_1_1monero__destination.html',1,'monero']]], + ['monero_5fincoming_5ftransfer',['monero_incoming_transfer',['../structmonero_1_1monero__incoming__transfer.html',1,'monero']]], + ['monero_5fintegrated_5faddress',['monero_integrated_address',['../structmonero_1_1monero__integrated__address.html',1,'monero']]], + ['monero_5fkey_5fimage',['monero_key_image',['../structmonero_1_1monero__key__image.html',1,'monero']]], + ['monero_5fkey_5fimage_5fimport_5fresult',['monero_key_image_import_result',['../structmonero_1_1monero__key__image__import__result.html',1,'monero']]], + ['monero_5foutgoing_5ftransfer',['monero_outgoing_transfer',['../structmonero_1_1monero__outgoing__transfer.html',1,'monero']]], + ['monero_5foutput',['monero_output',['../structmonero_1_1monero__output.html',1,'monero']]], + ['monero_5foutput_5fquery',['monero_output_query',['../structmonero_1_1monero__output__query.html',1,'monero']]], + ['monero_5foutput_5fwallet',['monero_output_wallet',['../structmonero_1_1monero__output__wallet.html',1,'monero']]], + ['monero_5frpc_5fconnection',['monero_rpc_connection',['../structmonero_1_1monero__rpc__connection.html',1,'monero']]], + ['monero_5fsend_5frequest',['monero_send_request',['../structmonero_1_1monero__send__request.html',1,'monero']]], + ['monero_5fsubaddress',['monero_subaddress',['../structmonero_1_1monero__subaddress.html',1,'monero']]], + ['monero_5fsync_5flistener',['monero_sync_listener',['../classmonero_1_1monero__sync__listener.html',1,'monero']]], + ['monero_5fsync_5fresult',['monero_sync_result',['../structmonero_1_1monero__sync__result.html',1,'monero']]], + ['monero_5ftransfer',['monero_transfer',['../structmonero_1_1monero__transfer.html',1,'monero']]], + ['monero_5ftransfer_5fquery',['monero_transfer_query',['../structmonero_1_1monero__transfer__query.html',1,'monero']]], + ['monero_5ftx',['monero_tx',['../structmonero_1_1monero__tx.html',1,'monero']]], + ['monero_5ftx_5fquery',['monero_tx_query',['../structmonero_1_1monero__tx__query.html',1,'monero']]], + ['monero_5ftx_5fwallet',['monero_tx_wallet',['../structmonero_1_1monero__tx__wallet.html',1,'monero']]], + ['monero_5fwallet',['monero_wallet',['../classmonero_1_1monero__wallet.html',1,'monero']]], + ['monero_5fwallet_5flistener',['monero_wallet_listener',['../classmonero_1_1monero__wallet__listener.html',1,'monero']]] +]; diff --git a/docs/search/classes_1.html b/docs/search/classes_1.html new file mode 100644 index 0000000..b744c4d --- /dev/null +++ b/docs/search/classes_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js new file mode 100644 index 0000000..eccade9 --- /dev/null +++ b/docs/search/classes_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['serializable_5fstruct',['serializable_struct',['../structmonero_1_1serializable__struct.html',1,'monero']]], + ['sync_5flistener_5fwrapper',['sync_listener_wrapper',['../structmonero_1_1sync__listener__wrapper.html',1,'monero']]] +]; diff --git a/docs/search/classes_2.html b/docs/search/classes_2.html new file mode 100644 index 0000000..7878acb --- /dev/null +++ b/docs/search/classes_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js new file mode 100644 index 0000000..e5ce7da --- /dev/null +++ b/docs/search/classes_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['wallet2_5flistener',['wallet2_listener',['../structmonero_1_1wallet2__listener.html',1,'monero']]] +]; diff --git a/docs/search/close.png b/docs/search/close.png new file mode 100644 index 0000000..9342d3d Binary files /dev/null and b/docs/search/close.png differ diff --git a/docs/search/enums_0.html b/docs/search/enums_0.html new file mode 100644 index 0000000..7040a9c --- /dev/null +++ b/docs/search/enums_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/enums_0.js b/docs/search/enums_0.js new file mode 100644 index 0000000..fc64a19 --- /dev/null +++ b/docs/search/enums_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['monero_5fnetwork_5ftype',['monero_network_type',['../namespacemonero.html#ac9023a1d513e2526775d1e061bb5beed',1,'monero']]], + ['monero_5fsend_5fpriority',['monero_send_priority',['../namespacemonero.html#ad102bb6207c4abe9d875f8b0edc1a45e',1,'monero']]] +]; diff --git a/docs/search/functions_0.html b/docs/search/functions_0.html new file mode 100644 index 0000000..bc73761 --- /dev/null +++ b/docs/search/functions_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js new file mode 100644 index 0000000..cb0d6a6 --- /dev/null +++ b/docs/search/functions_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['add_5flistener',['add_listener',['../classmonero_1_1monero__wallet.html#a369504471cb6309dd5c0ae2507c7b940',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_1.html b/docs/search/functions_1.html new file mode 100644 index 0000000..bfcf880 --- /dev/null +++ b/docs/search/functions_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_1.js b/docs/search/functions_1.js new file mode 100644 index 0000000..56171b9 --- /dev/null +++ b/docs/search/functions_1.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['check_5freserve_5fproof',['check_reserve_proof',['../classmonero_1_1monero__wallet.html#a238eac186387d4050b51ef053d466c6b',1,'monero::monero_wallet']]], + ['check_5fspend_5fproof',['check_spend_proof',['../classmonero_1_1monero__wallet.html#a1cb4a6925e57a042fd9f36638ad268d2',1,'monero::monero_wallet']]], + ['check_5ftx_5fkey',['check_tx_key',['../classmonero_1_1monero__wallet.html#a617be20907cf07c1e60792427a965bba',1,'monero::monero_wallet']]], + ['check_5ftx_5fproof',['check_tx_proof',['../classmonero_1_1monero__wallet.html#aac8be63652c367fe987b5b0cd414b348',1,'monero::monero_wallet']]], + ['close',['close',['../classmonero_1_1monero__wallet.html#ad94513b533cfcfeedced9ffd5e2b3733',1,'monero::monero_wallet']]], + ['cn_5fblock_5fto_5fblock',['cn_block_to_block',['../namespacemonero__utils.html#a101ac2471565938c54d68b588221fef7',1,'monero_utils']]], + ['cn_5ftx_5fto_5ftx',['cn_tx_to_tx',['../namespacemonero__utils.html#ac0f19d3c9a66d2907258233683749b29',1,'monero_utils']]], + ['create_5faccount',['create_account',['../classmonero_1_1monero__wallet.html#ac178b6881480b91545befb54c8cb536e',1,'monero::monero_wallet']]], + ['create_5fpayment_5furi',['create_payment_uri',['../classmonero_1_1monero__wallet.html#ae90d0d3b7a2e74124bf2ebe1630d7363',1,'monero::monero_wallet']]], + ['create_5fsubaddress',['create_subaddress',['../classmonero_1_1monero__wallet.html#a63218d1cce17e51716db403b31ffa8a0',1,'monero::monero_wallet']]], + ['create_5ftx',['create_tx',['../classmonero_1_1monero__wallet.html#ace70442390028c740a8e48f37f321b70',1,'monero::monero_wallet::create_tx(monero_send_request &request)'],['../classmonero_1_1monero__wallet.html#adebfc8eae9db36aabc6fd8a1c7bf2423',1,'monero::monero_wallet::create_tx(uint32_t account_index, string address, uint64_t amount)'],['../classmonero_1_1monero__wallet.html#aa97ea90c8d47782b3071f71ef504eb74',1,'monero::monero_wallet::create_tx(int account_index, string address, uint64_t amount, monero_send_priority priority)']]], + ['create_5ftxs',['create_txs',['../classmonero_1_1monero__wallet.html#a3a5dce3c0cf078907f6de77c3688f4d9',1,'monero::monero_wallet']]], + ['create_5fwallet_5ffrom_5fkeys',['create_wallet_from_keys',['../classmonero_1_1monero__wallet.html#a687c6748e71a04245a61b46aee605cee',1,'monero::monero_wallet']]], + ['create_5fwallet_5ffrom_5fmnemonic',['create_wallet_from_mnemonic',['../classmonero_1_1monero__wallet.html#a70fbc24cc1f3d96d939682eb158c8eb3',1,'monero::monero_wallet']]], + ['create_5fwallet_5frandom',['create_wallet_random',['../classmonero_1_1monero__wallet.html#a4364d781836b538a18f93d316599bd42',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_2.html b/docs/search/functions_2.html new file mode 100644 index 0000000..2b44474 --- /dev/null +++ b/docs/search/functions_2.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js new file mode 100644 index 0000000..6a2264b --- /dev/null +++ b/docs/search/functions_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['decode_5fintegrated_5faddress',['decode_integrated_address',['../classmonero_1_1monero__wallet.html#afbf002752a5ce42104a5ee692108ab00',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_3.html b/docs/search/functions_3.html new file mode 100644 index 0000000..3dca367 --- /dev/null +++ b/docs/search/functions_3.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_3.js b/docs/search/functions_3.js new file mode 100644 index 0000000..92afd6c --- /dev/null +++ b/docs/search/functions_3.js @@ -0,0 +1,42 @@ +var searchData= +[ + ['get_5faccount',['get_account',['../classmonero_1_1monero__wallet.html#a43d6d49c3a0362e86f1a309d87cd5269',1,'monero::monero_wallet::get_account(uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#ab0b8af9b66af90bff4dacf01e71ca90c',1,'monero::monero_wallet::get_account(const uint32_t account_idx, bool include_subaddresses) const']]], + ['get_5faccounts',['get_accounts',['../classmonero_1_1monero__wallet.html#ac881ac69f9d9d0c614697759754aa9b1',1,'monero::monero_wallet::get_accounts() const'],['../classmonero_1_1monero__wallet.html#a6c177912267fe83cbf8be29e1affb489',1,'monero::monero_wallet::get_accounts(bool include_subaddresses) const'],['../classmonero_1_1monero__wallet.html#a243e0c80d2e7fa83f0aec1f7df392c57',1,'monero::monero_wallet::get_accounts(const string &tag) const'],['../classmonero_1_1monero__wallet.html#aad8bbd70f53e8015ad868b1da965b565',1,'monero::monero_wallet::get_accounts(bool include_subaddresses, const string &tag) const']]], + ['get_5faddress',['get_address',['../classmonero_1_1monero__wallet.html#a2c46f082c3fec347cb099be1135aab55',1,'monero::monero_wallet']]], + ['get_5faddress_5findex',['get_address_index',['../classmonero_1_1monero__wallet.html#af3df2c90132379eed47fa6cb9140070d',1,'monero::monero_wallet']]], + ['get_5fattribute',['get_attribute',['../classmonero_1_1monero__wallet.html#a28f5b338aae37a64a29f256c848f5bf7',1,'monero::monero_wallet']]], + ['get_5fbalance',['get_balance',['../classmonero_1_1monero__wallet.html#af84bf12f6872087cfd8efc7da899d128',1,'monero::monero_wallet::get_balance() const'],['../classmonero_1_1monero__wallet.html#a99ef54a598a9fad843e87105678a19e0',1,'monero::monero_wallet::get_balance(uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#a13992cc7b088546b4b1a9c434527dde2',1,'monero::monero_wallet::get_balance(uint32_t account_idx, uint32_t subaddress_idx) const']]], + ['get_5fdaemon_5fconnection',['get_daemon_connection',['../classmonero_1_1monero__wallet.html#a571dab219f20e8d7334c4cec1872aa79',1,'monero::monero_wallet']]], + ['get_5fdaemon_5fheight',['get_daemon_height',['../classmonero_1_1monero__wallet.html#accaba676837c5755e5c449cf83c451d1',1,'monero::monero_wallet']]], + ['get_5fdaemon_5fmax_5fpeer_5fheight',['get_daemon_max_peer_height',['../classmonero_1_1monero__wallet.html#a83fb5c274ca5473c3613fecc9cea2ccd',1,'monero::monero_wallet']]], + ['get_5fheight',['get_height',['../classmonero_1_1monero__wallet.html#af9d9694fc140fbff3568ce08aee15cf1',1,'monero::monero_wallet']]], + ['get_5fintegrated_5faddress',['get_integrated_address',['../classmonero_1_1monero__wallet.html#aed90a33e62d7591771811063097e771c',1,'monero::monero_wallet']]], + ['get_5fkey_5fimages',['get_key_images',['../classmonero_1_1monero__wallet.html#a1bc8412e928f869128fbb30536b86a0d',1,'monero::monero_wallet']]], + ['get_5flanguage',['get_language',['../classmonero_1_1monero__wallet.html#a9c61f88a8f2d36e61795641a23239fb9',1,'monero::monero_wallet']]], + ['get_5flanguages',['get_languages',['../classmonero_1_1monero__wallet.html#a70c3ccde1ad53c1ba04706da09ccfbd7',1,'monero::monero_wallet']]], + ['get_5flisteners',['get_listeners',['../classmonero_1_1monero__wallet.html#a79f285293115d25e5f0c6ca9131a9056',1,'monero::monero_wallet']]], + ['get_5fmnemonic',['get_mnemonic',['../classmonero_1_1monero__wallet.html#a41adeea13c951ac47710dcae15338ebd',1,'monero::monero_wallet']]], + ['get_5fnetwork_5ftype',['get_network_type',['../classmonero_1_1monero__wallet.html#ab4a564b345cdcef175fb8320b3b31626',1,'monero::monero_wallet']]], + ['get_5foutputs',['get_outputs',['../classmonero_1_1monero__wallet.html#ae90fcc2677d947985f20806bada8ec47',1,'monero::monero_wallet']]], + ['get_5foutputs_5fhex',['get_outputs_hex',['../classmonero_1_1monero__wallet.html#a08593957e1bc81cdfc8fdd1fba9d91f6',1,'monero::monero_wallet']]], + ['get_5fpath',['get_path',['../classmonero_1_1monero__wallet.html#a4ffd17e05b36a5795e86ff5eb87afeab',1,'monero::monero_wallet']]], + ['get_5fprimary_5faddress',['get_primary_address',['../classmonero_1_1monero__wallet.html#a2a58b4132093c3dc67fc99a0149447e1',1,'monero::monero_wallet']]], + ['get_5fprivate_5fspend_5fkey',['get_private_spend_key',['../classmonero_1_1monero__wallet.html#a8d7757249aa1d5a7f3d908dc2add96ee',1,'monero::monero_wallet']]], + ['get_5fprivate_5fview_5fkey',['get_private_view_key',['../classmonero_1_1monero__wallet.html#af64578d0331c9cb2e1c985084883fd38',1,'monero::monero_wallet']]], + ['get_5fpublic_5fspend_5fkey',['get_public_spend_key',['../classmonero_1_1monero__wallet.html#a65021e012e46923cfb0467e6f3bf8e36',1,'monero::monero_wallet']]], + ['get_5fpublic_5fview_5fkey',['get_public_view_key',['../classmonero_1_1monero__wallet.html#ae37f10c94a6c6569b09731a9717b25cb',1,'monero::monero_wallet']]], + ['get_5freserve_5fproof_5faccount',['get_reserve_proof_account',['../classmonero_1_1monero__wallet.html#a28796d60f6e54143d6cafc14f591854e',1,'monero::monero_wallet']]], + ['get_5freserve_5fproof_5fwallet',['get_reserve_proof_wallet',['../classmonero_1_1monero__wallet.html#a9a95456c2fbcbe2a676c70460a8e0bda',1,'monero::monero_wallet']]], + ['get_5frestore_5fheight',['get_restore_height',['../classmonero_1_1monero__wallet.html#a30a419ba7b28242319d4564241d6b94b',1,'monero::monero_wallet']]], + ['get_5fseed',['get_seed',['../classmonero_1_1monero__wallet.html#afa833df9fed2437e56a91b5a426379b4',1,'monero::monero_wallet']]], + ['get_5fspend_5fproof',['get_spend_proof',['../classmonero_1_1monero__wallet.html#a29340c6c59b945ef3728b292dd3144e8',1,'monero::monero_wallet']]], + ['get_5fsubaddresses',['get_subaddresses',['../classmonero_1_1monero__wallet.html#aadbd9092fd8e3d4b16bf94a2fef7aa1c',1,'monero::monero_wallet::get_subaddresses(const uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#a00604f38d90eb68e04e7a45a7ea407e2',1,'monero::monero_wallet::get_subaddresses(const uint32_t account_idx, const vector< uint32_t > &subaddress_indices) const']]], + ['get_5ftransfers',['get_transfers',['../classmonero_1_1monero__wallet.html#a17f2d3c5cbafb2781d098c1b0b9849e4',1,'monero::monero_wallet']]], + ['get_5ftx_5fkey',['get_tx_key',['../classmonero_1_1monero__wallet.html#ad93756cae85dfe33fad9c764fcc3d18b',1,'monero::monero_wallet']]], + ['get_5ftx_5fnote',['get_tx_note',['../classmonero_1_1monero__wallet.html#a239724561e4efffcf75f3203200d5ee3',1,'monero::monero_wallet']]], + ['get_5ftx_5fnotes',['get_tx_notes',['../classmonero_1_1monero__wallet.html#a30f855906fd55be05e1c1db23b4e9eb1',1,'monero::monero_wallet']]], + ['get_5ftx_5fproof',['get_tx_proof',['../classmonero_1_1monero__wallet.html#a02a8c1e89a2163efc7cde7dc2540501d',1,'monero::monero_wallet']]], + ['get_5ftxs',['get_txs',['../classmonero_1_1monero__wallet.html#af4321c0aa28a16b31f6c65be86501fd9',1,'monero::monero_wallet::get_txs() const'],['../classmonero_1_1monero__wallet.html#a684c7b8900a2db3d720a639a28ade544',1,'monero::monero_wallet::get_txs(const monero_tx_query &request) const']]], + ['get_5funlocked_5fbalance',['get_unlocked_balance',['../classmonero_1_1monero__wallet.html#adab521cfa0d556a39c09de9cd049fe7f',1,'monero::monero_wallet::get_unlocked_balance() const'],['../classmonero_1_1monero__wallet.html#a6447d72b38ae1acf4cf8e777643c6b2b',1,'monero::monero_wallet::get_unlocked_balance(uint32_t account_idx) const'],['../classmonero_1_1monero__wallet.html#a65c2e256842d4c7d2b5c5ea8c267c8b4',1,'monero::monero_wallet::get_unlocked_balance(uint32_t account_idx, uint32_t subaddress_idx) const']]], + ['getsubaddress',['getSubaddress',['../classmonero_1_1monero__wallet.html#a26d5e8d327080d64504a902bac069b9b',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_4.html b/docs/search/functions_4.html new file mode 100644 index 0000000..e713f28 --- /dev/null +++ b/docs/search/functions_4.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js new file mode 100644 index 0000000..4da997d --- /dev/null +++ b/docs/search/functions_4.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['import_5fkey_5fimages',['import_key_images',['../classmonero_1_1monero__wallet.html#afe813a85b4e8aa065f56c92b593f4071',1,'monero::monero_wallet']]], + ['import_5foutputs_5fhex',['import_outputs_hex',['../classmonero_1_1monero__wallet.html#ac4f59053112ec076d830681b281d0746',1,'monero::monero_wallet']]], + ['incoming_5ftransfer_5fbefore',['incoming_transfer_before',['../namespacemonero.html#a289e7d9a279044252e447d725b2360b3',1,'monero']]], + ['is_5fconnected',['is_connected',['../classmonero_1_1monero__wallet.html#a0a20d8f73b00266e2d575cfc48fecfb6',1,'monero::monero_wallet']]], + ['is_5fdaemon_5fsynced',['is_daemon_synced',['../classmonero_1_1monero__wallet.html#a3bf1d352a15ab92ffddafca3c9583b9a',1,'monero::monero_wallet']]], + ['is_5fsynced',['is_synced',['../classmonero_1_1monero__wallet.html#adf218034ab5b4098b749d3f7ae83208c',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_5.html b/docs/search/functions_5.html new file mode 100644 index 0000000..cfe6b17 --- /dev/null +++ b/docs/search/functions_5.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_5.js b/docs/search/functions_5.js new file mode 100644 index 0000000..54df86a --- /dev/null +++ b/docs/search/functions_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['merge_5ftx',['merge_tx',['../namespacemonero.html#a5f11313995339d1eef46ab00c4a9b187',1,'monero']]], + ['move_5fto',['move_to',['../classmonero_1_1monero__wallet.html#ae401df6d1be2181ce9a33e2258cc065d',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_6.html b/docs/search/functions_6.html new file mode 100644 index 0000000..a78ec13 --- /dev/null +++ b/docs/search/functions_6.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js new file mode 100644 index 0000000..992a3e5 --- /dev/null +++ b/docs/search/functions_6.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['on_5fnew_5fblock',['on_new_block',['../classmonero_1_1monero__wallet__listener.html#a0276dc5dbe62b7df42e3eab1b5967895',1,'monero::monero_wallet_listener']]], + ['on_5foutput_5freceived',['on_output_received',['../classmonero_1_1monero__wallet__listener.html#a858412263ef3d02da6453334abacff18',1,'monero::monero_wallet_listener']]], + ['on_5foutput_5fspent',['on_output_spent',['../classmonero_1_1monero__wallet__listener.html#a3938fd913222b0f107d5b133d1afd439',1,'monero::monero_wallet_listener']]], + ['on_5fsync_5fprogress',['on_sync_progress',['../structmonero_1_1sync__listener__wrapper.html#ae75957bcc79bf9ed187910da973cb940',1,'monero::sync_listener_wrapper::on_sync_progress()'],['../classmonero_1_1monero__sync__listener.html#aa2c6e4a08d25e47d8a59ca2b3f2b0f40',1,'monero::monero_sync_listener::on_sync_progress()']]], + ['open_5fwallet',['open_wallet',['../classmonero_1_1monero__wallet.html#ab335a7f7451123e79012062ee03ca4c7',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_7.html b/docs/search/functions_7.html new file mode 100644 index 0000000..7842361 --- /dev/null +++ b/docs/search/functions_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_7.js b/docs/search/functions_7.js new file mode 100644 index 0000000..4b86ce3 --- /dev/null +++ b/docs/search/functions_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['parse_5fpayment_5furi',['parse_payment_uri',['../classmonero_1_1monero__wallet.html#a9afaca5a994c98daaff1083731164783',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_8.html b/docs/search/functions_8.html new file mode 100644 index 0000000..48feafe --- /dev/null +++ b/docs/search/functions_8.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js new file mode 100644 index 0000000..41f3f5e --- /dev/null +++ b/docs/search/functions_8.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['relay_5ftx',['relay_tx',['../classmonero_1_1monero__wallet.html#aa29e4fd0395c7101af8b8f41672e18d3',1,'monero::monero_wallet::relay_tx(const string &tx_metadata)'],['../classmonero_1_1monero__wallet.html#a05c2b29cf18f7201ebc9885439ac4959',1,'monero::monero_wallet::relay_tx(const monero_tx_wallet &tx)']]], + ['relay_5ftxs',['relay_txs',['../classmonero_1_1monero__wallet.html#a3d01da4bea76cb060a8a4442d11651e3',1,'monero::monero_wallet::relay_txs(const vector< string > &tx_metadatas)'],['../classmonero_1_1monero__wallet.html#aa11ffee904c0985a91d172d79a9413ca',1,'monero::monero_wallet::relay_txs(const vector< shared_ptr< monero_tx_wallet >> &txs)']]], + ['remove_5flistener',['remove_listener',['../classmonero_1_1monero__wallet.html#ad786da644ac586948b28ba48f88b676c',1,'monero::monero_wallet']]], + ['rescan_5fblockchain',['rescan_blockchain',['../classmonero_1_1monero__wallet.html#a7cc7b8ab33409234d09623934cd76082',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_9.html b/docs/search/functions_9.html new file mode 100644 index 0000000..0f05a8b --- /dev/null +++ b/docs/search/functions_9.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js new file mode 100644 index 0000000..c270767 --- /dev/null +++ b/docs/search/functions_9.js @@ -0,0 +1,20 @@ +var searchData= +[ + ['save',['save',['../classmonero_1_1monero__wallet.html#a0a3ef4621ffc14e36ecaf2cf77c5e4c3',1,'monero::monero_wallet']]], + ['send',['send',['../classmonero_1_1monero__wallet.html#af5d21eeed4331b436d71447d1aacd434',1,'monero::monero_wallet::send(monero_send_request &request)'],['../classmonero_1_1monero__wallet.html#a3b70eee9122afad49b4db2a7de93b77d',1,'monero::monero_wallet::send(uint32_t account_index, string address, uint64_t amount)'],['../classmonero_1_1monero__wallet.html#afde9d9507ec31463433c5957430ebcb3',1,'monero::monero_wallet::send(uint32_t account_index, string address, uint64_t amount, monero_send_priority priority)']]], + ['send_5fsplit',['send_split',['../classmonero_1_1monero__wallet.html#a87042710bc70d905fd06046e6a1e1a91',1,'monero::monero_wallet']]], + ['serialize',['serialize',['../structmonero_1_1serializable__struct.html#aff4103707ee262cc4bd15d8e789adddc',1,'monero::serializable_struct']]], + ['set_5fattribute',['set_attribute',['../classmonero_1_1monero__wallet.html#a8b1f71b19b450e146a1212425ebb277d',1,'monero::monero_wallet']]], + ['set_5fdaemon_5fconnection',['set_daemon_connection',['../classmonero_1_1monero__wallet.html#a30720a838407b9f2fe897a42628aa073',1,'monero::monero_wallet::set_daemon_connection(const string &uri, const string &username="", const string &password="")'],['../classmonero_1_1monero__wallet.html#ab0152566cf7d119702d1d9f18ceae424',1,'monero::monero_wallet::set_daemon_connection(const monero_rpc_connection &connection)']]], + ['set_5frestore_5fheight',['set_restore_height',['../classmonero_1_1monero__wallet.html#aaaad3ab2963fcf2e57cfd58272d4dce9',1,'monero::monero_wallet']]], + ['set_5ftx_5fnote',['set_tx_note',['../classmonero_1_1monero__wallet.html#a15d8c8ae3263f4ba1e8095685ea7d153',1,'monero::monero_wallet']]], + ['set_5ftx_5fnotes',['set_tx_notes',['../classmonero_1_1monero__wallet.html#a45ed4cc14338e53016aca586b240e7dd',1,'monero::monero_wallet']]], + ['sign',['sign',['../classmonero_1_1monero__wallet.html#a31a9677f28604c35c4d6c0dce1228e39',1,'monero::monero_wallet']]], + ['start_5fmining',['start_mining',['../classmonero_1_1monero__wallet.html#afa496a3f4f72d467460500888020d4ab',1,'monero::monero_wallet']]], + ['start_5fsyncing',['start_syncing',['../classmonero_1_1monero__wallet.html#aea02aaa33bca848415f3400e5c68daf1',1,'monero::monero_wallet']]], + ['stop_5fmining',['stop_mining',['../classmonero_1_1monero__wallet.html#a80cceae09c3ecf26924c716df5103fef',1,'monero::monero_wallet']]], + ['stop_5fsyncing',['stop_syncing',['../classmonero_1_1monero__wallet.html#ae431381dbcc196437b04516043d06087',1,'monero::monero_wallet']]], + ['sweep_5fdust',['sweep_dust',['../classmonero_1_1monero__wallet.html#a49b7107e7a68d33a4ae7bc6d4af75218',1,'monero::monero_wallet']]], + ['sweep_5foutput',['sweep_output',['../classmonero_1_1monero__wallet.html#aa94b928daf21395001650bde906ad154',1,'monero::monero_wallet']]], + ['sync',['sync',['../classmonero_1_1monero__wallet.html#ae69123b6fc6bc381f17a4e2faa323787',1,'monero::monero_wallet::sync()'],['../classmonero_1_1monero__wallet.html#afb4759741f9b1a536606b1a26c43e4e0',1,'monero::monero_wallet::sync(monero_sync_listener &listener)'],['../classmonero_1_1monero__wallet.html#aed4bae7ece950543bdb60f0039424401',1,'monero::monero_wallet::sync(uint64_t start_height)'],['../classmonero_1_1monero__wallet.html#abf2980e8c363030bcb2a6bf3aa9b53a8',1,'monero::monero_wallet::sync(uint64_t start_height, monero_sync_listener &listener)']]] +]; diff --git a/docs/search/functions_a.html b/docs/search/functions_a.html new file mode 100644 index 0000000..03faad2 --- /dev/null +++ b/docs/search/functions_a.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js new file mode 100644 index 0000000..d26b7c3 --- /dev/null +++ b/docs/search/functions_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['to_5fproperty_5ftree',['to_property_tree',['../structmonero_1_1serializable__struct.html#a1674afdced731c1687d37c05f3e7a9be',1,'monero::serializable_struct::to_property_tree()'],['../structmonero_1_1monero__block__header.html#abfb6486a0f190a2538c79a8cf63b8709',1,'monero::monero_block_header::to_property_tree()'],['../structmonero_1_1monero__block.html#a1210cc81324e8232e05893fcc8a38b09',1,'monero::monero_block::to_property_tree()'],['../structmonero_1_1monero__tx.html#a85861294812884fe5899bee3438f0049',1,'monero::monero_tx::to_property_tree()'],['../structmonero_1_1monero__key__image.html#ac7440270a4c250ddcffc99eb021320db',1,'monero::monero_key_image::to_property_tree()'],['../structmonero_1_1monero__output.html#a6426edac595e680d34b78cd8709bfbcb',1,'monero::monero_output::to_property_tree()'],['../structmonero_1_1monero__subaddress.html#af083b578419da9d69bffb6b3bd3e1cda',1,'monero::monero_subaddress::to_property_tree()'],['../structmonero_1_1monero__account.html#aca680b5cf23a357f8c49d843b9d1e715',1,'monero::monero_account::to_property_tree()'],['../structmonero_1_1monero__transfer.html#aac19cca1774b0b46b1bd78336772dfa7',1,'monero::monero_transfer::to_property_tree()'],['../structmonero_1_1monero__incoming__transfer.html#acc3c15bfd199eb94591fb87cffa2359a',1,'monero::monero_incoming_transfer::to_property_tree()'],['../structmonero_1_1monero__outgoing__transfer.html#a0a44f6722238b7c766811245ff57eb06',1,'monero::monero_outgoing_transfer::to_property_tree()'],['../structmonero_1_1monero__transfer__query.html#aad73282bc4d791ddd6e064c46e1e5b0b',1,'monero::monero_transfer_query::to_property_tree()'],['../structmonero_1_1monero__output__wallet.html#aee2dc54f465719999f78c44cd0c677a2',1,'monero::monero_output_wallet::to_property_tree()'],['../structmonero_1_1monero__output__query.html#aed180b284800897658175df13809086e',1,'monero::monero_output_query::to_property_tree()'],['../structmonero_1_1monero__tx__wallet.html#a38332602a4ba4d43dc7b04f5f774a9f3',1,'monero::monero_tx_wallet::to_property_tree()'],['../structmonero_1_1monero__tx__query.html#acffeb6bf3c558fa6db8ba7cc3f5658c3',1,'monero::monero_tx_query::to_property_tree()'],['../structmonero_1_1monero__integrated__address.html#a22078831c51ef860868a1b6bfad2ea24',1,'monero::monero_integrated_address::to_property_tree()'],['../structmonero_1_1monero__send__request.html#a71e56c039a357c178de342edd9ae0481',1,'monero::monero_send_request::to_property_tree()'],['../structmonero_1_1monero__key__image__import__result.html#a3e73289149f6aa37760e406165bb0edc',1,'monero::monero_key_image_import_result::to_property_tree()'],['../structmonero_1_1monero__check.html#a7a6ef3c88c37395642e2c519dfdcc246',1,'monero::monero_check::to_property_tree()'],['../structmonero_1_1monero__check__tx.html#acd887894552f4e94f9fa7e1641c53515',1,'monero::monero_check_tx::to_property_tree()'],['../structmonero_1_1monero__check__reserve.html#ad0c68f1f9292c462b9a87fdc5b84c27c',1,'monero::monero_check_reserve::to_property_tree()']]], + ['tx_5fheight_5fless_5fthan',['tx_height_less_than',['../namespacemonero.html#a05561b00d2f4f98c1ff9d082326cf8a9',1,'monero']]] +]; diff --git a/docs/search/functions_b.html b/docs/search/functions_b.html new file mode 100644 index 0000000..c690013 --- /dev/null +++ b/docs/search/functions_b.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_b.js b/docs/search/functions_b.js new file mode 100644 index 0000000..42d877f --- /dev/null +++ b/docs/search/functions_b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['validate_5ftransfer',['validate_transfer',['../namespacemonero.html#a11ef2da5190ff16e820b26ada8cfd943',1,'monero']]], + ['verify',['verify',['../classmonero_1_1monero__wallet.html#a9c7792c67874bdc4e1229f8efc28b0ec',1,'monero::monero_wallet']]], + ['vout_5fbefore',['vout_before',['../namespacemonero.html#ad88e2b182344e1c169cd028ad8366359',1,'monero']]] +]; diff --git a/docs/search/functions_c.html b/docs/search/functions_c.html new file mode 100644 index 0000000..3b2976a --- /dev/null +++ b/docs/search/functions_c.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js new file mode 100644 index 0000000..2392849 --- /dev/null +++ b/docs/search/functions_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['wait_5ffor_5fnext_5fblock',['wait_for_next_block',['../classmonero_1_1monero__wallet.html#adea8d9aeb4401c892b0bdd1f5df29fb8',1,'monero::monero_wallet']]], + ['wallet2_5flistener',['wallet2_listener',['../structmonero_1_1wallet2__listener.html#a1eb81f32adeff8288598295c7f05b9b6',1,'monero::wallet2_listener']]], + ['wallet_5fexists',['wallet_exists',['../classmonero_1_1monero__wallet.html#ad4174ed077e0c423bd87f3a0a89ac151',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/functions_d.html b/docs/search/functions_d.html new file mode 100644 index 0000000..0c54246 --- /dev/null +++ b/docs/search/functions_d.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js new file mode 100644 index 0000000..707548e --- /dev/null +++ b/docs/search/functions_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_7emonero_5fwallet',['~monero_wallet',['../classmonero_1_1monero__wallet.html#a8b434916e7815fcfe4dee23a3086def1',1,'monero::monero_wallet']]] +]; diff --git a/docs/search/mag_sel.png b/docs/search/mag_sel.png new file mode 100644 index 0000000..39c0ed5 Binary files /dev/null and b/docs/search/mag_sel.png differ diff --git a/docs/search/namespaces_0.html b/docs/search/namespaces_0.html new file mode 100644 index 0000000..c534537 --- /dev/null +++ b/docs/search/namespaces_0.html @@ -0,0 +1,30 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/search/namespaces_0.js b/docs/search/namespaces_0.js new file mode 100644 index 0000000..ba6cf72 --- /dev/null +++ b/docs/search/namespaces_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['monero',['monero',['../namespacemonero.html',1,'']]], + ['monero_5futils',['monero_utils',['../namespacemonero__utils.html',1,'']]] +]; diff --git a/docs/search/nomatches.html b/docs/search/nomatches.html new file mode 100644 index 0000000..4377320 --- /dev/null +++ b/docs/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/docs/search/search.css b/docs/search/search.css new file mode 100644 index 0000000..3cf9df9 --- /dev/null +++ b/docs/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + float: none; + margin-top: 8px; + right: 0px; + width: 170px; + height: 24px; + z-index: 102; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:115px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:8px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/search/search.js b/docs/search/search.js new file mode 100644 index 0000000..a554ab9 --- /dev/null +++ b/docs/search/search.js @@ -0,0 +1,814 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_account Member List
+
+
+ +

This is the complete list of members for monero::monero_account, including all inherited members.

+ + + + + + + + + +
m_balance (defined in monero::monero_account)monero::monero_account
m_index (defined in monero::monero_account)monero::monero_account
m_primary_address (defined in monero::monero_account)monero::monero_account
m_subaddresses (defined in monero::monero_account)monero::monero_account
m_tag (defined in monero::monero_account)monero::monero_account
m_unlocked_balance (defined in monero::monero_account)monero::monero_account
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_accountvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__account.html b/docs/structmonero_1_1monero__account.html new file mode 100644 index 0000000..4e0c4f4 --- /dev/null +++ b/docs/structmonero_1_1monero__account.html @@ -0,0 +1,161 @@ + + + + + + + +monero-cpp-library: monero::monero_account Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_account Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_account:
+
+
+ + +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + +

+Public Attributes

+boost::optional< uint32_t > m_index
 
+boost::optional< string > m_primary_address
 
+boost::optional< uint64_t > m_balance
 
+boost::optional< uint64_t > m_unlocked_balance
 
+boost::optional< string > m_tag
 
+vector< monero_subaddress > m_subaddresses
 
+

Detailed Description

+

Models a Monero account.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_account::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__account.png b/docs/structmonero_1_1monero__account.png new file mode 100644 index 0000000..af542f3 Binary files /dev/null and b/docs/structmonero_1_1monero__account.png differ diff --git a/docs/structmonero_1_1monero__block-members.html b/docs/structmonero_1_1monero__block-members.html new file mode 100644 index 0000000..6101d56 --- /dev/null +++ b/docs/structmonero_1_1monero__block-members.html @@ -0,0 +1,109 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_block Member List
+
+
+ +

This is the complete list of members for monero::monero_block, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
m_cumulative_difficulty (defined in monero::monero_block_header)monero::monero_block_header
m_depth (defined in monero::monero_block_header)monero::monero_block_header
m_difficulty (defined in monero::monero_block_header)monero::monero_block_header
m_height (defined in monero::monero_block_header)monero::monero_block_header
m_hex (defined in monero::monero_block)monero::monero_block
m_id (defined in monero::monero_block_header)monero::monero_block_header
m_long_term_weight (defined in monero::monero_block_header)monero::monero_block_header
m_major_version (defined in monero::monero_block_header)monero::monero_block_header
m_miner_tx (defined in monero::monero_block)monero::monero_block
m_miner_tx_id (defined in monero::monero_block_header)monero::monero_block_header
m_minor_version (defined in monero::monero_block_header)monero::monero_block_header
m_nonce (defined in monero::monero_block_header)monero::monero_block_header
m_num_txs (defined in monero::monero_block_header)monero::monero_block_header
m_orphan_status (defined in monero::monero_block_header)monero::monero_block_header
m_pow_hash (defined in monero::monero_block_header)monero::monero_block_header
m_prev_id (defined in monero::monero_block_header)monero::monero_block_header
m_reward (defined in monero::monero_block_header)monero::monero_block_header
m_size (defined in monero::monero_block_header)monero::monero_block_header
m_timestamp (defined in monero::monero_block_header)monero::monero_block_header
m_tx_ids (defined in monero::monero_block)monero::monero_block
m_txs (defined in monero::monero_block)monero::monero_block
m_weight (defined in monero::monero_block_header)monero::monero_block_header
merge(const shared_ptr< monero_block_header > &self, const shared_ptr< monero_block_header > &other) (defined in monero::monero_block)monero::monero_blockvirtual
merge(const shared_ptr< monero_block > &self, const shared_ptr< monero_block > &other) (defined in monero::monero_block)monero::monero_block
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_blockvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__block.html b/docs/structmonero_1_1monero__block.html new file mode 100644 index 0000000..e9cdf39 --- /dev/null +++ b/docs/structmonero_1_1monero__block.html @@ -0,0 +1,217 @@ + + + + + + + +monero-cpp-library: monero::monero_block Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_block Struct Reference
+
+
+ +

#include <monero_daemon_model.h>

+
+Inheritance diagram for monero::monero_block:
+
+
+ + +monero::monero_block_header +monero::serializable_struct + +
+ + + + + + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_block_header > &self, const shared_ptr< monero_block_header > &other)
 
+void merge (const shared_ptr< monero_block > &self, const shared_ptr< monero_block > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< string > m_hex
 
+boost::optional< shared_ptr< monero_tx > > m_miner_tx
 
+vector< shared_ptr< monero_tx > > m_txs
 
+vector< string > m_tx_ids
 
- Public Attributes inherited from monero::monero_block_header
+boost::optional< string > m_id
 
+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< uint64_t > m_nonce
 
+boost::optional< string > m_miner_tx_id
 
+boost::optional< uint32_t > m_num_txs
 
+boost::optional< bool > m_orphan_status
 
+boost::optional< string > m_prev_id
 
+boost::optional< uint64_t > m_reward
 
+boost::optional< string > m_pow_hash
 
+

Detailed Description

+

Models a Monero block in the blockchain.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_block::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_block_header.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__block.png b/docs/structmonero_1_1monero__block.png new file mode 100644 index 0000000..99cc752 Binary files /dev/null and b/docs/structmonero_1_1monero__block.png differ diff --git a/docs/structmonero_1_1monero__block__header-members.html b/docs/structmonero_1_1monero__block__header-members.html new file mode 100644 index 0000000..e9c710f --- /dev/null +++ b/docs/structmonero_1_1monero__block__header-members.html @@ -0,0 +1,104 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_block_header Member List
+
+
+ +

This is the complete list of members for monero::monero_block_header, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
m_cumulative_difficulty (defined in monero::monero_block_header)monero::monero_block_header
m_depth (defined in monero::monero_block_header)monero::monero_block_header
m_difficulty (defined in monero::monero_block_header)monero::monero_block_header
m_height (defined in monero::monero_block_header)monero::monero_block_header
m_id (defined in monero::monero_block_header)monero::monero_block_header
m_long_term_weight (defined in monero::monero_block_header)monero::monero_block_header
m_major_version (defined in monero::monero_block_header)monero::monero_block_header
m_miner_tx_id (defined in monero::monero_block_header)monero::monero_block_header
m_minor_version (defined in monero::monero_block_header)monero::monero_block_header
m_nonce (defined in monero::monero_block_header)monero::monero_block_header
m_num_txs (defined in monero::monero_block_header)monero::monero_block_header
m_orphan_status (defined in monero::monero_block_header)monero::monero_block_header
m_pow_hash (defined in monero::monero_block_header)monero::monero_block_header
m_prev_id (defined in monero::monero_block_header)monero::monero_block_header
m_reward (defined in monero::monero_block_header)monero::monero_block_header
m_size (defined in monero::monero_block_header)monero::monero_block_header
m_timestamp (defined in monero::monero_block_header)monero::monero_block_header
m_weight (defined in monero::monero_block_header)monero::monero_block_header
merge(const shared_ptr< monero_block_header > &self, const shared_ptr< monero_block_header > &other) (defined in monero::monero_block_header)monero::monero_block_headervirtual
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_block_headervirtual
+ + + + diff --git a/docs/structmonero_1_1monero__block__header.html b/docs/structmonero_1_1monero__block__header.html new file mode 100644 index 0000000..0173e01 --- /dev/null +++ b/docs/structmonero_1_1monero__block__header.html @@ -0,0 +1,204 @@ + + + + + + + +monero-cpp-library: monero::monero_block_header Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_block_header Struct Reference
+
+
+ +

#include <monero_daemon_model.h>

+
+Inheritance diagram for monero::monero_block_header:
+
+
+ + +monero::serializable_struct +monero::monero_block + +
+ + + + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
+virtual void merge (const shared_ptr< monero_block_header > &self, const shared_ptr< monero_block_header > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< string > m_id
 
+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< uint64_t > m_nonce
 
+boost::optional< string > m_miner_tx_id
 
+boost::optional< uint32_t > m_num_txs
 
+boost::optional< bool > m_orphan_status
 
+boost::optional< string > m_prev_id
 
+boost::optional< uint64_t > m_reward
 
+boost::optional< string > m_pow_hash
 
+

Detailed Description

+

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?

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_block_header::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +

Reimplemented in monero::monero_block.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__block__header.png b/docs/structmonero_1_1monero__block__header.png new file mode 100644 index 0000000..3d17bb0 Binary files /dev/null and b/docs/structmonero_1_1monero__block__header.png differ diff --git a/docs/structmonero_1_1monero__check-members.html b/docs/structmonero_1_1monero__check-members.html new file mode 100644 index 0000000..603597c --- /dev/null +++ b/docs/structmonero_1_1monero__check-members.html @@ -0,0 +1,86 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_check Member List
+
+
+ +

This is the complete list of members for monero::monero_check, including all inherited members.

+ + + + +
m_is_good (defined in monero::monero_check)monero::monero_check
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_checkvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__check.html b/docs/structmonero_1_1monero__check.html new file mode 100644 index 0000000..342d4bc --- /dev/null +++ b/docs/structmonero_1_1monero__check.html @@ -0,0 +1,150 @@ + + + + + + + +monero-cpp-library: monero::monero_check Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_check Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_check:
+
+
+ + +monero::serializable_struct +monero::monero_check_reserve +monero::monero_check_tx + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + +

+Public Attributes

+bool m_is_good
 
+

Detailed Description

+

Base class for results from checking a transaction or reserve proof.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_check::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +

Reimplemented in monero::monero_check_reserve, and monero::monero_check_tx.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__check.png b/docs/structmonero_1_1monero__check.png new file mode 100644 index 0000000..b198545 Binary files /dev/null and b/docs/structmonero_1_1monero__check.png differ diff --git a/docs/structmonero_1_1monero__check__reserve-members.html b/docs/structmonero_1_1monero__check__reserve-members.html new file mode 100644 index 0000000..f497481 --- /dev/null +++ b/docs/structmonero_1_1monero__check__reserve-members.html @@ -0,0 +1,88 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_check_reserve Member List
+
+
+ +

This is the complete list of members for monero::monero_check_reserve, including all inherited members.

+ + + + + + +
m_is_good (defined in monero::monero_check)monero::monero_check
m_total_amount (defined in monero::monero_check_reserve)monero::monero_check_reserve
m_unconfirmed_spent_amount (defined in monero::monero_check_reserve)monero::monero_check_reserve
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_check_reservevirtual
+ + + + diff --git a/docs/structmonero_1_1monero__check__reserve.html b/docs/structmonero_1_1monero__check__reserve.html new file mode 100644 index 0000000..f0c5e98 --- /dev/null +++ b/docs/structmonero_1_1monero__check__reserve.html @@ -0,0 +1,154 @@ + + + + + + + +monero-cpp-library: monero::monero_check_reserve Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_check_reserve Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_check_reserve:
+
+
+ + +monero::monero_check +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + +

+Public Attributes

+boost::optional< uint64_t > m_total_amount
 
+boost::optional< uint64_t > m_unconfirmed_spent_amount
 
- Public Attributes inherited from monero::monero_check
+bool m_is_good
 
+

Detailed Description

+

Results from checking a reserve proof.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_check_reserve::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_check.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__check__reserve.png b/docs/structmonero_1_1monero__check__reserve.png new file mode 100644 index 0000000..2a99d34 Binary files /dev/null and b/docs/structmonero_1_1monero__check__reserve.png differ diff --git a/docs/structmonero_1_1monero__check__tx-members.html b/docs/structmonero_1_1monero__check__tx-members.html new file mode 100644 index 0000000..e0eaa43 --- /dev/null +++ b/docs/structmonero_1_1monero__check__tx-members.html @@ -0,0 +1,89 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_check_tx Member List
+
+
+ +

This is the complete list of members for monero::monero_check_tx, including all inherited members.

+ + + + + + + +
m_in_tx_pool (defined in monero::monero_check_tx)monero::monero_check_tx
m_is_good (defined in monero::monero_check)monero::monero_check
m_num_confirmations (defined in monero::monero_check_tx)monero::monero_check_tx
m_received_amount (defined in monero::monero_check_tx)monero::monero_check_tx
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_check_txvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__check__tx.html b/docs/structmonero_1_1monero__check__tx.html new file mode 100644 index 0000000..31db248 --- /dev/null +++ b/docs/structmonero_1_1monero__check__tx.html @@ -0,0 +1,157 @@ + + + + + + + +monero-cpp-library: monero::monero_check_tx Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_check_tx Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_check_tx:
+
+
+ + +monero::monero_check +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + +

+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
+bool m_is_good
 
+

Detailed Description

+

Results from checking a transaction key.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_check_tx::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_check.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__check__tx.png b/docs/structmonero_1_1monero__check__tx.png new file mode 100644 index 0000000..89ed335 Binary files /dev/null and b/docs/structmonero_1_1monero__check__tx.png differ diff --git a/docs/structmonero_1_1monero__destination-members.html b/docs/structmonero_1_1monero__destination-members.html new file mode 100644 index 0000000..1b2f3d0 --- /dev/null +++ b/docs/structmonero_1_1monero__destination-members.html @@ -0,0 +1,89 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_destination Member List
+
+
+ +

This is the complete list of members for monero::monero_destination, including all inherited members.

+ + + + + + + +
copy(const shared_ptr< monero_destination > &src, const shared_ptr< monero_destination > &tgt) const (defined in monero::monero_destination)monero::monero_destination
m_address (defined in monero::monero_destination)monero::monero_destination
m_amount (defined in monero::monero_destination)monero::monero_destination
monero_destination() (defined in monero::monero_destination)monero::monero_destinationinline
monero_destination(const string &address, uint64_t amount) (defined in monero::monero_destination)monero::monero_destinationinline
to_property_tree() const (defined in monero::monero_destination)monero::monero_destination
+ + + + diff --git a/docs/structmonero_1_1monero__destination.html b/docs/structmonero_1_1monero__destination.html new file mode 100644 index 0000000..e030514 --- /dev/null +++ b/docs/structmonero_1_1monero__destination.html @@ -0,0 +1,114 @@ + + + + + + + +monero-cpp-library: monero::monero_destination Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_destination Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+ + + + + + + + +

+Public Member Functions

+ monero_destination (const string &address, uint64_t amount)
 
+shared_ptr< monero_destination > copy (const shared_ptr< monero_destination > &src, const shared_ptr< monero_destination > &tgt) const
 
+boost::property_tree::ptree to_property_tree () const
 
+ + + + + +

+Public Attributes

+boost::optional< string > m_address
 
+boost::optional< uint64_t > m_amount
 
+

Detailed Description

+

Models an outgoing transfer destination.

+

The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__incoming__transfer-members.html b/docs/structmonero_1_1monero__incoming__transfer-members.html new file mode 100644 index 0000000..defdacf --- /dev/null +++ b/docs/structmonero_1_1monero__incoming__transfer-members.html @@ -0,0 +1,97 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_incoming_transfer Member List
+
+
+ +

This is the complete list of members for monero::monero_incoming_transfer, including all inherited members.

+ + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfer
copy(const shared_ptr< monero_incoming_transfer > &src, const shared_ptr< monero_incoming_transfer > &tgt) const (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfer
is_incoming() const (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfervirtual
is_outgoing() const (defined in monero::monero_transfer)monero::monero_transferinline
m_account_index (defined in monero::monero_transfer)monero::monero_transfer
m_address (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfer
m_amount (defined in monero::monero_transfer)monero::monero_transfer
m_num_suggested_confirmations (defined in monero::monero_transfer)monero::monero_transfer
m_subaddress_index (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfer
m_tx (defined in monero::monero_transfer)monero::monero_transfer
merge(const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other) (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfer
merge(const shared_ptr< monero_incoming_transfer > &self, const shared_ptr< monero_incoming_transfer > &other) (defined in monero::monero_incoming_transfer)monero::monero_incoming_transfer
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_incoming_transfervirtual
+ + + + diff --git a/docs/structmonero_1_1monero__incoming__transfer.html b/docs/structmonero_1_1monero__incoming__transfer.html new file mode 100644 index 0000000..5298ab2 --- /dev/null +++ b/docs/structmonero_1_1monero__incoming__transfer.html @@ -0,0 +1,188 @@ + + + + + + + +monero-cpp-library: monero::monero_incoming_transfer Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_incoming_transfer Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_incoming_transfer:
+
+
+ + +monero::monero_transfer +monero::serializable_struct + +
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_incoming_transfer > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+shared_ptr< monero_incoming_transfer > copy (const shared_ptr< monero_incoming_transfer > &src, const shared_ptr< monero_incoming_transfer > &tgt) const
 
+boost::optional< bool > is_incoming () const
 
boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other)
 
+void merge (const shared_ptr< monero_incoming_transfer > &self, const shared_ptr< monero_incoming_transfer > &other)
 
- Public Member Functions inherited from monero::monero_transfer
+shared_ptr< monero_transfer > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+boost::optional< bool > is_outgoing () const
 
+void merge (const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< uint32_t > m_subaddress_index
 
+boost::optional< string > m_address
 
- Public Attributes inherited from monero::monero_transfer
+shared_ptr< monero_tx_wallet > m_tx
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint32_t > m_account_index
 
+boost::optional< uint32_t > m_num_suggested_confirmations
 
+

Detailed Description

+

Models an incoming transfer of funds to the wallet.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_incoming_transfer::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_transfer.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__incoming__transfer.png b/docs/structmonero_1_1monero__incoming__transfer.png new file mode 100644 index 0000000..0dab04f Binary files /dev/null and b/docs/structmonero_1_1monero__incoming__transfer.png differ diff --git a/docs/structmonero_1_1monero__integrated__address-members.html b/docs/structmonero_1_1monero__integrated__address-members.html new file mode 100644 index 0000000..5c9406d --- /dev/null +++ b/docs/structmonero_1_1monero__integrated__address-members.html @@ -0,0 +1,88 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_integrated_address Member List
+
+ + + + + diff --git a/docs/structmonero_1_1monero__integrated__address.html b/docs/structmonero_1_1monero__integrated__address.html new file mode 100644 index 0000000..f518d13 --- /dev/null +++ b/docs/structmonero_1_1monero__integrated__address.html @@ -0,0 +1,152 @@ + + + + + + + +monero-cpp-library: monero::monero_integrated_address Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_integrated_address Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_integrated_address:
+
+
+ + +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + +

+Public Attributes

+string m_standard_address
 
+string m_payment_id
 
+string m_integrated_address
 
+

Detailed Description

+

Monero integrated address model.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_integrated_address::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__integrated__address.png b/docs/structmonero_1_1monero__integrated__address.png new file mode 100644 index 0000000..8d27fb4 Binary files /dev/null and b/docs/structmonero_1_1monero__integrated__address.png differ diff --git a/docs/structmonero_1_1monero__key__image-members.html b/docs/structmonero_1_1monero__key__image-members.html new file mode 100644 index 0000000..b2094a9 --- /dev/null +++ b/docs/structmonero_1_1monero__key__image-members.html @@ -0,0 +1,89 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_key_image Member List
+
+
+ +

This is the complete list of members for monero::monero_key_image, including all inherited members.

+ + + + + + + +
copy(const shared_ptr< monero_key_image > &src, const shared_ptr< monero_key_image > &tgt) const (defined in monero::monero_key_image)monero::monero_key_image
m_hex (defined in monero::monero_key_image)monero::monero_key_image
m_signature (defined in monero::monero_key_image)monero::monero_key_image
merge(const shared_ptr< monero_key_image > &self, const shared_ptr< monero_key_image > &other) (defined in monero::monero_key_image)monero::monero_key_image
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_key_imagevirtual
+ + + + diff --git a/docs/structmonero_1_1monero__key__image.html b/docs/structmonero_1_1monero__key__image.html new file mode 100644 index 0000000..dc29f09 --- /dev/null +++ b/docs/structmonero_1_1monero__key__image.html @@ -0,0 +1,155 @@ + + + + + + + +monero-cpp-library: monero::monero_key_image Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_key_image Struct Reference
+
+
+ +

#include <monero_daemon_model.h>

+
+Inheritance diagram for monero::monero_key_image:
+
+
+ + +monero::serializable_struct + +
+ + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_key_image > copy (const shared_ptr< monero_key_image > &src, const shared_ptr< monero_key_image > &tgt) const
 
boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_key_image > &self, const shared_ptr< monero_key_image > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + +

+Public Attributes

+boost::optional< string > m_hex
 
+boost::optional< string > m_signature
 
+

Detailed Description

+

Models a Monero key image.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_key_image::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__key__image.png b/docs/structmonero_1_1monero__key__image.png new file mode 100644 index 0000000..888ed60 Binary files /dev/null and b/docs/structmonero_1_1monero__key__image.png differ diff --git a/docs/structmonero_1_1monero__key__image__import__result-members.html b/docs/structmonero_1_1monero__key__image__import__result-members.html new file mode 100644 index 0000000..5b3f756 --- /dev/null +++ b/docs/structmonero_1_1monero__key__image__import__result-members.html @@ -0,0 +1,88 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_key_image_import_result Member List
+
+ + + + + diff --git a/docs/structmonero_1_1monero__key__image__import__result.html b/docs/structmonero_1_1monero__key__image__import__result.html new file mode 100644 index 0000000..b8c5ab2 --- /dev/null +++ b/docs/structmonero_1_1monero__key__image__import__result.html @@ -0,0 +1,152 @@ + + + + + + + +monero-cpp-library: monero::monero_key_image_import_result Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_key_image_import_result Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_key_image_import_result:
+
+
+ + +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + +

+Public Attributes

+boost::optional< uint64_t > m_height
 
+boost::optional< uint64_t > m_spent_amount
 
+boost::optional< uint64_t > m_unspent_amount
 
+

Detailed Description

+

Models results from importing key images.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_key_image_import_result::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__key__image__import__result.png b/docs/structmonero_1_1monero__key__image__import__result.png new file mode 100644 index 0000000..b4703f4 Binary files /dev/null and b/docs/structmonero_1_1monero__key__image__import__result.png differ diff --git a/docs/structmonero_1_1monero__outgoing__transfer-members.html b/docs/structmonero_1_1monero__outgoing__transfer-members.html new file mode 100644 index 0000000..12adfed --- /dev/null +++ b/docs/structmonero_1_1monero__outgoing__transfer-members.html @@ -0,0 +1,98 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_outgoing_transfer Member List
+
+
+ +

This is the complete list of members for monero::monero_outgoing_transfer, including all inherited members.

+ + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
copy(const shared_ptr< monero_outgoing_transfer > &src, const shared_ptr< monero_outgoing_transfer > &tgt) const (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
is_incoming() const (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfervirtual
is_outgoing() const (defined in monero::monero_transfer)monero::monero_transferinline
m_account_index (defined in monero::monero_transfer)monero::monero_transfer
m_addresses (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
m_amount (defined in monero::monero_transfer)monero::monero_transfer
m_destinations (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
m_num_suggested_confirmations (defined in monero::monero_transfer)monero::monero_transfer
m_subaddress_indices (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
m_tx (defined in monero::monero_transfer)monero::monero_transfer
merge(const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other) (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
merge(const shared_ptr< monero_outgoing_transfer > &self, const shared_ptr< monero_outgoing_transfer > &other) (defined in monero::monero_outgoing_transfer)monero::monero_outgoing_transfer
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_outgoing_transfervirtual
+ + + + diff --git a/docs/structmonero_1_1monero__outgoing__transfer.html b/docs/structmonero_1_1monero__outgoing__transfer.html new file mode 100644 index 0000000..9dbd725 --- /dev/null +++ b/docs/structmonero_1_1monero__outgoing__transfer.html @@ -0,0 +1,191 @@ + + + + + + + +monero-cpp-library: monero::monero_outgoing_transfer Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_outgoing_transfer Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_outgoing_transfer:
+
+
+ + +monero::monero_transfer +monero::serializable_struct + +
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_outgoing_transfer > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+shared_ptr< monero_outgoing_transfer > copy (const shared_ptr< monero_outgoing_transfer > &src, const shared_ptr< monero_outgoing_transfer > &tgt) const
 
+boost::optional< bool > is_incoming () const
 
boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other)
 
+void merge (const shared_ptr< monero_outgoing_transfer > &self, const shared_ptr< monero_outgoing_transfer > &other)
 
- Public Member Functions inherited from monero::monero_transfer
+shared_ptr< monero_transfer > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+boost::optional< bool > is_outgoing () const
 
+void merge (const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + +

+Public Attributes

+vector< uint32_t > m_subaddress_indices
 
+vector< string > m_addresses
 
+vector< shared_ptr< monero_destination > > m_destinations
 
- Public Attributes inherited from monero::monero_transfer
+shared_ptr< monero_tx_wallet > m_tx
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint32_t > m_account_index
 
+boost::optional< uint32_t > m_num_suggested_confirmations
 
+

Detailed Description

+

Models an outgoing transfer of funds from the wallet.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_outgoing_transfer::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_transfer.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__outgoing__transfer.png b/docs/structmonero_1_1monero__outgoing__transfer.png new file mode 100644 index 0000000..20af973 Binary files /dev/null and b/docs/structmonero_1_1monero__outgoing__transfer.png differ diff --git a/docs/structmonero_1_1monero__output-members.html b/docs/structmonero_1_1monero__output-members.html new file mode 100644 index 0000000..13b3029 --- /dev/null +++ b/docs/structmonero_1_1monero__output-members.html @@ -0,0 +1,93 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_output Member List
+
+
+ +

This is the complete list of members for monero::monero_output, including all inherited members.

+ + + + + + + + + + + +
copy(const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const (defined in monero::monero_output)monero::monero_output
m_amount (defined in monero::monero_output)monero::monero_output
m_index (defined in monero::monero_output)monero::monero_output
m_key_image (defined in monero::monero_output)monero::monero_output
m_ring_output_indices (defined in monero::monero_output)monero::monero_output
m_stealth_public_key (defined in monero::monero_output)monero::monero_output
m_tx (defined in monero::monero_output)monero::monero_output
merge(const shared_ptr< monero_output > &self, const shared_ptr< monero_output > &other) (defined in monero::monero_output)monero::monero_outputvirtual
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_outputvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__output.html b/docs/structmonero_1_1monero__output.html new file mode 100644 index 0000000..e119a15 --- /dev/null +++ b/docs/structmonero_1_1monero__output.html @@ -0,0 +1,171 @@ + + + + + + + +monero-cpp-library: monero::monero_output Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_output Struct Reference
+
+
+ +

#include <monero_daemon_model.h>

+
+Inheritance diagram for monero::monero_output:
+
+
+ + +monero::serializable_struct +monero::monero_output_wallet +monero::monero_output_query + +
+ + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_output > copy (const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const
 
boost::property_tree::ptree to_property_tree () const
 
+virtual void merge (const shared_ptr< monero_output > &self, const shared_ptr< monero_output > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + +

+Public Attributes

+shared_ptr< monero_tx > m_tx
 
+boost::optional< shared_ptr< monero_key_image > > m_key_image
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint64_t > m_index
 
+vector< uint64_t > m_ring_output_indices
 
+boost::optional< string > m_stealth_public_key
 
+

Detailed Description

+

Models a Monero transaction output.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_output::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +

Reimplemented in monero::monero_output_query, and monero::monero_output_wallet.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__output.png b/docs/structmonero_1_1monero__output.png new file mode 100644 index 0000000..d531126 Binary files /dev/null and b/docs/structmonero_1_1monero__output.png differ diff --git a/docs/structmonero_1_1monero__output__query-members.html b/docs/structmonero_1_1monero__output__query-members.html new file mode 100644 index 0000000..a9cc5fd --- /dev/null +++ b/docs/structmonero_1_1monero__output__query-members.html @@ -0,0 +1,104 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_output_query Member List
+
+
+ +

This is the complete list of members for monero::monero_output_query, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const (defined in monero::monero_output_query)monero::monero_output_query
copy(const shared_ptr< monero_output_wallet > &src, const shared_ptr< monero_output_wallet > &tgt) const (defined in monero::monero_output_query)monero::monero_output_query
copy(const shared_ptr< monero_output_query > &src, const shared_ptr< monero_output_query > &tgt) const (defined in monero::monero_output_query)monero::monero_output_query
m_account_index (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_amount (defined in monero::monero_output)monero::monero_output
m_index (defined in monero::monero_output)monero::monero_output
m_is_frozen (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_is_spent (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_is_unlocked (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_key_image (defined in monero::monero_output)monero::monero_output
m_ring_output_indices (defined in monero::monero_output)monero::monero_output
m_stealth_public_key (defined in monero::monero_output)monero::monero_output
m_subaddress_index (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_subaddress_indices (defined in monero::monero_output_query)monero::monero_output_query
m_tx (defined in monero::monero_output)monero::monero_output
m_tx_query (defined in monero::monero_output_query)monero::monero_output_query
meets_criteria(monero_output_wallet *output) const (defined in monero::monero_output_query)monero::monero_output_query
merge(const shared_ptr< monero_output > &self, const shared_ptr< monero_output > &other) (defined in monero::monero_output_wallet)monero::monero_output_walletvirtual
merge(const shared_ptr< monero_output_wallet > &self, const shared_ptr< monero_output_wallet > &other) (defined in monero::monero_output_wallet)monero::monero_output_wallet
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_output_queryvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__output__query.html b/docs/structmonero_1_1monero__output__query.html new file mode 100644 index 0000000..e193cee --- /dev/null +++ b/docs/structmonero_1_1monero__output__query.html @@ -0,0 +1,216 @@ + + + + + + + +monero-cpp-library: monero::monero_output_query Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_output_query Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_output_query:
+
+
+ + +monero::monero_output_wallet +monero::monero_output +monero::serializable_struct + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_output_query > copy (const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const
 
+shared_ptr< monero_output_query > copy (const shared_ptr< monero_output_wallet > &src, const shared_ptr< monero_output_wallet > &tgt) const
 
+shared_ptr< monero_output_query > copy (const shared_ptr< monero_output_query > &src, const shared_ptr< monero_output_query > &tgt) const
 
boost::property_tree::ptree to_property_tree () const
 
+bool meets_criteria (monero_output_wallet *output) const
 
- Public Member Functions inherited from monero::monero_output_wallet
+shared_ptr< monero_output_wallet > copy (const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const
 
+shared_ptr< monero_output_wallet > copy (const shared_ptr< monero_output_wallet > &src, const shared_ptr< monero_output_wallet > &tgt) const
 
+void merge (const shared_ptr< monero_output > &self, const shared_ptr< monero_output > &other)
 
+void merge (const shared_ptr< monero_output_wallet > &self, const shared_ptr< monero_output_wallet > &other)
 
- Public Member Functions inherited from monero::monero_output
+shared_ptr< monero_output > copy (const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+vector< uint32_t > m_subaddress_indices
 
+boost::optional< shared_ptr< monero_tx_query > > m_tx_query
 
- 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_unlocked
 
+boost::optional< bool > m_is_frozen
 
- Public Attributes inherited from monero::monero_output
+shared_ptr< monero_tx > m_tx
 
+boost::optional< shared_ptr< monero_key_image > > m_key_image
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint64_t > m_index
 
+vector< uint64_t > m_ring_output_indices
 
+boost::optional< string > m_stealth_public_key
 
+

Detailed Description

+

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.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_output_query::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_output_wallet.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__output__query.png b/docs/structmonero_1_1monero__output__query.png new file mode 100644 index 0000000..a6d638b Binary files /dev/null and b/docs/structmonero_1_1monero__output__query.png differ diff --git a/docs/structmonero_1_1monero__output__wallet-members.html b/docs/structmonero_1_1monero__output__wallet-members.html new file mode 100644 index 0000000..f0e675a --- /dev/null +++ b/docs/structmonero_1_1monero__output__wallet-members.html @@ -0,0 +1,100 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_output_wallet Member List
+
+
+ +

This is the complete list of members for monero::monero_output_wallet, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const (defined in monero::monero_output_wallet)monero::monero_output_wallet
copy(const shared_ptr< monero_output_wallet > &src, const shared_ptr< monero_output_wallet > &tgt) const (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_account_index (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_amount (defined in monero::monero_output)monero::monero_output
m_index (defined in monero::monero_output)monero::monero_output
m_is_frozen (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_is_spent (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_is_unlocked (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_key_image (defined in monero::monero_output)monero::monero_output
m_ring_output_indices (defined in monero::monero_output)monero::monero_output
m_stealth_public_key (defined in monero::monero_output)monero::monero_output
m_subaddress_index (defined in monero::monero_output_wallet)monero::monero_output_wallet
m_tx (defined in monero::monero_output)monero::monero_output
merge(const shared_ptr< monero_output > &self, const shared_ptr< monero_output > &other) (defined in monero::monero_output_wallet)monero::monero_output_walletvirtual
merge(const shared_ptr< monero_output_wallet > &self, const shared_ptr< monero_output_wallet > &other) (defined in monero::monero_output_wallet)monero::monero_output_wallet
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_output_walletvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__output__wallet.html b/docs/structmonero_1_1monero__output__wallet.html new file mode 100644 index 0000000..939632f --- /dev/null +++ b/docs/structmonero_1_1monero__output__wallet.html @@ -0,0 +1,197 @@ + + + + + + + +monero-cpp-library: monero::monero_output_wallet Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_output_wallet Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_output_wallet:
+
+
+ + +monero::monero_output +monero::serializable_struct +monero::monero_output_query + +
+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_output_wallet > copy (const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const
 
+shared_ptr< monero_output_wallet > copy (const shared_ptr< monero_output_wallet > &src, const shared_ptr< monero_output_wallet > &tgt) const
 
boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_output > &self, const shared_ptr< monero_output > &other)
 
+void merge (const shared_ptr< monero_output_wallet > &self, const shared_ptr< monero_output_wallet > &other)
 
- Public Member Functions inherited from monero::monero_output
+shared_ptr< monero_output > copy (const shared_ptr< monero_output > &src, const shared_ptr< monero_output > &tgt) const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+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_unlocked
 
+boost::optional< bool > m_is_frozen
 
- Public Attributes inherited from monero::monero_output
+shared_ptr< monero_tx > m_tx
 
+boost::optional< shared_ptr< monero_key_image > > m_key_image
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint64_t > m_index
 
+vector< uint64_t > m_ring_output_indices
 
+boost::optional< string > m_stealth_public_key
 
+

Detailed Description

+

Models a Monero output with wallet extensions.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_output_wallet::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_output.

+ +

Reimplemented in monero::monero_output_query.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__output__wallet.png b/docs/structmonero_1_1monero__output__wallet.png new file mode 100644 index 0000000..9085163 Binary files /dev/null and b/docs/structmonero_1_1monero__output__wallet.png differ diff --git a/docs/structmonero_1_1monero__rpc__connection-members.html b/docs/structmonero_1_1monero__rpc__connection-members.html new file mode 100644 index 0000000..7d5c637 --- /dev/null +++ b/docs/structmonero_1_1monero__rpc__connection-members.html @@ -0,0 +1,87 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_rpc_connection Member List
+
+
+ +

This is the complete list of members for monero::monero_rpc_connection, including all inherited members.

+ + + + + +
m_password (defined in monero::monero_rpc_connection)monero::monero_rpc_connection
m_uri (defined in monero::monero_rpc_connection)monero::monero_rpc_connection
m_username (defined in monero::monero_rpc_connection)monero::monero_rpc_connection
monero_rpc_connection(const string &uri="", const boost::optional< string > &username=boost::none, const boost::optional< string > &password=boost::none) (defined in monero::monero_rpc_connection)monero::monero_rpc_connectioninline
+ + + + diff --git a/docs/structmonero_1_1monero__rpc__connection.html b/docs/structmonero_1_1monero__rpc__connection.html new file mode 100644 index 0000000..8c2d370 --- /dev/null +++ b/docs/structmonero_1_1monero__rpc__connection.html @@ -0,0 +1,111 @@ + + + + + + + +monero-cpp-library: monero::monero_rpc_connection Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_rpc_connection Struct Reference
+
+
+ +

#include <monero_daemon_model.h>

+ + + + +

+Public Member Functions

+ monero_rpc_connection (const string &uri="", const boost::optional< string > &username=boost::none, const boost::optional< string > &password=boost::none)
 
+ + + + + + + +

+Public Attributes

+string m_uri
 
+boost::optional< string > m_username
 
+boost::optional< string > m_password
 
+

Detailed Description

+

Models a connection to a daemon.

+

TODO: switch to boost::optional<string>

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/structmonero_1_1monero__send__request-members.html b/docs/structmonero_1_1monero__send__request-members.html new file mode 100644 index 0000000..c25b0cc --- /dev/null +++ b/docs/structmonero_1_1monero__send__request-members.html @@ -0,0 +1,101 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_send_request Member List
+
+
+ +

This is the complete list of members for monero::monero_send_request, including all inherited members.

+ + + + + + + + + + + + + + + + + + + +
m_account_index (defined in monero::monero_send_request)monero::monero_send_request
m_below_amount (defined in monero::monero_send_request)monero::monero_send_request
m_can_split (defined in monero::monero_send_request)monero::monero_send_request
m_destinations (defined in monero::monero_send_request)monero::monero_send_request
m_do_not_relay (defined in monero::monero_send_request)monero::monero_send_request
m_fee (defined in monero::monero_send_request)monero::monero_send_request
m_key_image (defined in monero::monero_send_request)monero::monero_send_request
m_mixin (defined in monero::monero_send_request)monero::monero_send_request
m_note (defined in monero::monero_send_request)monero::monero_send_request
m_payment_id (defined in monero::monero_send_request)monero::monero_send_request
m_priority (defined in monero::monero_send_request)monero::monero_send_request
m_recipient_name (defined in monero::monero_send_request)monero::monero_send_request
m_ring_size (defined in monero::monero_send_request)monero::monero_send_request
m_subaddress_indices (defined in monero::monero_send_request)monero::monero_send_request
m_sweep_each_subaddress (defined in monero::monero_send_request)monero::monero_send_request
m_unlock_time (defined in monero::monero_send_request)monero::monero_send_request
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_send_requestvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__send__request.html b/docs/structmonero_1_1monero__send__request.html new file mode 100644 index 0000000..6c48f6a --- /dev/null +++ b/docs/structmonero_1_1monero__send__request.html @@ -0,0 +1,191 @@ + + + + + + + +monero-cpp-library: monero::monero_send_request Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_send_request Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_send_request:
+
+
+ + +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+vector< shared_ptr< monero_destination > > m_destinations
 
+boost::optional< string > m_payment_id
 
+boost::optional< monero_send_priority > m_priority
 
+boost::optional< uint32_t > m_mixin
 
+boost::optional< uint32_t > m_ring_size
 
+boost::optional< uint64_t > m_fee
 
+boost::optional< uint32_t > m_account_index
 
+vector< uint32_t > m_subaddress_indices
 
+boost::optional< uint64_t > m_unlock_time
 
+boost::optional< bool > m_can_split
 
+boost::optional< bool > m_do_not_relay
 
+boost::optional< string > m_note
 
+boost::optional< string > m_recipient_name
 
+boost::optional< uint64_t > m_below_amount
 
+boost::optional< bool > m_sweep_each_subaddress
 
+boost::optional< string > m_key_image
 
+

Detailed Description

+

Configures a request to send/sweep funds or create a payment URI.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_send_request::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__send__request.png b/docs/structmonero_1_1monero__send__request.png new file mode 100644 index 0000000..187bfb5 Binary files /dev/null and b/docs/structmonero_1_1monero__send__request.png differ diff --git a/docs/structmonero_1_1monero__subaddress-members.html b/docs/structmonero_1_1monero__subaddress-members.html new file mode 100644 index 0000000..cb3bda5 --- /dev/null +++ b/docs/structmonero_1_1monero__subaddress-members.html @@ -0,0 +1,94 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_subaddress Member List
+
+
+ +

This is the complete list of members for monero::monero_subaddress, including all inherited members.

+ + + + + + + + + + + + +
m_account_index (defined in monero::monero_subaddress)monero::monero_subaddress
m_address (defined in monero::monero_subaddress)monero::monero_subaddress
m_balance (defined in monero::monero_subaddress)monero::monero_subaddress
m_index (defined in monero::monero_subaddress)monero::monero_subaddress
m_is_used (defined in monero::monero_subaddress)monero::monero_subaddress
m_label (defined in monero::monero_subaddress)monero::monero_subaddress
m_num_blocks_to_unlock (defined in monero::monero_subaddress)monero::monero_subaddress
m_num_unspent_outputs (defined in monero::monero_subaddress)monero::monero_subaddress
m_unlocked_balance (defined in monero::monero_subaddress)monero::monero_subaddress
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_subaddressvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__subaddress.html b/docs/structmonero_1_1monero__subaddress.html new file mode 100644 index 0000000..b4fbf39 --- /dev/null +++ b/docs/structmonero_1_1monero__subaddress.html @@ -0,0 +1,170 @@ + + + + + + + +monero-cpp-library: monero::monero_subaddress Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_subaddress Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_subaddress:
+
+
+ + +monero::serializable_struct + +
+ + + + + + + +

+Public Member Functions

boost::property_tree::ptree to_property_tree () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< uint32_t > m_account_index
 
+boost::optional< uint32_t > m_index
 
+boost::optional< string > m_address
 
+boost::optional< string > m_label
 
+boost::optional< uint64_t > m_balance
 
+boost::optional< uint64_t > m_unlocked_balance
 
+boost::optional< uint32_t > m_num_unspent_outputs
 
+boost::optional< bool > m_is_used
 
+boost::optional< uint32_t > m_num_blocks_to_unlock
 
+

Detailed Description

+

Models a Monero subaddress.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_subaddress::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__subaddress.png b/docs/structmonero_1_1monero__subaddress.png new file mode 100644 index 0000000..7810834 Binary files /dev/null and b/docs/structmonero_1_1monero__subaddress.png differ diff --git a/docs/structmonero_1_1monero__sync__result-members.html b/docs/structmonero_1_1monero__sync__result-members.html new file mode 100644 index 0000000..95fa401 --- /dev/null +++ b/docs/structmonero_1_1monero__sync__result-members.html @@ -0,0 +1,87 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_sync_result Member List
+
+
+ +

This is the complete list of members for monero::monero_sync_result, including all inherited members.

+ + + + + +
m_num_blocks_fetched (defined in monero::monero_sync_result)monero::monero_sync_result
m_received_money (defined in monero::monero_sync_result)monero::monero_sync_result
monero_sync_result() (defined in monero::monero_sync_result)monero::monero_sync_resultinline
monero_sync_result(const uint64_t num_blocks_fetched, const bool received_money) (defined in monero::monero_sync_result)monero::monero_sync_resultinline
+ + + + diff --git a/docs/structmonero_1_1monero__sync__result.html b/docs/structmonero_1_1monero__sync__result.html new file mode 100644 index 0000000..61ad3e7 --- /dev/null +++ b/docs/structmonero_1_1monero__sync__result.html @@ -0,0 +1,107 @@ + + + + + + + +monero-cpp-library: monero::monero_sync_result Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_sync_result Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+ + + + +

+Public Member Functions

+ monero_sync_result (const uint64_t num_blocks_fetched, const bool received_money)
 
+ + + + + +

+Public Attributes

+uint64_t m_num_blocks_fetched
 
+bool m_received_money
 
+

Detailed Description

+

Models a result of syncing a wallet.

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/structmonero_1_1monero__transfer-members.html b/docs/structmonero_1_1monero__transfer-members.html new file mode 100644 index 0000000..0caa870 --- /dev/null +++ b/docs/structmonero_1_1monero__transfer-members.html @@ -0,0 +1,93 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_transfer Member List
+
+
+ +

This is the complete list of members for monero::monero_transfer, including all inherited members.

+ + + + + + + + + + + +
copy(const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const (defined in monero::monero_transfer)monero::monero_transfer
is_incoming() const =0 (defined in monero::monero_transfer)monero::monero_transferpure virtual
is_outgoing() const (defined in monero::monero_transfer)monero::monero_transferinline
m_account_index (defined in monero::monero_transfer)monero::monero_transfer
m_amount (defined in monero::monero_transfer)monero::monero_transfer
m_num_suggested_confirmations (defined in monero::monero_transfer)monero::monero_transfer
m_tx (defined in monero::monero_transfer)monero::monero_transfer
merge(const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other) (defined in monero::monero_transfer)monero::monero_transfer
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_transfervirtual
+ + + + diff --git a/docs/structmonero_1_1monero__transfer.html b/docs/structmonero_1_1monero__transfer.html new file mode 100644 index 0000000..8fa406a --- /dev/null +++ b/docs/structmonero_1_1monero__transfer.html @@ -0,0 +1,172 @@ + + + + + + + +monero-cpp-library: monero::monero_transfer Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_transfer Struct Referenceabstract
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_transfer:
+
+
+ + +monero::serializable_struct +monero::monero_incoming_transfer +monero::monero_outgoing_transfer +monero::monero_transfer_query + +
+ + + + + + + + + + + + + + + +

+Public Member Functions

+virtual boost::optional< bool > is_incoming () const =0
 
+shared_ptr< monero_transfer > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+boost::optional< bool > is_outgoing () const
 
boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + +

+Public Attributes

+shared_ptr< monero_tx_wallet > m_tx
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint32_t > m_account_index
 
+boost::optional< uint32_t > m_num_suggested_confirmations
 
+

Detailed Description

+

Models a base transfer of funds to or from the wallet.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_transfer::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +

Reimplemented in monero::monero_transfer_query, monero::monero_outgoing_transfer, and monero::monero_incoming_transfer.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__transfer.png b/docs/structmonero_1_1monero__transfer.png new file mode 100644 index 0000000..2e456b5 Binary files /dev/null and b/docs/structmonero_1_1monero__transfer.png differ diff --git a/docs/structmonero_1_1monero__transfer__query-members.html b/docs/structmonero_1_1monero__transfer__query-members.html new file mode 100644 index 0000000..4fb582a --- /dev/null +++ b/docs/structmonero_1_1monero__transfer__query-members.html @@ -0,0 +1,103 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_transfer_query Member List
+
+
+ +

This is the complete list of members for monero::monero_transfer_query, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const (defined in monero::monero_transfer_query)monero::monero_transfer_query
copy(const shared_ptr< monero_transfer_query > &src, const shared_ptr< monero_transfer_query > &tgt) const (defined in monero::monero_transfer_query)monero::monero_transfer_query
is_incoming() const (defined in monero::monero_transfer_query)monero::monero_transfer_queryvirtual
is_outgoing() const (defined in monero::monero_transfer)monero::monero_transferinline
m_account_index (defined in monero::monero_transfer)monero::monero_transfer
m_address (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_addresses (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_amount (defined in monero::monero_transfer)monero::monero_transfer
m_destinations (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_has_destinations (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_is_incoming (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_num_suggested_confirmations (defined in monero::monero_transfer)monero::monero_transfer
m_subaddress_index (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_subaddress_indices (defined in monero::monero_transfer_query)monero::monero_transfer_query
m_tx (defined in monero::monero_transfer)monero::monero_transfer
m_tx_query (defined in monero::monero_transfer_query)monero::monero_transfer_query
meets_criteria(monero_transfer *transfer) const (defined in monero::monero_transfer_query)monero::monero_transfer_query
merge(const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other) (defined in monero::monero_transfer)monero::monero_transfer
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_transfer_queryvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__transfer__query.html b/docs/structmonero_1_1monero__transfer__query.html new file mode 100644 index 0000000..b8549ab --- /dev/null +++ b/docs/structmonero_1_1monero__transfer__query.html @@ -0,0 +1,204 @@ + + + + + + + +monero-cpp-library: monero::monero_transfer_query Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_transfer_query Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_transfer_query:
+
+
+ + +monero::monero_transfer +monero::serializable_struct + +
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_transfer_query > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+shared_ptr< monero_transfer_query > copy (const shared_ptr< monero_transfer_query > &src, const shared_ptr< monero_transfer_query > &tgt) const
 
+boost::optional< bool > is_incoming () const
 
boost::property_tree::ptree to_property_tree () const
 
+bool meets_criteria (monero_transfer *transfer) const
 
- Public Member Functions inherited from monero::monero_transfer
+shared_ptr< monero_transfer > copy (const shared_ptr< monero_transfer > &src, const shared_ptr< monero_transfer > &tgt) const
 
+boost::optional< bool > is_outgoing () const
 
+void merge (const shared_ptr< monero_transfer > &self, const shared_ptr< monero_transfer > &other)
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< bool > m_is_incoming
 
+boost::optional< string > m_address
 
+vector< string > m_addresses
 
+boost::optional< uint32_t > m_subaddress_index
 
+vector< uint32_t > m_subaddress_indices
 
+vector< shared_ptr< monero_destination > > m_destinations
 
+boost::optional< bool > m_has_destinations
 
+boost::optional< shared_ptr< monero_tx_query > > m_tx_query
 
- Public Attributes inherited from monero::monero_transfer
+shared_ptr< monero_tx_wallet > m_tx
 
+boost::optional< uint64_t > m_amount
 
+boost::optional< uint32_t > m_account_index
 
+boost::optional< uint32_t > m_num_suggested_confirmations
 
+

Detailed Description

+

Configures a query to retrieve transfers.

+

All transfers are returned except those that do not meet the criteria defined in this query.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_transfer_query::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_transfer.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__transfer__query.png b/docs/structmonero_1_1monero__transfer__query.png new file mode 100644 index 0000000..f983c30 Binary files /dev/null and b/docs/structmonero_1_1monero__transfer__query.png differ diff --git a/docs/structmonero_1_1monero__tx-members.html b/docs/structmonero_1_1monero__tx-members.html new file mode 100644 index 0000000..fcdd92b --- /dev/null +++ b/docs/structmonero_1_1monero__tx-members.html @@ -0,0 +1,127 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_tx Member List
+
+
+ +

This is the complete list of members for monero::monero_tx, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const (defined in monero::monero_tx)monero::monero_tx
DEFAULT_PAYMENT_ID (defined in monero::monero_tx)monero::monero_txstatic
get_height() const (defined in monero::monero_tx)monero::monero_tx
m_block (defined in monero::monero_tx)monero::monero_tx
m_common_tx_sets (defined in monero::monero_tx)monero::monero_tx
m_do_not_relay (defined in monero::monero_tx)monero::monero_tx
m_extra (defined in monero::monero_tx)monero::monero_tx
m_fee (defined in monero::monero_tx)monero::monero_tx
m_full_hex (defined in monero::monero_tx)monero::monero_tx
m_id (defined in monero::monero_tx)monero::monero_tx
m_in_tx_pool (defined in monero::monero_tx)monero::monero_tx
m_is_confirmed (defined in monero::monero_tx)monero::monero_tx
m_is_double_spend_seen (defined in monero::monero_tx)monero::monero_tx
m_is_failed (defined in monero::monero_tx)monero::monero_tx
m_is_kept_by_block (defined in monero::monero_tx)monero::monero_tx
m_is_miner_tx (defined in monero::monero_tx)monero::monero_tx
m_is_relayed (defined in monero::monero_tx)monero::monero_tx
m_key (defined in monero::monero_tx)monero::monero_tx
m_last_failed_height (defined in monero::monero_tx)monero::monero_tx
m_last_failed_id (defined in monero::monero_tx)monero::monero_tx
m_last_relayed_timestamp (defined in monero::monero_tx)monero::monero_tx
m_max_used_block_height (defined in monero::monero_tx)monero::monero_tx
m_max_used_block_id (defined in monero::monero_tx)monero::monero_tx
m_metadata (defined in monero::monero_tx)monero::monero_tx
m_mixin (defined in monero::monero_tx)monero::monero_tx
m_num_confirmations (defined in monero::monero_tx)monero::monero_tx
m_output_indices (defined in monero::monero_tx)monero::monero_tx
m_payment_id (defined in monero::monero_tx)monero::monero_tx
m_prunable_hash (defined in monero::monero_tx)monero::monero_tx
m_prunable_hex (defined in monero::monero_tx)monero::monero_tx
m_pruned_hex (defined in monero::monero_tx)monero::monero_tx
m_rct_sig_prunable (defined in monero::monero_tx)monero::monero_tx
m_rct_signatures (defined in monero::monero_tx)monero::monero_tx
m_received_timestamp (defined in monero::monero_tx)monero::monero_tx
m_signatures (defined in monero::monero_tx)monero::monero_tx
m_size (defined in monero::monero_tx)monero::monero_tx
m_unlock_time (defined in monero::monero_tx)monero::monero_tx
m_version (defined in monero::monero_tx)monero::monero_tx
m_vins (defined in monero::monero_tx)monero::monero_tx
m_vouts (defined in monero::monero_tx)monero::monero_tx
m_weight (defined in monero::monero_tx)monero::monero_tx
merge(const shared_ptr< monero_tx > &self, const shared_ptr< monero_tx > &other) (defined in monero::monero_tx)monero::monero_txvirtual
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_txvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__tx.html b/docs/structmonero_1_1monero__tx.html new file mode 100644 index 0000000..5768c8c --- /dev/null +++ b/docs/structmonero_1_1monero__tx.html @@ -0,0 +1,277 @@ + + + + + + + +monero-cpp-library: monero::monero_tx Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_tx Struct Reference
+
+
+ +

#include <monero_daemon_model.h>

+
+Inheritance diagram for monero::monero_tx:
+
+
+ + +monero::serializable_struct +monero::monero_tx_wallet +monero::monero_tx_query + +
+ + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_tx > copy (const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const
 
boost::property_tree::ptree to_property_tree () const
 
+virtual void merge (const shared_ptr< monero_tx > &self, const shared_ptr< monero_tx > &other)
 
+boost::optional< uint64_t > get_height () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< shared_ptr< monero_block > > m_block
 
+boost::optional< string > m_id
 
+boost::optional< uint32_t > m_version
 
+boost::optional< bool > m_is_miner_tx
 
+boost::optional< string > m_payment_id
 
+boost::optional< uint64_t > m_fee
 
+boost::optional< uint32_t > m_mixin
 
+boost::optional< bool > m_do_not_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< string > m_key
 
+boost::optional< string > m_full_hex
 
+boost::optional< string > m_pruned_hex
 
+boost::optional< string > m_prunable_hex
 
+boost::optional< string > m_prunable_hash
 
+boost::optional< uint32_t > m_size
 
+boost::optional< uint32_t > m_weight
 
+vector< shared_ptr< monero_output > > m_vins
 
+vector< shared_ptr< monero_output > > m_vouts
 
+vector< uint32_t > m_output_indices
 
+boost::optional< string > m_metadata
 
+boost::optional< string > m_common_tx_sets
 
+vector< uint8_t > m_extra
 
+boost::optional< string > m_rct_signatures
 
+boost::optional< string > m_rct_sig_prunable
 
+boost::optional< bool > m_is_kept_by_block
 
+boost::optional< bool > m_is_failed
 
+boost::optional< uint32_t > m_last_failed_height
 
+boost::optional< string > m_last_failed_id
 
+boost::optional< uint32_t > m_max_used_block_height
 
+boost::optional< string > m_max_used_block_id
 
+vector< string > m_signatures
 
+ + + +

+Static Public Attributes

+static const string DEFAULT_PAYMENT_ID = string("0000000000000000")
 
+

Detailed Description

+

Models a Monero transaction on the blockchain.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_tx::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Implements monero::serializable_struct.

+ +

Reimplemented in monero::monero_tx_query, and monero::monero_tx_wallet.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__tx.png b/docs/structmonero_1_1monero__tx.png new file mode 100644 index 0000000..b3354b8 Binary files /dev/null and b/docs/structmonero_1_1monero__tx.png differ diff --git a/docs/structmonero_1_1monero__tx__query-members.html b/docs/structmonero_1_1monero__tx__query-members.html new file mode 100644 index 0000000..6d58b9a --- /dev/null +++ b/docs/structmonero_1_1monero__tx__query-members.html @@ -0,0 +1,147 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_tx_query Member List
+
+
+ +

This is the complete list of members for monero::monero_tx_query, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const (defined in monero::monero_tx_query)monero::monero_tx_query
copy(const shared_ptr< monero_tx_wallet > &src, const shared_ptr< monero_tx_wallet > &tgt) const (defined in monero::monero_tx_query)monero::monero_tx_query
copy(const shared_ptr< monero_tx_query > &src, const shared_ptr< monero_tx_query > &tgt) const (defined in monero::monero_tx_query)monero::monero_tx_query
DEFAULT_PAYMENT_ID (defined in monero::monero_tx)monero::monero_txstatic
get_height() const (defined in monero::monero_tx)monero::monero_tx
is_incoming() const (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
is_outgoing() const (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_block (defined in monero::monero_tx)monero::monero_tx
m_common_tx_sets (defined in monero::monero_tx)monero::monero_tx
m_do_not_relay (defined in monero::monero_tx)monero::monero_tx
m_extra (defined in monero::monero_tx)monero::monero_tx
m_fee (defined in monero::monero_tx)monero::monero_tx
m_full_hex (defined in monero::monero_tx)monero::monero_tx
m_has_payment_id (defined in monero::monero_tx_query)monero::monero_tx_query
m_height (defined in monero::monero_tx_query)monero::monero_tx_query
m_id (defined in monero::monero_tx)monero::monero_tx
m_in_tx_pool (defined in monero::monero_tx)monero::monero_tx
m_include_outputs (defined in monero::monero_tx_query)monero::monero_tx_query
m_incoming_transfers (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_is_confirmed (defined in monero::monero_tx)monero::monero_tx
m_is_double_spend_seen (defined in monero::monero_tx)monero::monero_tx
m_is_failed (defined in monero::monero_tx)monero::monero_tx
m_is_incoming (defined in monero::monero_tx_query)monero::monero_tx_query
m_is_kept_by_block (defined in monero::monero_tx)monero::monero_tx
m_is_miner_tx (defined in monero::monero_tx)monero::monero_tx
m_is_outgoing (defined in monero::monero_tx_query)monero::monero_tx_query
m_is_relayed (defined in monero::monero_tx)monero::monero_tx
m_key (defined in monero::monero_tx)monero::monero_tx
m_last_failed_height (defined in monero::monero_tx)monero::monero_tx
m_last_failed_id (defined in monero::monero_tx)monero::monero_tx
m_last_relayed_timestamp (defined in monero::monero_tx)monero::monero_tx
m_max_height (defined in monero::monero_tx_query)monero::monero_tx_query
m_max_used_block_height (defined in monero::monero_tx)monero::monero_tx
m_max_used_block_id (defined in monero::monero_tx)monero::monero_tx
m_metadata (defined in monero::monero_tx)monero::monero_tx
m_min_height (defined in monero::monero_tx_query)monero::monero_tx_query
m_mixin (defined in monero::monero_tx)monero::monero_tx
m_note (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_num_confirmations (defined in monero::monero_tx)monero::monero_tx
m_outgoing_transfer (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_output_indices (defined in monero::monero_tx)monero::monero_tx
m_output_query (defined in monero::monero_tx_query)monero::monero_tx_query
m_payment_id (defined in monero::monero_tx)monero::monero_tx
m_payment_ids (defined in monero::monero_tx_query)monero::monero_tx_query
m_prunable_hash (defined in monero::monero_tx)monero::monero_tx
m_prunable_hex (defined in monero::monero_tx)monero::monero_tx
m_pruned_hex (defined in monero::monero_tx)monero::monero_tx
m_rct_sig_prunable (defined in monero::monero_tx)monero::monero_tx
m_rct_signatures (defined in monero::monero_tx)monero::monero_tx
m_received_timestamp (defined in monero::monero_tx)monero::monero_tx
m_signatures (defined in monero::monero_tx)monero::monero_tx
m_size (defined in monero::monero_tx)monero::monero_tx
m_transfer_query (defined in monero::monero_tx_query)monero::monero_tx_query
m_tx_ids (defined in monero::monero_tx_query)monero::monero_tx_query
m_unlock_time (defined in monero::monero_tx)monero::monero_tx
m_version (defined in monero::monero_tx)monero::monero_tx
m_vins (defined in monero::monero_tx)monero::monero_tx
m_vouts (defined in monero::monero_tx)monero::monero_tx
m_weight (defined in monero::monero_tx)monero::monero_tx
meets_criteria(monero_tx_wallet *tx) const (defined in monero::monero_tx_query)monero::monero_tx_query
merge(const shared_ptr< monero_tx > &self, const shared_ptr< monero_tx > &other) (defined in monero::monero_tx_wallet)monero::monero_tx_walletvirtual
merge(const shared_ptr< monero_tx_wallet > &self, const shared_ptr< monero_tx_wallet > &other) (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_tx_queryvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__tx__query.html b/docs/structmonero_1_1monero__tx__query.html new file mode 100644 index 0000000..a8fd6ef --- /dev/null +++ b/docs/structmonero_1_1monero__tx__query.html @@ -0,0 +1,349 @@ + + + + + + + +monero-cpp-library: monero::monero_tx_query Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_tx_query Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_tx_query:
+
+
+ + +monero::monero_tx_wallet +monero::monero_tx +monero::serializable_struct + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_tx_query > copy (const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const
 
+shared_ptr< monero_tx_query > copy (const shared_ptr< monero_tx_wallet > &src, const shared_ptr< monero_tx_wallet > &tgt) const
 
+shared_ptr< monero_tx_query > copy (const shared_ptr< monero_tx_query > &src, const shared_ptr< monero_tx_query > &tgt) const
 
boost::property_tree::ptree to_property_tree () const
 
+bool meets_criteria (monero_tx_wallet *tx) const
 
- Public Member Functions inherited from monero::monero_tx_wallet
+shared_ptr< monero_tx_wallet > copy (const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const
 
+shared_ptr< monero_tx_wallet > copy (const shared_ptr< monero_tx_wallet > &src, const shared_ptr< monero_tx_wallet > &tgt) const
 
+bool is_incoming () const
 
+bool is_outgoing () const
 
+void merge (const shared_ptr< monero_tx > &self, const shared_ptr< monero_tx > &other)
 
+void merge (const shared_ptr< monero_tx_wallet > &self, const shared_ptr< monero_tx_wallet > &other)
 
- Public Member Functions inherited from monero::monero_tx
+shared_ptr< monero_tx > copy (const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const
 
+boost::optional< uint64_t > get_height () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+boost::optional< bool > m_is_outgoing
 
+boost::optional< bool > m_is_incoming
 
+vector< string > m_tx_ids
 
+boost::optional< bool > m_has_payment_id
 
+vector< 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< shared_ptr< monero_transfer_query > > m_transfer_query
 
+boost::optional< shared_ptr< monero_output_query > > m_output_query
 
- Public Attributes inherited from monero::monero_tx_wallet
+vector< shared_ptr< monero_incoming_transfer > > m_incoming_transfers
 
+boost::optional< shared_ptr< monero_outgoing_transfer > > m_outgoing_transfer
 
+boost::optional< string > m_note
 
- Public Attributes inherited from monero::monero_tx
+boost::optional< shared_ptr< monero_block > > m_block
 
+boost::optional< string > m_id
 
+boost::optional< uint32_t > m_version
 
+boost::optional< bool > m_is_miner_tx
 
+boost::optional< string > m_payment_id
 
+boost::optional< uint64_t > m_fee
 
+boost::optional< uint32_t > m_mixin
 
+boost::optional< bool > m_do_not_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< string > m_key
 
+boost::optional< string > m_full_hex
 
+boost::optional< string > m_pruned_hex
 
+boost::optional< string > m_prunable_hex
 
+boost::optional< string > m_prunable_hash
 
+boost::optional< uint32_t > m_size
 
+boost::optional< uint32_t > m_weight
 
+vector< shared_ptr< monero_output > > m_vins
 
+vector< shared_ptr< monero_output > > m_vouts
 
+vector< uint32_t > m_output_indices
 
+boost::optional< string > m_metadata
 
+boost::optional< string > m_common_tx_sets
 
+vector< uint8_t > m_extra
 
+boost::optional< string > m_rct_signatures
 
+boost::optional< string > m_rct_sig_prunable
 
+boost::optional< bool > m_is_kept_by_block
 
+boost::optional< bool > m_is_failed
 
+boost::optional< uint32_t > m_last_failed_height
 
+boost::optional< string > m_last_failed_id
 
+boost::optional< uint32_t > m_max_used_block_height
 
+boost::optional< string > m_max_used_block_id
 
+vector< string > m_signatures
 
+ + + + +

+Additional Inherited Members

- Static Public Attributes inherited from monero::monero_tx
+static const string DEFAULT_PAYMENT_ID = string("0000000000000000")
 
+

Detailed Description

+

Configures a query to retrieve transactions.

+

All transactions are returned except those that do not meet the criteria defined in this query.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_tx_query::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_tx_wallet.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__tx__query.png b/docs/structmonero_1_1monero__tx__query.png new file mode 100644 index 0000000..b85a36d Binary files /dev/null and b/docs/structmonero_1_1monero__tx__query.png differ diff --git a/docs/structmonero_1_1monero__tx__wallet-members.html b/docs/structmonero_1_1monero__tx__wallet-members.html new file mode 100644 index 0000000..4866cbe --- /dev/null +++ b/docs/structmonero_1_1monero__tx__wallet-members.html @@ -0,0 +1,134 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::monero_tx_wallet Member List
+
+
+ +

This is the complete list of members for monero::monero_tx_wallet, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
copy(const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
copy(const shared_ptr< monero_tx_wallet > &src, const shared_ptr< monero_tx_wallet > &tgt) const (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
DEFAULT_PAYMENT_ID (defined in monero::monero_tx)monero::monero_txstatic
get_height() const (defined in monero::monero_tx)monero::monero_tx
is_incoming() const (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
is_outgoing() const (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_block (defined in monero::monero_tx)monero::monero_tx
m_common_tx_sets (defined in monero::monero_tx)monero::monero_tx
m_do_not_relay (defined in monero::monero_tx)monero::monero_tx
m_extra (defined in monero::monero_tx)monero::monero_tx
m_fee (defined in monero::monero_tx)monero::monero_tx
m_full_hex (defined in monero::monero_tx)monero::monero_tx
m_id (defined in monero::monero_tx)monero::monero_tx
m_in_tx_pool (defined in monero::monero_tx)monero::monero_tx
m_incoming_transfers (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_is_confirmed (defined in monero::monero_tx)monero::monero_tx
m_is_double_spend_seen (defined in monero::monero_tx)monero::monero_tx
m_is_failed (defined in monero::monero_tx)monero::monero_tx
m_is_kept_by_block (defined in monero::monero_tx)monero::monero_tx
m_is_miner_tx (defined in monero::monero_tx)monero::monero_tx
m_is_relayed (defined in monero::monero_tx)monero::monero_tx
m_key (defined in monero::monero_tx)monero::monero_tx
m_last_failed_height (defined in monero::monero_tx)monero::monero_tx
m_last_failed_id (defined in monero::monero_tx)monero::monero_tx
m_last_relayed_timestamp (defined in monero::monero_tx)monero::monero_tx
m_max_used_block_height (defined in monero::monero_tx)monero::monero_tx
m_max_used_block_id (defined in monero::monero_tx)monero::monero_tx
m_metadata (defined in monero::monero_tx)monero::monero_tx
m_mixin (defined in monero::monero_tx)monero::monero_tx
m_note (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_num_confirmations (defined in monero::monero_tx)monero::monero_tx
m_outgoing_transfer (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
m_output_indices (defined in monero::monero_tx)monero::monero_tx
m_payment_id (defined in monero::monero_tx)monero::monero_tx
m_prunable_hash (defined in monero::monero_tx)monero::monero_tx
m_prunable_hex (defined in monero::monero_tx)monero::monero_tx
m_pruned_hex (defined in monero::monero_tx)monero::monero_tx
m_rct_sig_prunable (defined in monero::monero_tx)monero::monero_tx
m_rct_signatures (defined in monero::monero_tx)monero::monero_tx
m_received_timestamp (defined in monero::monero_tx)monero::monero_tx
m_signatures (defined in monero::monero_tx)monero::monero_tx
m_size (defined in monero::monero_tx)monero::monero_tx
m_unlock_time (defined in monero::monero_tx)monero::monero_tx
m_version (defined in monero::monero_tx)monero::monero_tx
m_vins (defined in monero::monero_tx)monero::monero_tx
m_vouts (defined in monero::monero_tx)monero::monero_tx
m_weight (defined in monero::monero_tx)monero::monero_tx
merge(const shared_ptr< monero_tx > &self, const shared_ptr< monero_tx > &other) (defined in monero::monero_tx_wallet)monero::monero_tx_walletvirtual
merge(const shared_ptr< monero_tx_wallet > &self, const shared_ptr< monero_tx_wallet > &other) (defined in monero::monero_tx_wallet)monero::monero_tx_wallet
serialize() constmonero::serializable_struct
to_property_tree() constmonero::monero_tx_walletvirtual
+ + + + diff --git a/docs/structmonero_1_1monero__tx__wallet.html b/docs/structmonero_1_1monero__tx__wallet.html new file mode 100644 index 0000000..a848dd1 --- /dev/null +++ b/docs/structmonero_1_1monero__tx__wallet.html @@ -0,0 +1,303 @@ + + + + + + + +monero-cpp-library: monero::monero_tx_wallet Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::monero_tx_wallet Struct Reference
+
+
+ +

#include <monero_wallet_model.h>

+
+Inheritance diagram for monero::monero_tx_wallet:
+
+
+ + +monero::monero_tx +monero::serializable_struct +monero::monero_tx_query + +
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+shared_ptr< monero_tx_wallet > copy (const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const
 
+shared_ptr< monero_tx_wallet > copy (const shared_ptr< monero_tx_wallet > &src, const shared_ptr< monero_tx_wallet > &tgt) const
 
+bool is_incoming () const
 
+bool is_outgoing () const
 
boost::property_tree::ptree to_property_tree () const
 
+void merge (const shared_ptr< monero_tx > &self, const shared_ptr< monero_tx > &other)
 
+void merge (const shared_ptr< monero_tx_wallet > &self, const shared_ptr< monero_tx_wallet > &other)
 
- Public Member Functions inherited from monero::monero_tx
+shared_ptr< monero_tx > copy (const shared_ptr< monero_tx > &src, const shared_ptr< monero_tx > &tgt) const
 
+boost::optional< uint64_t > get_height () const
 
- Public Member Functions inherited from monero::serializable_struct
string serialize () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+vector< shared_ptr< monero_incoming_transfer > > m_incoming_transfers
 
+boost::optional< shared_ptr< monero_outgoing_transfer > > m_outgoing_transfer
 
+boost::optional< string > m_note
 
- Public Attributes inherited from monero::monero_tx
+boost::optional< shared_ptr< monero_block > > m_block
 
+boost::optional< string > m_id
 
+boost::optional< uint32_t > m_version
 
+boost::optional< bool > m_is_miner_tx
 
+boost::optional< string > m_payment_id
 
+boost::optional< uint64_t > m_fee
 
+boost::optional< uint32_t > m_mixin
 
+boost::optional< bool > m_do_not_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< string > m_key
 
+boost::optional< string > m_full_hex
 
+boost::optional< string > m_pruned_hex
 
+boost::optional< string > m_prunable_hex
 
+boost::optional< string > m_prunable_hash
 
+boost::optional< uint32_t > m_size
 
+boost::optional< uint32_t > m_weight
 
+vector< shared_ptr< monero_output > > m_vins
 
+vector< shared_ptr< monero_output > > m_vouts
 
+vector< uint32_t > m_output_indices
 
+boost::optional< string > m_metadata
 
+boost::optional< string > m_common_tx_sets
 
+vector< uint8_t > m_extra
 
+boost::optional< string > m_rct_signatures
 
+boost::optional< string > m_rct_sig_prunable
 
+boost::optional< bool > m_is_kept_by_block
 
+boost::optional< bool > m_is_failed
 
+boost::optional< uint32_t > m_last_failed_height
 
+boost::optional< string > m_last_failed_id
 
+boost::optional< uint32_t > m_max_used_block_height
 
+boost::optional< string > m_max_used_block_id
 
+vector< string > m_signatures
 
+ + + + +

+Additional Inherited Members

- Static Public Attributes inherited from monero::monero_tx
+static const string DEFAULT_PAYMENT_ID = string("0000000000000000")
 
+

Detailed Description

+

Models a Monero transaction in the context of a wallet.

+

Member Function Documentation

+ +

◆ to_property_tree()

+ +
+
+ + + + + +
+ + + + + + + +
boost::property_tree::ptree monero::monero_tx_wallet::to_property_tree () const
+
+virtual
+
+

Convert the struct to a property tree.

+
Returns
the converted property tree
+ +

Reimplemented from monero::monero_tx.

+ +

Reimplemented in monero::monero_tx_query.

+ +
+
+
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1monero__tx__wallet.png b/docs/structmonero_1_1monero__tx__wallet.png new file mode 100644 index 0000000..a958034 Binary files /dev/null and b/docs/structmonero_1_1monero__tx__wallet.png differ diff --git a/docs/structmonero_1_1serializable__struct-members.html b/docs/structmonero_1_1serializable__struct-members.html new file mode 100644 index 0000000..2a57937 --- /dev/null +++ b/docs/structmonero_1_1serializable__struct-members.html @@ -0,0 +1,85 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::serializable_struct Member List
+
+
+ +

This is the complete list of members for monero::serializable_struct, including all inherited members.

+ + + +
serialize() constmonero::serializable_struct
to_property_tree() const =0monero::serializable_structpure virtual
+ + + + diff --git a/docs/structmonero_1_1serializable__struct.html b/docs/structmonero_1_1serializable__struct.html new file mode 100644 index 0000000..0d378a0 --- /dev/null +++ b/docs/structmonero_1_1serializable__struct.html @@ -0,0 +1,167 @@ + + + + + + + +monero-cpp-library: monero::serializable_struct Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::serializable_struct Struct Referenceabstract
+
+
+ +

#include <monero_daemon_model.h>

+
+Inheritance diagram for monero::serializable_struct:
+
+
+ + +monero::monero_account +monero::monero_block_header +monero::monero_check +monero::monero_integrated_address +monero::monero_key_image +monero::monero_key_image_import_result +monero::monero_output +monero::monero_send_request +monero::monero_subaddress +monero::monero_transfer +monero::monero_tx + +
+ + + + + + +

+Public Member Functions

string serialize () const
 
virtual boost::property_tree::ptree to_property_tree () const =0
 
+

Detailed Description

+

Base struct which can be serialized.

+

Member Function Documentation

+ +

◆ serialize()

+ +
+
+ + + + + + + +
string monero::serializable_struct::serialize () const
+
+

Serializes the struct to a json string.

+
Returns
the struct serialized to a json string
+ +
+
+ +

◆ to_property_tree()

+ + +
The documentation for this struct was generated from the following files: +
+ + + + diff --git a/docs/structmonero_1_1serializable__struct.png b/docs/structmonero_1_1serializable__struct.png new file mode 100644 index 0000000..e9ec60f Binary files /dev/null and b/docs/structmonero_1_1serializable__struct.png differ diff --git a/docs/structmonero_1_1sync__listener__wrapper-members.html b/docs/structmonero_1_1sync__listener__wrapper-members.html new file mode 100644 index 0000000..e843946 --- /dev/null +++ b/docs/structmonero_1_1sync__listener__wrapper-members.html @@ -0,0 +1,88 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::sync_listener_wrapper Member List
+
+
+ +

This is the complete list of members for monero::sync_listener_wrapper, including all inherited members.

+ + + + + + +
on_new_block(uint64_t height)monero::monero_wallet_listenerinlinevirtual
on_output_received(const monero_output_wallet &output)monero::monero_wallet_listenerinlinevirtual
on_output_spent(const monero_output_wallet &output)monero::monero_wallet_listenerinlinevirtual
on_sync_progress(uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)monero::sync_listener_wrapperinlinevirtual
sync_listener_wrapper(monero_sync_listener &listener) (defined in monero::sync_listener_wrapper)monero::sync_listener_wrapperinline
+ + + + diff --git a/docs/structmonero_1_1sync__listener__wrapper.html b/docs/structmonero_1_1sync__listener__wrapper.html new file mode 100644 index 0000000..feab65a --- /dev/null +++ b/docs/structmonero_1_1sync__listener__wrapper.html @@ -0,0 +1,182 @@ + + + + + + + +monero-cpp-library: monero::sync_listener_wrapper Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::sync_listener_wrapper Struct Reference
+
+
+
+Inheritance diagram for monero::sync_listener_wrapper:
+
+
+ + +monero::monero_wallet_listener +monero::monero_sync_listener + +
+ + + + + + + + + + + + + +

+Public Member Functions

+ sync_listener_wrapper (monero_sync_listener &listener)
 
virtual void on_sync_progress (uint64_t height, uint64_t start_height, uint64_t end_height, double percent_done, const string &message)
 
- Public Member Functions inherited from monero::monero_wallet_listener
virtual void on_new_block (uint64_t height)
 
virtual void on_output_received (const monero_output_wallet &output)
 
virtual void on_output_spent (const monero_output_wallet &output)
 
+

Detailed Description

+

Wraps a sync listener as a general wallet listener.

+

Member Function Documentation

+ +

◆ on_sync_progress()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void monero::sync_listener_wrapper::on_sync_progress (uint64_t height,
uint64_t start_height,
uint64_t end_height,
double percent_done,
const string & message 
)
+
+inlinevirtual
+
+

Invoked when sync progress is made.

+
Parameters
+ + + + + + +
heightis the height of the synced block
start_heightis the starting height of the sync request
end_heightis the ending height of the sync request
percent_doneis the sync progress as a percentage
messageis a human-readable description of the current progress
+
+
+ +

Reimplemented from monero::monero_sync_listener.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • wallet/monero_wallet.cpp
  • +
+
+ + + + diff --git a/docs/structmonero_1_1sync__listener__wrapper.png b/docs/structmonero_1_1sync__listener__wrapper.png new file mode 100644 index 0000000..c0d93db Binary files /dev/null and b/docs/structmonero_1_1sync__listener__wrapper.png differ diff --git a/docs/structmonero_1_1wallet2__listener-members.html b/docs/structmonero_1_1wallet2__listener-members.html new file mode 100644 index 0000000..64971ca --- /dev/null +++ b/docs/structmonero_1_1wallet2__listener-members.html @@ -0,0 +1,91 @@ + + + + + + + +monero-cpp-library: Member List + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
monero::wallet2_listener Member List
+
+
+ +

This is the complete list of members for monero::wallet2_listener, including all inherited members.

+ + + + + + + + + +
on_money_received(uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index, uint64_t unlock_time) (defined in monero::wallet2_listener)monero::wallet2_listenerinlinevirtual
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) (defined in monero::wallet2_listener)monero::wallet2_listenerinlinevirtual
on_new_block(uint64_t height, const cryptonote::block &cn_block) (defined in monero::wallet2_listener)monero::wallet2_listenerinlinevirtual
on_sync_end() (defined in monero::wallet2_listener)monero::wallet2_listenerinline
on_sync_start(uint64_t start_height) (defined in monero::wallet2_listener)monero::wallet2_listenerinline
update_listening() (defined in monero::wallet2_listener)monero::wallet2_listenerinline
wallet2_listener(monero_wallet &wallet, tools::wallet2 &m_w2)monero::wallet2_listenerinline
~wallet2_listener() (defined in monero::wallet2_listener)monero::wallet2_listenerinline
+ + + + diff --git a/docs/structmonero_1_1wallet2__listener.html b/docs/structmonero_1_1wallet2__listener.html new file mode 100644 index 0000000..286d328 --- /dev/null +++ b/docs/structmonero_1_1wallet2__listener.html @@ -0,0 +1,163 @@ + + + + + + + +monero-cpp-library: monero::wallet2_listener Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
monero-cpp-library +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
monero::wallet2_listener Struct Reference
+
+
+
+Inheritance diagram for monero::wallet2_listener:
+
+
+ +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

 wallet2_listener (monero_wallet &wallet, tools::wallet2 &m_w2)
 
+void update_listening ()
 
+void on_sync_start (uint64_t start_height)
 
+void on_sync_end ()
 
+virtual void on_new_block (uint64_t height, const cryptonote::block &cn_block)
 
+virtual void on_money_received (uint64_t height, const crypto::hash &txid, const cryptonote::transaction &cn_tx, uint64_t amount, const cryptonote::subaddress_index &subaddr_index, uint64_t unlock_time)
 
+virtual 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)
 
+

Detailed Description

+

Listens to wallet2 notifications in order to notify external wallet listeners.

+

Constructor & Destructor Documentation

+ +

◆ wallet2_listener()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
monero::wallet2_listener::wallet2_listener (monero_wallet & wallet,
tools::wallet2 & m_w2 
)
+
+inline
+
+

Constructs the listener.

+
Parameters
+ + + +
walletprovides context to notify external listeners
wallet2provides source notifications which this listener propagates to external listeners
+
+
+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • wallet/monero_wallet.cpp
  • +
+
+ + + + diff --git a/docs/structmonero_1_1wallet2__listener.png b/docs/structmonero_1_1wallet2__listener.png new file mode 100644 index 0000000..2c611a5 Binary files /dev/null and b/docs/structmonero_1_1wallet2__listener.png differ diff --git a/docs/sync_off.png b/docs/sync_off.png new file mode 100644 index 0000000..3b443fc Binary files /dev/null and b/docs/sync_off.png differ diff --git a/docs/sync_on.png b/docs/sync_on.png new file mode 100644 index 0000000..e08320f Binary files /dev/null and b/docs/sync_on.png differ diff --git a/docs/tab_a.png b/docs/tab_a.png new file mode 100644 index 0000000..3b725c4 Binary files /dev/null and b/docs/tab_a.png differ diff --git a/docs/tab_b.png b/docs/tab_b.png new file mode 100644 index 0000000..e2b4a86 Binary files /dev/null and b/docs/tab_b.png differ diff --git a/docs/tab_h.png b/docs/tab_h.png new file mode 100644 index 0000000..fd5cb70 Binary files /dev/null and b/docs/tab_h.png differ diff --git a/docs/tab_s.png b/docs/tab_s.png new file mode 100644 index 0000000..ab478c9 Binary files /dev/null and b/docs/tab_s.png differ diff --git a/docs/tabs.css b/docs/tabs.css new file mode 100644 index 0000000..8ea7d54 --- /dev/null +++ b/docs/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/todo.txt b/todo.txt index f906551..f41ea03 100644 --- a/todo.txt +++ b/todo.txt @@ -2,6 +2,7 @@ HIGH PRIORITY gen documentation MEDIUM PRIORITY +monero_wallet.cpp move utilities in monero_namespace to be private polish model: no boost::optional? no boost::optional? etc ensure model toPropertyTrees(), etc are not unecessarily copying return objects monero_wallet_listener should be a class?