Bitcoin ABC  0.26.3
P2P Digital Currency
Classes | Variables
addrman_impl.h File Reference
#include <logging.h>
#include <logging/timer.h>
#include <netaddress.h>
#include <protocol.h>
#include <serialize.h>
#include <sync.h>
#include <uint256.h>
#include <cstdint>
#include <optional>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Include dependency graph for addrman_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AddrInfo
 Extended statistics about a CAddress. More...
 
class  AddrManImpl
 

Variables

static constexpr int32_t ADDRMAN_TRIED_BUCKET_COUNT_LOG2 {8}
 Total number of buckets for tried addresses. More...
 
static constexpr int ADDRMAN_TRIED_BUCKET_COUNT
 
static constexpr int32_t ADDRMAN_NEW_BUCKET_COUNT_LOG2 {10}
 Total number of buckets for new addresses. More...
 
static constexpr int ADDRMAN_NEW_BUCKET_COUNT
 
static constexpr int32_t ADDRMAN_BUCKET_SIZE_LOG2 {6}
 Maximum allowed number of entries in buckets for new and tried addresses. More...
 
static constexpr int ADDRMAN_BUCKET_SIZE {1 << ADDRMAN_BUCKET_SIZE_LOG2}
 

Variable Documentation

◆ ADDRMAN_BUCKET_SIZE

constexpr int ADDRMAN_BUCKET_SIZE {1 << ADDRMAN_BUCKET_SIZE_LOG2}
staticconstexpr

Definition at line 36 of file addrman_impl.h.

◆ ADDRMAN_BUCKET_SIZE_LOG2

constexpr int32_t ADDRMAN_BUCKET_SIZE_LOG2 {6}
staticconstexpr

Maximum allowed number of entries in buckets for new and tried addresses.

Definition at line 35 of file addrman_impl.h.

◆ ADDRMAN_NEW_BUCKET_COUNT

constexpr int ADDRMAN_NEW_BUCKET_COUNT
staticconstexpr
Initial value:
{1
static constexpr int32_t ADDRMAN_NEW_BUCKET_COUNT_LOG2
Total number of buckets for new addresses.
Definition: addrman_impl.h:30

Definition at line 31 of file addrman_impl.h.

◆ ADDRMAN_NEW_BUCKET_COUNT_LOG2

constexpr int32_t ADDRMAN_NEW_BUCKET_COUNT_LOG2 {10}
staticconstexpr

Total number of buckets for new addresses.

Definition at line 30 of file addrman_impl.h.

◆ ADDRMAN_TRIED_BUCKET_COUNT

constexpr int ADDRMAN_TRIED_BUCKET_COUNT
staticconstexpr
Initial value:
{
static constexpr int32_t ADDRMAN_TRIED_BUCKET_COUNT_LOG2
Total number of buckets for tried addresses.
Definition: addrman_impl.h:25

Definition at line 26 of file addrman_impl.h.

◆ ADDRMAN_TRIED_BUCKET_COUNT_LOG2

constexpr int32_t ADDRMAN_TRIED_BUCKET_COUNT_LOG2 {8}
staticconstexpr

Total number of buckets for tried addresses.

Definition at line 25 of file addrman_impl.h.