Bitcoin ABC  0.24.7
P2P Digital Currency
Classes | Namespaces | Functions | Variables
peermanager.h File Reference
#include <avalanche/node.h>
#include <avalanche/orphanproofpool.h>
#include <avalanche/proof.h>
#include <avalanche/proofpool.h>
#include <coins.h>
#include <pubkey.h>
#include <salteduint256hasher.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 <chrono>
#include <cstdint>
#include <memory>
#include <unordered_set>
#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::next_request_time
 
struct  avalanche::PendingNode
 
class  avalanche::PeerManager
 

Namespaces

 avalanche
 

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 size_t avalanche::AVALANCHE_ORPHANPROOFPOOL_SIZE = 10000
 Maximum number of stakes in the orphanProofs. More...