Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::parachain Namespace Reference

Classes

struct  Relay
 Relay primitive is empty in polkadot for now. More...
 

Typedefs

using ValidatorId = common::Blob< 32 >
 ValidatorId primitive is an ed25519 or sr25519 public key. More...
 
using ParaId = uint32_t
 ParachainId primitive is an uint32_t. More...
 
using Parachain = ParaId
 Parachain primitive. More...
 
using Chain = boost::variant< Relay, Parachain >
 Chain primitive. More...
 
using DutyRoster = std::vector< Chain >
 DutyRoster primitive. More...
 

Functions

 SCALE_EMPTY_CODER (Relay)
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0


Class Documentation

struct kagome::primitives::parachain::Relay

Relay primitive is empty in polkadot for now.

Definition at line 32 of file parachain_host.hpp.

Collaboration diagram for kagome::primitives::parachain::Relay:

Typedef Documentation

using kagome::primitives::parachain::Chain = typedef boost::variant<Relay, Parachain>

Chain primitive.

Definition at line 44 of file parachain_host.hpp.

using kagome::primitives::parachain::DutyRoster = typedef std::vector<Chain>

DutyRoster primitive.

Definition at line 49 of file parachain_host.hpp.

Parachain primitive.

Definition at line 39 of file parachain_host.hpp.

using kagome::primitives::parachain::ParaId = typedef uint32_t

ParachainId primitive is an uint32_t.

Definition at line 27 of file parachain_host.hpp.

ValidatorId primitive is an ed25519 or sr25519 public key.

Definition at line 22 of file parachain_host.hpp.

Function Documentation

kagome::primitives::parachain::SCALE_EMPTY_CODER ( Relay  )