Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Classes | Macros
addrman.h File Reference
#include "netbase.h"
#include "protocol.h"
#include "util.h"
#include "sync.h"
#include <map>
#include <vector>
#include <openssl/rand.h>
Include dependency graph for addrman.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CAddrInfo
 Extended statistics about a CAddress. More...
 
class  CAddrMan
 Stochastical (IP) address manager. More...
 

Macros

#define ADDRMAN_TRIED_BUCKET_COUNT   64
 
#define ADDRMAN_TRIED_BUCKET_SIZE   64
 
#define ADDRMAN_NEW_BUCKET_COUNT   256
 
#define ADDRMAN_NEW_BUCKET_SIZE   64
 
#define ADDRMAN_TRIED_BUCKETS_PER_GROUP   4
 
#define ADDRMAN_NEW_BUCKETS_PER_SOURCE_GROUP   32
 
#define ADDRMAN_NEW_BUCKETS_PER_ADDRESS   4
 
#define ADDRMAN_TRIED_ENTRIES_INSPECT_ON_EVICT   4
 
#define ADDRMAN_HORIZON_DAYS   30
 
#define ADDRMAN_RETRIES   3
 
#define ADDRMAN_MAX_FAILURES   10
 
#define ADDRMAN_MIN_FAIL_DAYS   7
 
#define ADDRMAN_GETADDR_MAX_PCT   23
 
#define ADDRMAN_GETADDR_MAX   2500
 

Macro Definition Documentation

#define ADDRMAN_GETADDR_MAX   2500

Definition at line 162 of file addrman.h.

#define ADDRMAN_GETADDR_MAX_PCT   23

Definition at line 159 of file addrman.h.

#define ADDRMAN_HORIZON_DAYS   30

Definition at line 147 of file addrman.h.

#define ADDRMAN_MAX_FAILURES   10

Definition at line 153 of file addrman.h.

#define ADDRMAN_MIN_FAIL_DAYS   7

Definition at line 156 of file addrman.h.

#define ADDRMAN_NEW_BUCKET_COUNT   256

Definition at line 129 of file addrman.h.

#define ADDRMAN_NEW_BUCKET_SIZE   64

Definition at line 132 of file addrman.h.

#define ADDRMAN_NEW_BUCKETS_PER_ADDRESS   4

Definition at line 141 of file addrman.h.

#define ADDRMAN_NEW_BUCKETS_PER_SOURCE_GROUP   32

Definition at line 138 of file addrman.h.

#define ADDRMAN_RETRIES   3

Definition at line 150 of file addrman.h.

#define ADDRMAN_TRIED_BUCKET_COUNT   64

Definition at line 123 of file addrman.h.

#define ADDRMAN_TRIED_BUCKET_SIZE   64

Definition at line 126 of file addrman.h.

#define ADDRMAN_TRIED_BUCKETS_PER_GROUP   4

Definition at line 135 of file addrman.h.

#define ADDRMAN_TRIED_ENTRIES_INSPECT_ON_EVICT   4

Definition at line 144 of file addrman.h.