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())
118 , std::function<
std::string(
const std::string&,
const std::vector<std::string>&,
bool)> dns_confirm = return_first_address
bool is_coinbase(const transaction &tx)
std::string get_account_address_as_str(network_type nettype, bool subaddress, account_public_address const &adr)
std::size_t operator()(const t_array &val) const
size_t get_min_block_weight(uint8_t version)
uint8_t get_account_integrated_address_checksum(const public_integrated_address_outer_blob &bl)
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)
Holds cryptonote related classes and helpers.
std::string get_account_integrated_address_as_str(network_type nettype, account_public_address const &adr, crypto::hash8 const &payment_id)
uint8_t get_account_address_checksum(const public_address_outer_blob &bl)
account_public_address address
unsigned __int64 uint64_t
account_public_address m_address
version
Supported socks variants.
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
bool operator==(const cryptonote::transaction &a, const cryptonote::transaction &b)
bool parse_hash256(const std::string &str_hash, crypto::hash &hash)
account_public_address m_address
bool get_account_address_from_str(address_parse_info &info, network_type nettype, std::string const &str)
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)