![]() |
Bitcoin Core
0.21.1
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/asmap.h>#include <util/strencodings.h>#include <util/string.h>#include <algorithm>#include <array>#include <cstdint>#include <ios>#include <iterator>#include <tuple>Go to the source code of this file.
Namespaces | |
| torv3 | |
Functions | |
| static void | torv3::Checksum (Span< const uint8_t > addr_pubkey, uint8_t(&checksum)[CHECKSUM_LEN]) |
| static std::string | IPv6ToString (Span< const uint8_t > a) |
| 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) |
| bool | SanityCheckASMap (const std::vector< bool > &asmap) |
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_UNKNOWN = NET_MAX + 0 |
| static const int | NET_TEREDO = NET_MAX + 1 |
|
static |
Definition at line 791 of file netaddress.cpp.
|
static |
Definition at line 512 of file netaddress.cpp.
|
inlinestatic |
Definition at line 1017 of file netaddress.cpp.
Definition at line 909 of file netaddress.cpp.
Definition at line 1185 of file netaddress.cpp.
Definition at line 585 of file netaddress.cpp.
Definition at line 904 of file netaddress.cpp.
Definition at line 1180 of file netaddress.cpp.
| bool SanityCheckASMap | ( | const std::vector< bool > & | asmap | ) |
Definition at line 1190 of file netaddress.cpp.
|
static |
Definition at line 790 of file netaddress.cpp.
|
static |
Definition at line 789 of file netaddress.cpp.
1.8.8