Monero C++ Library
Public Member Functions | Public Attributes | List of all members
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
boost::optional< shared_ptr< monero_tx_set > > m_tx_set
 
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: