![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
#include <netaddress.h>#include <crypto/common.h>#include <crypto/sha3.h>#include <hash.h>#include <prevector.h>#include <tinyformat.h>#include <util/strencodings.h>#include <util/string.h>#include <algorithm>#include <array>#include <cstdint>#include <ios>#include <iterator>#include <string_view>#include <tuple>Go to the source code of this file.
Namespaces | |
| namespace | torv3 |
Functions | |
| static void | torv3::Checksum (std::span< const uint8_t > addr_pubkey, uint8_t(&checksum)[CHECKSUM_LEN]) |
| static std::string | IPv4ToString (std::span< const uint8_t > a) |
| static std::string | IPv6ToString (std::span< const uint8_t > a, uint32_t scope_id) |
| std::string | OnionToString (std::span< const uint8_t > addr) |
| bool | operator== (const CNetAddr &a, const CNetAddr &b) |
| bool | operator< (const CNetAddr &a, const CNetAddr &b) |
| static int | GetExtNetwork (const CNetAddr &addr) |
| bool | operator== (const CService &a, const CService &b) |
| bool | operator< (const CService &a, const CService &b) |
| static int | NetmaskBits (uint8_t x) |
| bool | operator== (const CSubNet &a, const CSubNet &b) |
| bool | operator< (const CSubNet &a, const CSubNet &b) |
Variables | |
| static constexpr size_t | torv3::CHECKSUM_LEN = 2 |
| static const unsigned char | torv3::VERSION [] = {3} |
| static constexpr size_t | torv3::TOTAL_LEN = ADDR_TORV3_SIZE + CHECKSUM_LEN + sizeof(VERSION) |
| static const int | NET_TEREDO = NET_MAX |
Definition at line 711 of file netaddress.cpp.
Definition at line 513 of file netaddress.cpp.
Definition at line 520 of file netaddress.cpp.
Definition at line 951 of file netaddress.cpp.
| std::string OnionToString | ( | std::span< const uint8_t > | addr | ) |
Definition at line 575 of file netaddress.cpp.
Definition at line 614 of file netaddress.cpp.
Definition at line 851 of file netaddress.cpp.
Definition at line 1096 of file netaddress.cpp.
Definition at line 846 of file netaddress.cpp.
Definition at line 1091 of file netaddress.cpp.
Definition at line 710 of file netaddress.cpp.