Monero
Macros | Functions
wallet_tools.cpp File Reference
#include "wallet_tools.h"
#include <random>
Include dependency graph for wallet_tools.cpp:

Macros

#define EVAL_BRK_COND()
 

Functions

cryptonote::account_public_address get_address (const tools::wallet2 *inp)
 
bool construct_tx_to_key (cryptonote::transaction &tx, tools::wallet2 *sender_wallet, const var_addr_t &to, uint64_t amount, std::vector< cryptonote::tx_source_entry > &sources, uint64_t fee, bool rct, rct::RangeProofType range_proof_type, int bp_version)
 
bool construct_tx_to_key (cryptonote::transaction &tx, tools::wallet2 *sender_wallet, const std::vector< cryptonote::tx_destination_entry > &destinations, std::vector< cryptonote::tx_source_entry > &sources, uint64_t fee, bool rct, rct::RangeProofType range_proof_type, int bp_version)
 
bool construct_tx_rct (tools::wallet2 *sender_wallet, std::vector< cryptonote::tx_source_entry > &sources, const std::vector< cryptonote::tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr, std::vector< uint8_t > extra, cryptonote::transaction &tx, bool rct, rct::RangeProofType range_proof_type, int bp_version)
 

Macro Definition Documentation

◆ EVAL_BRK_COND

#define EVAL_BRK_COND ( )
Value:
do { \
brk_cond = 0; \
if (num_utxo && num_utxo.get() <= cur_utxo) \
brk_cond += 1; \
if (min_amount && min_amount.get() <= sum) \
brk_cond += 1; \
} while(0)

Function Documentation

◆ construct_tx_rct()

bool construct_tx_rct ( tools::wallet2 sender_wallet,
std::vector< cryptonote::tx_source_entry > &  sources,
const std::vector< cryptonote::tx_destination_entry > &  destinations,
const boost::optional< cryptonote::account_public_address > &  change_addr,
std::vector< uint8_t extra,
cryptonote::transaction tx,
bool  rct,
rct::RangeProofType  range_proof_type,
int  bp_version 
)

◆ construct_tx_to_key() [1/2]

bool construct_tx_to_key ( cryptonote::transaction tx,
tools::wallet2 sender_wallet,
const var_addr_t to,
uint64_t  amount,
std::vector< cryptonote::tx_source_entry > &  sources,
uint64_t  fee,
bool  rct,
rct::RangeProofType  range_proof_type,
int  bp_version 
)

◆ construct_tx_to_key() [2/2]

bool construct_tx_to_key ( cryptonote::transaction tx,
tools::wallet2 sender_wallet,
const std::vector< cryptonote::tx_destination_entry > &  destinations,
std::vector< cryptonote::tx_source_entry > &  sources,
uint64_t  fee,
bool  rct,
rct::RangeProofType  range_proof_type,
int  bp_version 
)

◆ get_address()