Monero C++ Library
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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

rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
std::shared_ptr< monero_tx_walletcopy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const
 
std::shared_ptr< monero_tx_walletcopy (const std::shared_ptr< monero_tx_wallet > &src, const std::shared_ptr< monero_tx_wallet > &tgt) const
 
void merge (const std::shared_ptr< monero_tx > &self, const std::shared_ptr< monero_tx > &other)
 
void merge (const std::shared_ptr< monero_tx_wallet > &self, const std::shared_ptr< monero_tx_wallet > &other)
 
std::vector< std::shared_ptr< monero_transfer > > get_transfers () const
 
std::vector< std::shared_ptr< monero_transfer > > get_transfers (const monero_transfer_query &query) const
 
std::vector< std::shared_ptr< monero_transfer > > filter_transfers (const monero_transfer_query &query)
 
std::vector< std::shared_ptr< monero_output_wallet > > get_outputs_wallet () const
 
std::vector< std::shared_ptr< monero_output_wallet > > get_outputs_wallet (const monero_output_query &query) const
 
std::vector< std::shared_ptr< monero_output_wallet > > filter_outputs_wallet (const monero_output_query &query)
 
- Public Member Functions inherited from monero::monero_tx
std::shared_ptr< monero_txcopy (const std::shared_ptr< monero_tx > &src, const std::shared_ptr< monero_tx > &tgt) const
 
boost::optional< uint64_t > get_height () const
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Static Public Member Functions

static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_tx_wallet > &tx_wallet)
 
- Static Public Member Functions inherited from monero::monero_tx
static void from_property_tree (const boost::property_tree::ptree &node, std::shared_ptr< monero_tx > tx)
 

Public Attributes

boost::optional< std::shared_ptr< monero_tx_set > > m_tx_set
 
boost::optional< bool > m_is_incoming
 
boost::optional< bool > m_is_outgoing
 
std::vector< std::shared_ptr< monero_incoming_transfer > > m_incoming_transfers
 
boost::optional< std::shared_ptr< monero_outgoing_transfer > > m_outgoing_transfer
 
boost::optional< std::string > m_note
 
boost::optional< bool > m_is_locked
 
boost::optional< uint64_t > m_input_sum
 
boost::optional< uint64_t > m_output_sum
 
boost::optional< std::string > m_change_address
 
boost::optional< uint64_t > m_change_amount
 
boost::optional< uint32_t > m_num_dummy_outputs
 
boost::optional< std::string > m_extra_hex
 
- Public Attributes inherited from monero::monero_tx
boost::optional< std::shared_ptr< monero_block > > m_block
 
boost::optional< std::string > m_hash
 
boost::optional< uint32_t > m_version
 
boost::optional< bool > m_is_miner_tx
 
boost::optional< std::string > m_payment_id
 
boost::optional< uint64_t > m_fee
 
boost::optional< uint32_t > m_ring_size
 
boost::optional< bool > m_relay
 
boost::optional< bool > m_is_relayed
 
boost::optional< bool > m_is_confirmed
 
boost::optional< bool > m_in_tx_pool
 
boost::optional< uint64_t > m_num_confirmations
 
boost::optional< uint64_t > m_unlock_time
 
boost::optional< uint64_t > m_last_relayed_timestamp
 
boost::optional< uint64_t > m_received_timestamp
 
boost::optional< bool > m_is_double_spend_seen
 
boost::optional< std::string > m_key
 
boost::optional< std::string > m_full_hex
 
boost::optional< std::string > m_pruned_hex
 
boost::optional< std::string > m_prunable_hex
 
boost::optional< std::string > m_prunable_hash
 
boost::optional< uint64_t > m_size
 
boost::optional< uint64_t > m_weight
 
std::vector< std::shared_ptr< monero_output > > m_inputs
 
std::vector< std::shared_ptr< monero_output > > m_outputs
 
std::vector< uint64_t > m_output_indices
 
boost::optional< std::string > m_metadata
 
boost::optional< std::string > m_common_tx_sets
 
std::vector< uint8_t > m_extra
 
boost::optional< std::string > m_rct_signatures
 
boost::optional< std::string > m_rct_sig_prunable
 
boost::optional< bool > m_is_kept_by_block
 
boost::optional< bool > m_is_failed
 
boost::optional< uint64_t > m_last_failed_height
 
boost::optional< std::string > m_last_failed_hash
 
boost::optional< uint64_t > m_max_used_block_height
 
boost::optional< std::string > m_max_used_block_hash
 
std::vector< std::string > m_signatures
 

Additional Inherited Members

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

Detailed Description

Models a Monero transaction in the context of a wallet.

Member Function Documentation

◆ merge()

void monero::monero_tx_wallet::merge ( const std::shared_ptr< monero_tx > & self,
const std::shared_ptr< monero_tx > & other )
virtual

Reimplemented from monero::monero_tx.

◆ to_rapidjson_val()

rapidjson::Value monero::monero_tx_wallet::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
virtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Reimplemented from monero::monero_tx.


The documentation for this struct was generated from the following files: