61 inline std::string return_first_address(
const std::string &
url,
const std::vector<std::string> &addresses,
bool dnssec_valid)
63 if (addresses.empty())
108 , std::function<
std::string(
const std::string&,
const std::vector<std::string>&,
bool)> dns_confirm = return_first_address
epee::net_utils::http::url_content url
Definition: parse_url.cpp:38
bool is_coinbase(const transaction &tx)
Definition: cryptonote_basic_impl.cpp:175
std::string get_account_address_as_str(network_type nettype, bool subaddress, account_public_address const &adr)
Definition: cryptonote_basic_impl.cpp:150
Definition: cryptonote_basic_impl.h:44
crypto::hash8 payment_id
Definition: cryptonote_basic_impl.h:54
::std::string string
Definition: gtest-port.h:1097
size_t get_max_tx_size()
Definition: cryptonote_basic_impl.cpp:78
Definition: cryptonote_basic.h:474
size_t get_min_block_weight(uint8_t version)
Definition: cryptonote_basic_impl.cpp:69
uint8_t get_account_integrated_address_checksum(const public_integrated_address_outer_blob &bl)
Definition: cryptonote_basic_impl.cpp:140
unsigned char uint8_t
Definition: stdint.h:124
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:291
bool is_subaddress
Definition: cryptonote_basic_impl.h:72
Holds cryptonote related classes and helpers.
Definition: blockchain_db.cpp:44
uint8_t m_ver
Definition: cryptonote_basic_impl.h:46
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:161
uint8_t get_account_address_checksum(const public_address_outer_blob &bl)
Definition: cryptonote_basic_impl.cpp:130
uint8_t check_sum
Definition: cryptonote_basic_impl.h:48
uint8_t check_sum
Definition: cryptonote_basic_impl.h:55
Definition: cryptonote_basic_impl.h:69
bool has_payment_id
Definition: cryptonote_basic_impl.h:73
account_public_address address
Definition: cryptonote_basic_impl.h:71
bool get_block_reward(size_t median_weight, size_t current_block_weight, uint64_t already_generated_coins, uint64_t &reward, uint8_t version)
Definition: cryptonote_basic_impl.cpp:83
unsigned __int64 uint64_t
Definition: stdint.h:136
account_public_address m_address
Definition: cryptonote_basic_impl.h:47
static MDB_envinfo info
Definition: mdb_load.c:37
version
Supported socks variants.
Definition: socks.h:57
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
const char *const str
Definition: portlistingparse.c:23
bool operator==(const cryptonote::transaction &a, const cryptonote::transaction &b)
Definition: cryptonote_basic_impl.cpp:306
network_type
Definition: cryptonote_config.h:301
Definition: cryptonote_basic.h:511
POD_CLASS hash8
Definition: hash.h:52
bool parse_hash256(const std::string &str_hash, crypto::hash &hash)
Definition: cryptonote_basic_impl.cpp:316
account_public_address m_address
Definition: cryptonote_basic_impl.h:53
bool get_account_address_from_str(address_parse_info &info, network_type nettype, std::string const &str)
Definition: cryptonote_basic_impl.cpp:186
cryptonote::transaction tx
Definition: transaction.cpp:40
uint8_t m_ver
Definition: cryptonote_basic_impl.h:52
POD_CLASS hash
Definition: hash.h:49
crypto::hash8 payment_id
Definition: cryptonote_basic_impl.h:74
Definition: cryptonote_basic_impl.h:50
Definition: cryptonote_basic.h:204
cryptonote::block b
Definition: block.cpp:40