Bitcoin ABC 0.30.5
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 <timedata.h>
#include <uint256.h>
#include <util/time.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 38 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 37 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:32

Definition at line 33 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 32 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:27

Definition at line 28 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 27 of file addrman_impl.h.