Monero
Static Public Member Functions | List of all members
wallet_tools Class Reference

#include <wallet_tools.h>

Static Public Member Functions

static void gen_tx_src (size_t mixin, uint64_t cur_height, const tools::wallet2::transfer_details &td, cryptonote::tx_source_entry &src, block_tracker &bt)
 
static void gen_block_data (block_tracker &bt, const cryptonote::block *bl, const map_hash2tx_t &mtx, cryptonote::block_complete_entry &bche, tools::wallet2::parsed_block &parsed_block, uint64_t &height)
 
static void compute_subaddresses (std::unordered_map< crypto::public_key, cryptonote::subaddress_index > &subaddresses, cryptonote::account_base &creds, size_t account, size_t minors)
 
static void process_transactions (tools::wallet2 *wallet, const std::vector< test_event_entry > &events, const cryptonote::block &blk_head, block_tracker &bt, const boost::optional< crypto::hash > &blk_tail=boost::none)
 
static void process_transactions (tools::wallet2 *wallet, const std::vector< const cryptonote::block *> &blockchain, const map_hash2tx_t &mtx, block_tracker &bt)
 
static bool fill_tx_sources (tools::wallet2 *wallet, std::vector< cryptonote::tx_source_entry > &sources, size_t mixin, const boost::optional< size_t > &num_utxo, const boost::optional< uint64_t > &min_amount, block_tracker &bt, std::vector< size_t > &selected, uint64_t cur_height, ssize_t offset=0, int step=1, const boost::optional< fnc_accept_tx_source_t > &fnc_accept=boost::none)
 

Member Function Documentation

◆ compute_subaddresses()

void wallet_tools::compute_subaddresses ( std::unordered_map< crypto::public_key, cryptonote::subaddress_index > &  subaddresses,
cryptonote::account_base creds,
size_t  account,
size_t  minors 
)
static

◆ fill_tx_sources()

bool wallet_tools::fill_tx_sources ( tools::wallet2 wallet,
std::vector< cryptonote::tx_source_entry > &  sources,
size_t  mixin,
const boost::optional< size_t > &  num_utxo,
const boost::optional< uint64_t > &  min_amount,
block_tracker bt,
std::vector< size_t > &  selected,
uint64_t  cur_height,
ssize_t  offset = 0,
int  step = 1,
const boost::optional< fnc_accept_tx_source_t > &  fnc_accept = boost::none 
)
static

◆ gen_block_data()

void wallet_tools::gen_block_data ( block_tracker bt,
const cryptonote::block bl,
const map_hash2tx_t mtx,
cryptonote::block_complete_entry bche,
tools::wallet2::parsed_block parsed_block,
uint64_t height 
)
static

◆ gen_tx_src()

void wallet_tools::gen_tx_src ( size_t  mixin,
uint64_t  cur_height,
const tools::wallet2::transfer_details td,
cryptonote::tx_source_entry src,
block_tracker bt 
)
static

◆ process_transactions() [1/2]

void wallet_tools::process_transactions ( tools::wallet2 wallet,
const std::vector< test_event_entry > &  events,
const cryptonote::block blk_head,
block_tracker bt,
const boost::optional< crypto::hash > &  blk_tail = boost::none 
)
static

◆ process_transactions() [2/2]

void wallet_tools::process_transactions ( tools::wallet2 wallet,
const std::vector< const cryptonote::block *> &  blockchain,
const map_hash2tx_t mtx,
block_tracker bt 
)
static

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