Kagome
Polkadot Runtime Engine in C++17
common.hpp File Reference
#include "libp2p/peer/protocol.hpp"
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::network
 

Variables

static constexpr uint32_t kagome::network::CURRENT_VERSION = 6
 Current protocol version. More...
 
static constexpr uint32_t kagome::network::MIN_VERSION = 3
 Lowest version we support. More...
 
const libp2p::peer::Protocol kagome::network::kStateProtocol = "/{}/state/2"
 
const libp2p::peer::Protocol kagome::network::kSyncProtocol = "/{}/sync/2"
 
const libp2p::peer::Protocol kagome::network::kPropagateTransactionsProtocol
 
const libp2p::peer::Protocol kagome::network::kBlockAnnouncesProtocol
 
const libp2p::peer::Protocol kagome::network::kGrandpaProtocolLegacy = "/paritytech/grandpa/1"
 
const libp2p::peer::Protocol kagome::network::kGrandpaProtocol = "/{}/grandpa/1"
 
const libp2p::peer::Protocol kagome::network::kCollationProtocol {"/polkadot/collation/1"}
 
const libp2p::peer::Protocol kagome::network::kValidationProtocol {"/polkadot/validation/1"}
 
const libp2p::peer::Protocol kagome::network::kReqCollationProtocol