Monero
Loading...
Searching...
No Matches
wallet_tools.h File Reference
#include "chaingen.h"
#include "wallet/wallet2.h"
Include dependency graph for wallet_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tx_source_info_crate_t
class  wallet_accessor_test
class  wallet_tools

Typedefs

typedef std::function< bool(const tx_source_info_crate_t &info, bool &abort)> fnc_accept_tx_source_t

Functions

cryptonote::account_public_address get_address (const tools::wallet2 *)
bool construct_tx_to_key (cryptonote::transaction &tx, tools::wallet2 *from_wallet, const var_addr_t &to, uint64_t amount, std::vector< cryptonote::tx_source_entry > &sources, uint64_t fee, bool rct=false, rct::RangeProofType range_proof_type=rct::RangeProofBorromean, int bp_version=0)
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=0)
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=false, rct::RangeProofType range_proof_type=rct::RangeProofBorromean, int bp_version=0)

Typedef Documentation

◆ fnc_accept_tx_source_t

typedef std::function<bool(const tx_source_info_crate_t &info, bool &abort)> fnc_accept_tx_source_t

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 = false,
rct::RangeProofType range_proof_type = rct::RangeProofBorromean,
int bp_version = 0 )

◆ construct_tx_to_key() [1/2]

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

◆ 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 = 0 )

◆ get_address()