Kagome
Polkadot Runtime Engine in C++17
|
#include <algorithm>
#include <libp2p/peer/peer_info.hpp>
#include <vector>
#include "network/types/roles.hpp"
#include "primitives/common.hpp"
Go to the source code of this file.
Classes | |
struct | kagome::network::Status |
Namespaces | |
kagome::network | |
Functions | |
template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>> | |
Stream & | kagome::network::operator<< (Stream &s, const Status &v) |
outputs object of type Status to stream More... | |
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>> | |
Stream & | kagome::network::operator>> (Stream &s, Status &v) |
decodes object of type Status from stream More... | |
struct kagome::network::Status |
Is the structure to send to a new connected peer. It contains common information about current peer and used by the remote peer to detect the posibility of the correct communication with it.
Definition at line 26 of file status.hpp.
Class Members | ||
---|---|---|
BlockInfo | best_block |
Best block |
BlockHash | genesis_hash |
Genesis block hash. |
Roles | roles |
Supported roles. |