Electroneum
Classes | Functions
anonymous_namespace{wallet2.cpp} Namespace Reference

Classes

struct  options
 

Functions

void do_prepare_file_names (const std::string &file_path, std::string &keys_file, std::string &wallet_file)
 
uint64_t calculate_fee (uint64_t fee_per_kb, size_t bytes, uint64_t fee_multiplier)
 
uint64_t calculate_fee (uint64_t fee_per_kb, const cryptonote::blobdata &blob, uint64_t fee_multiplier)
 
std::unique_ptr< tools::wallet2make_basic (const boost::program_options::variables_map &vm, const options &opts, etneg::MicroCore *core=nullptr, cryptonote::Blockchain *blockchain_storage=nullptr)
 
boost::optional< tools::password_containerget_password (const boost::program_options::variables_map &vm, const options &opts, const bool verify)
 
std::unique_ptr< tools::wallet2generate_from_json (const std::string &json_file, const boost::program_options::variables_map &vm, const options &opts, etneg::MicroCore *core=nullptr, cryptonote::Blockchain *blockchain_storage=nullptr)
 
static void throw_on_rpc_response_error (const boost::optional< std::string > &status, const char *method)
 
std::string strjoin (const std::vector< size_t > &V, const char *sep)
 

Function Documentation

◆ calculate_fee() [1/2]

uint64_t anonymous_namespace{wallet2.cpp}::calculate_fee ( uint64_t  fee_per_kb,
size_t  bytes,
uint64_t  fee_multiplier 
)

◆ calculate_fee() [2/2]

uint64_t anonymous_namespace{wallet2.cpp}::calculate_fee ( uint64_t  fee_per_kb,
const cryptonote::blobdata blob,
uint64_t  fee_multiplier 
)

◆ do_prepare_file_names()

void anonymous_namespace{wallet2.cpp}::do_prepare_file_names ( const std::string &  file_path,
std::string &  keys_file,
std::string &  wallet_file 
)

◆ generate_from_json()

std::unique_ptr<tools::wallet2> anonymous_namespace{wallet2.cpp}::generate_from_json ( const std::string &  json_file,
const boost::program_options::variables_map &  vm,
const options opts,
etneg::MicroCore core = nullptr,
cryptonote::Blockchain blockchain_storage = nullptr 
)

◆ get_password()

boost::optional<tools::password_container> anonymous_namespace{wallet2.cpp}::get_password ( const boost::program_options::variables_map &  vm,
const options opts,
const bool  verify 
)

◆ make_basic()

std::unique_ptr<tools::wallet2> anonymous_namespace{wallet2.cpp}::make_basic ( const boost::program_options::variables_map &  vm,
const options opts,
etneg::MicroCore core = nullptr,
cryptonote::Blockchain blockchain_storage = nullptr 
)

◆ strjoin()

std::string anonymous_namespace{wallet2.cpp}::strjoin ( const std::vector< size_t > &  V,
const char *  sep 
)

◆ throw_on_rpc_response_error()

static void anonymous_namespace{wallet2.cpp}::throw_on_rpc_response_error ( const boost::optional< std::string > &  status,
const char *  method 
)
static