Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <addrman.h>
#include <addrman_impl.h>
#include <hash.h>
#include <logging.h>
#include <logging/timer.h>
#include <netaddress.h>
#include <protocol.h>
#include <random.h>
#include <serialize.h>
#include <streams.h>
#include <tinyformat.h>
#include <uint256.h>
#include <util/check.h>
#include <util/time.h>
#include <cmath>
#include <optional>
Go to the source code of this file.
Variables | |
static 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. | |
static 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. | |
static constexpr int32_t | ADDRMAN_NEW_BUCKETS_PER_ADDRESS {8} |
Maximum number of times an address can occur in the new table. | |
static constexpr auto | ADDRMAN_HORIZON {30 * 24h} |
How old addresses can maximally be. | |
static constexpr int32_t | ADDRMAN_RETRIES {3} |
After how many failed attempts we give up on a new node. | |
static constexpr int32_t | ADDRMAN_MAX_FAILURES {10} |
How many successive failures are allowed ... | |
static constexpr auto | ADDRMAN_MIN_FAIL {7 * 24h} |
... in at least this duration | |
static constexpr auto | ADDRMAN_REPLACEMENT {4h} |
How recent a successful connection should be before we allow an address to be evicted from tried. | |
static constexpr size_t | ADDRMAN_SET_TRIED_COLLISION_SIZE {10} |
The maximum number of tried addr collisions to store. | |
static constexpr auto | ADDRMAN_TEST_WINDOW {40min} |
The maximum time we'll spend trying to resolve a tried table collision. | |
How old addresses can maximally be.
Definition at line 38 of file addrman.cpp.
How many successive failures are allowed ...
Definition at line 42 of file addrman.cpp.
... in at least this duration
Definition at line 44 of file addrman.cpp.
Maximum number of times an address can occur in the new table.
Definition at line 36 of file addrman.cpp.
Over how many buckets entries with new addresses originating from a single group are spread.
Definition at line 34 of file addrman.cpp.
How recent a successful connection should be before we allow an address to be evicted from tried.
Definition at line 49 of file addrman.cpp.
After how many failed attempts we give up on a new node.
Definition at line 40 of file addrman.cpp.
The maximum number of tried addr collisions to store.
Definition at line 51 of file addrman.cpp.
The maximum time we'll spend trying to resolve a tried table collision.
Definition at line 53 of file addrman.cpp.
Over how many buckets entries with tried addresses from a single group (/16 for IPv4) are spread.
Definition at line 29 of file addrman.cpp.