Bitcoin ABC 0.30.7
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions | Variables
peermanager.h File Reference
#include <avalanche/node.h>
#include <avalanche/proof.h>
#include <avalanche/proofpool.h>
#include <avalanche/proofradixtreeadapter.h>
#include <coins.h>
#include <common/bloom.h>
#include <consensus/validation.h>
#include <pubkey.h>
#include <radix.h>
#include <util/hasher.h>
#include <util/time.h>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index_container.hpp>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <memory>
#include <vector>
Include dependency graph for peermanager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  avalanche::Slot
 
struct  avalanche::Peer
 
struct  avalanche::proof_index
 
struct  avalanche::score_index
 
struct  avalanche::next_request_time
 
struct  avalanche::PendingNode
 
struct  avalanche::RemoteProof
 
class  avalanche::ProofRegistrationState
 
class  avalanche::PeerManager
 

Namespaces

namespace  avalanche
 

Enumerations

enum class  avalanche::ProofRegistrationResult {
  avalanche::NONE = 0 , avalanche::ALREADY_REGISTERED , avalanche::IMMATURE , avalanche::INVALID ,
  avalanche::CONFLICTING , avalanche::REJECTED , avalanche::COOLDOWN_NOT_ELAPSED , avalanche::DANGLING ,
  avalanche::MISSING_UTXO
}
 

Functions

PeerId avalanche::selectPeerImpl (const std::vector< Slot > &slots, const uint64_t slot, const uint64_t max)
 Internal methods that are exposed for testing purposes. More...
 

Variables

static constexpr uint32_t avalanche::AVALANCHE_MAX_IMMATURE_PROOFS = 4000
 Maximum number of immature proofs the peer manager will accept from the network. More...