![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#include <netaddress.h>#include <protocol.h>#include <util/time.h>#include <cstddef>#include <cstdint>#include <ios>#include <memory>#include <optional>#include <string>#include <unordered_set>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | InvalidAddrManVersionError |
| struct | AddressPosition |
| Location information for an address in AddrMan. More... | |
| class | AddrMan |
| Stochastic address manager. More... | |
Variables | |
| constexpr uint32_t | ADDRMAN_TRIED_BUCKETS_PER_GROUP {8} |
| Over how many buckets entries with tried addresses from a single group (/16 for IPv4) are spread. | |
| constexpr uint32_t | ADDRMAN_NEW_BUCKETS_PER_SOURCE_GROUP {64} |
| Over how many buckets entries with new addresses originating from a single group are spread. | |
| constexpr int32_t | ADDRMAN_NEW_BUCKETS_PER_ADDRESS {8} |
| Maximum number of times an address can occur in the new table. | |
| constexpr auto | ADDRMAN_HORIZON {30 * 24h} |
| How old addresses can maximally be. | |
| constexpr int32_t | ADDRMAN_RETRIES {3} |
| After how many failed attempts we give up on a new node. | |
| constexpr int32_t | ADDRMAN_MAX_FAILURES {10} |
| How many successive failures are allowed ... | |
| constexpr auto | ADDRMAN_MIN_FAIL {7 * 24h} |
| ... in at least this duration | |
| constexpr auto | ADDRMAN_REPLACEMENT {4h} |
| How recent a successful connection should be before we allow an address to be evicted from tried. | |
| constexpr size_t | ADDRMAN_SET_TRIED_COLLISION_SIZE {10} |
| The maximum number of tried addr collisions to store. | |
| constexpr auto | ADDRMAN_TEST_WINDOW {40min} |
| The maximum time we'll spend trying to resolve a tried table collision. | |
| constexpr int32_t | DEFAULT_ADDRMAN_CONSISTENCY_CHECKS {0} |
| Default for -checkaddrman. | |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |