6 #ifndef KAGOME_CORE_RUNTIME_PARACHAIN_HOST_TYPES_HPP 7 #define KAGOME_CORE_RUNTIME_PARACHAIN_HOST_TYPES_HPP 9 #include <scale/bitvec.hpp> 101 std::tuple<BlockNumber, GroupRotatePeriod, BlockNumber>;
272 #endif // KAGOME_CORE_RUNTIME_PARACHAIN_HOST_TYPES_HPP
CandidateDescriptor candidate_descriptor
The descriptor of the candidate occupying the core.
Class represents arbitrary (including empty) byte buffer.
boost::variant< OccupiedCore, ScheduledCore, Unused< 2 >> CoreState
std::tuple< std::vector< ValidatorId >, GroupDescriptor > ValidatorGroup
CandidateCommitments commitments
The commitments of the candidate receipt.
ValidationCodeHash validation_code_hash
The blake2-256 hash of the validation code bytes.
Hash erasure_root
The root of a block's erasure encoding Merkle tree.
Hash persisted_validation_data_hash
Hash relay_parent_storage_root
The relay-chain block storage root this is in the context of.
Hash para_head
Hash of the para header that is being generated by this candidate.
std::vector< ValidatorId > validators
Hash relay_parent
The hash of the relay-chain block this is executed in the context of.
CandidateHash candidate_hash
The hash of the candidate occupying the core.
scale::BitVec availability
std::optional< ValidationCode > new_validation_code
New validation code.
std::optional< ScheduledCore > next_up_on_time_out
common::Blob< 32 > random_seed
A secure random seed for the session, gathered from BABE.
uint32_t max_pov_size
The maximum legal size of a POV block, in bytes.
HeadData parent_head
The parent head-data.
HeadData head_data
The head-data produced as a result of execution.
common::Blob< 32 > ValidatorId
ValidatorId primitive is an ed25519 or sr25519 public key.
CandidateDescriptor descriptor
The descriptor of the candidate.
SessionIndex dispute_period
The amount of sessions to keep for disputes.
boost::variant< CandidateBacked, CandidateIncluded, CandidateTimedOut > CandidateEvent
BlockNumber hrmp_watermark
BlockNumber time_out_at
The relay-chain block this will time-out at, if any.
SLBuffer< std::numeric_limits< size_t >::max()> Buffer
uint32_t n_delay_tranches
The number of delay tranches in total.
ParachainId para_id
The ID of a para scheduled.
std::vector< primitives::AuthorityDiscoveryId > discovery_keys
ParachainId para_id
The ID of the para this is a candidate for.
Hash pov_hash
The blake2-256 hash of the PoV.
BlockNumber relay_parent_number
The relay-chain block number this is in the context of.
std::vector< ValidatorIndex > active_validator_indices
Information about a core which is currently occupied.
std::vector< std::vector< ValidatorIndex > > validator_groups
std::optional< ScheduledCore > next_up_on_available
uint32_t zeroth_delay_tranche_width
The zeroth delay tranche width.
std::vector< AssignmentId > assignment_keys
ParachainId recipient
The para that will get this message in its downward message queue.
CandidateReceipt candidate_receipt
Information about a core which is currently occupied.
uint32_t relay_vrf_modulo_samples
The number of samples we do of relay_vrf_modulo.
primitives::parachain::DutyRoster DutyRoster
primitives::BlockNumber BlockNumber
CandidateDescriptor descriptor
The descriptor of the candidate.
Buffer data
The message payload.
uint32_t processed_downward_messages
The number of messages processed from the DMQ.
std::vector< UpwardMessage > upward_messages
Messages destined to be interpreted by the Relay chain itself.
GroupIndex group_responsible
The group assigned to distribute availability pieces of this candidate.
std::vector< OutboundHrmpMessage > horizontal_messages
Horizontal messages sent by the parachain.
Buffer data
The message payload.
uint32_t GroupRotatePeriod
BlockNumber occupied_since
The relay-chain block number this began occupying the core at.
std::optional< CollatorId > collator
The collator required to author the block, if any.
uint32_t needed_approvals
The number of validators needed to approve a block.
CollatorId collator
The collator's sr25519 public key.
primitives::parachain::ParaId ParachainId
std::tuple< BlockNumber, GroupRotatePeriod, BlockNumber > GroupDescriptor
std::vector< Chain > DutyRoster
DutyRoster primitive.
uint32_t ParaId
ParachainId primitive is an uint32_t.
CollatorSignature signature
DownwardMessage msg
The actual downward message to processes.