43 template<
class t_array>
48 return boost::hash_range(&val.data[0], &val.data[
sizeof(val.data)]);
71 inline std::string
return_first_address(
const std::string &url,
const std::vector<std::string> &addresses,
bool dnssec_valid)
73 if (addresses.empty())
111 ,
const std::string& str
117 ,
const std::string& str_or_url
118 , std::function<std::string(
const std::string&,
const std::vector<std::string>&,
bool)> dns_confirm =
return_first_address
uint8_t version
Definition: blockchain.cpp:90
Definition: cryptonote_basic.h:205
bool parse_hash256(const std::string &str_hash, crypto::hash &hash)
Definition: cryptonote_basic_impl.cpp:369
string a
Definition: MakeCryptoOps.py:15
int b
Definition: base.py:1
POD_CLASS hash8
Definition: hash.h:53
POD_CLASS hash
Definition: hash.h:50
std::string return_first_address(const std::string &url, const std::vector< std::string > &addresses, bool dnssec_valid)
Definition: cryptonote_basic_impl.h:71
Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:226
network_type
Definition: cryptonote_config.h:243
@ MAINNET
Definition: cryptonote_config.h:244
bool get_block_reward(size_t median_weight, size_t current_block_weight, uint64_t already_generated_coins, uint64_t &reward, uint8_t version, uint64_t current_block_height, network_type nettype)
Definition: cryptonote_basic_impl.cpp:89
bool operator==(const cryptonote::transaction &a, const cryptonote::transaction &b)
Definition: cryptonote_basic_impl.cpp:359
bool get_account_address_from_str(address_parse_info &info, network_type nettype, std::string const &str)
Definition: cryptonote_basic_impl.cpp:239
uint8_t get_account_address_checksum(const public_address_outer_blob &bl)
Definition: cryptonote_basic_impl.cpp:183
std::string get_account_address_as_str(network_type nettype, bool subaddress, account_public_address const &adr)
Definition: cryptonote_basic_impl.cpp:203
size_t get_min_block_weight(uint8_t version)
Definition: cryptonote_basic_impl.cpp:73
bool is_coinbase(const transaction &tx)
Definition: cryptonote_basic_impl.cpp:228
size_t get_max_tx_size()
Definition: cryptonote_basic_impl.cpp:84
uint8_t get_account_integrated_address_checksum(const public_integrated_address_outer_blob &bl)
Definition: cryptonote_basic_impl.cpp:193
bool get_account_address_from_str_or_url(address_parse_info &info, network_type nettype, const std::string &str_or_url, std::function< std::string(const std::string &, const std::vector< std::string > &, bool)> dns_confirm)
Definition: cryptonote_basic_impl.cpp:344
std::string get_account_integrated_address_as_str(network_type nettype, account_public_address const &adr, crypto::hash8 const &payment_id)
Definition: cryptonote_basic_impl.cpp:214
CXA_THROW_INFO_T * info
Definition: stack_trace.cpp:91
Definition: cryptonote_basic.h:453
Definition: cryptonote_basic_impl.h:80
bool is_subaddress
Definition: cryptonote_basic_impl.h:82
bool has_payment_id
Definition: cryptonote_basic_impl.h:83
account_public_address address
Definition: cryptonote_basic_impl.h:81
crypto::hash8 payment_id
Definition: cryptonote_basic_impl.h:84
Definition: cryptonote_basic_impl.h:45
std::size_t operator()(const t_array &val) const
Definition: cryptonote_basic_impl.h:46
Definition: cryptonote_basic.h:410
Definition: cryptonote_basic_impl.h:55
account_public_address m_address
Definition: cryptonote_basic_impl.h:57
uint8_t check_sum
Definition: cryptonote_basic_impl.h:58
uint8_t m_ver
Definition: cryptonote_basic_impl.h:56
Definition: cryptonote_basic_impl.h:61
uint8_t m_ver
Definition: cryptonote_basic_impl.h:62
account_public_address m_address
Definition: cryptonote_basic_impl.h:63
uint8_t check_sum
Definition: cryptonote_basic_impl.h:65
crypto::hash8 payment_id
Definition: cryptonote_basic_impl.h:64