|
Monero
|
#include "common/dns_utils.h"#include "unbound.h"#include <deque>#include <set>#include <stdlib.h>#include "include_base_utils.h"#include "common/threadpool.h"#include "crypto/crypto.h"#include <boost/thread/mutex.hpp>#include <boost/algorithm/string/join.hpp>#include <boost/optional.hpp>#include <boost/utility/string_ref.hpp>
Classes | |
| class | tools::scoped_ptr< type, freefunc > |
| struct | tools::DNSResolverData |
| class | tools::string_copy |
Namespaces | |
| namespace | tools |
| Various Tools. | |
| namespace | tools::dns_utils |
Macros | |
| #define | MONERO_DEFAULT_LOG_CATEGORY "net.dns" |
Typedefs | |
| typedef class scoped_ptr< ub_result, ub_resolve_free > | tools::ub_result_ptr |
Functions | |
| static const char * | tools::get_record_name (int record_type) |
| boost::optional< std::string > | tools::ipv4_to_string (const char *src, size_t len) |
| boost::optional< std::string > | tools::ipv6_to_string (const char *src, size_t len) |
| boost::optional< std::string > | tools::txt_to_string (const char *src, size_t len) |
| boost::optional< std::string > | tools::tlsa_to_string (const char *src, size_t len) |
| static void | tools::add_anchors (ub_ctx *ctx) |
| std::string | tools::dns_utils::address_from_txt_record (const std::string &s) |
| std::vector< std::string > | tools::dns_utils::addresses_from_url (const std::string &url, bool &dnssec_valid) |
| gets a monero address from the TXT record of a DNS entry | |
| std::string | tools::dns_utils::get_account_address_as_str_from_url (const std::string &url, bool &dnssec_valid, std::function< std::string(const std::string &, const std::vector< std::string > &, bool)> dns_confirm) |
| bool | tools::dns_utils::load_txt_records_from_dns (std::vector< std::string > &good_records, const std::vector< std::string > &dns_urls) |
| std::vector< std::string > | tools::dns_utils::parse_dns_public (const char *s) |
Variables | |
| static const char * | DEFAULT_DNS_PUBLIC_ADDR [] |
| static boost::mutex | instance_lock |
| #define MONERO_DEFAULT_LOG_CATEGORY "net.dns" |
|
static |
|
static |