Kagome
Polkadot Runtime Engine in C++17
peer_manager.hpp File Reference
#include <optional>
#include <unordered_set>
#include <libp2p/peer/peer_id.hpp>
#include <libp2p/peer/peer_info.hpp>
#include "network/types/block_announce.hpp"
#include "network/types/collator_messages.hpp"
#include "network/types/grandpa_message.hpp"
#include "network/types/status.hpp"
#include "outcome/outcome.hpp"
#include "primitives/common.hpp"
#include "utils/non_copyable.hpp"
Include dependency graph for peer_manager.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::network::CollatorState
 
struct  kagome::network::PendingCollation
 
struct  kagome::network::ParachainState
 
struct  kagome::network::PeerState
 
class  kagome::network::PeerManager
 

Namespaces

 kagome::network
 

Class Documentation

struct kagome::network::CollatorState

Definition at line 25 of file peer_manager.hpp.

Collaboration diagram for kagome::network::CollatorState:
Class Members
unordered_set< BlockHash > advertisements
CollatorPublicKey collator_id
ParachainId parachain_id
struct kagome::network::PendingCollation

Definition at line 31 of file peer_manager.hpp.

Collaboration diagram for kagome::network::PendingCollation:
Class Members
ParachainId para_id
PeerId const & peer_id
BlockHash const & relay_parent
struct kagome::network::ParachainState

Definition at line 40 of file peer_manager.hpp.

Collaboration diagram for kagome::network::ParachainState:
Class Members
unordered_map< BlockHash, bool > our_view
struct kagome::network::PeerState

Definition at line 44 of file peer_manager.hpp.

Collaboration diagram for kagome::network::PeerState:
Class Members
BlockInfo best_block
optional< CollatorState > collator_state
BlockNumber last_finalized
Roles roles
optional< RoundNumber > round_number
optional< VoterSetId > set_id
TimePoint time