|
virtual | ~ParachainHost ()=default |
|
virtual outcome::result< DutyRoster > | duty_roster (const primitives::BlockHash &block)=0 |
| Calls the ParachainHost_duty_roster function from wasm code. More...
|
|
virtual outcome::result< std::vector< ParachainId > > | active_parachains (const primitives::BlockHash &block)=0 |
| Calls the ParachainHost_active_parachains function from wasm code. More...
|
|
virtual outcome::result< std::optional< Buffer > > | parachain_head (const primitives::BlockHash &block, ParachainId id)=0 |
| Calls the ParachainHost_parachain_head function from wasm code. More...
|
|
virtual outcome::result< std::optional< kagome::common::Buffer > > | parachain_code (const primitives::BlockHash &block, ParachainId id)=0 |
| Calls the ParachainHost_parachain_code function from wasm code. More...
|
|
virtual outcome::result< std::vector< ValidatorId > > | validators (const primitives::BlockHash &block)=0 |
| reports validators list for given block_id More...
|
|
virtual outcome::result< std::vector< ValidatorGroup > > | validator_groups (const primitives::BlockHash &block)=0 |
| Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on. Note that now in the GroupRotationInfo should be the successor of the number of the block. More...
|
|
virtual outcome::result< std::vector< CoreState > > | availability_cores (const primitives::BlockHash &block)=0 |
| Yields information on all availability cores as relevant to the child block. Cores are either free or occupied. Free cores can have paras assigned to them. More...
|
|
virtual outcome::result< std::optional< PersistedValidationData > > | persisted_validation_data (const primitives::BlockHash &block, ParachainId id, OccupiedCoreAssumption assumption)=0 |
| Yields the persisted validation data for the given ParaId along with an assumption that should be used if the para currently occupies a core. More...
|
|
virtual outcome::result< bool > | check_validation_outputs (const primitives::BlockHash &block, ParachainId id, CandidateCommitments outputs)=0 |
| Checks if the given validation outputs pass the acceptance criteria. More...
|
|
virtual outcome::result< SessionIndex > | session_index_for_child (const primitives::BlockHash &block)=0 |
| Returns the session index expected at a child of the block. This can be used to instantiate a SigningContext . More...
|
|
virtual outcome::result< std::optional< ValidationCode > > | validation_code (const primitives::BlockHash &block, ParachainId id, OccupiedCoreAssumption assumption)=0 |
| Fetch the validation code used by a para, making the given OccupiedCoreAssumption . More...
|
|
virtual outcome::result< std::optional< ValidationCode > > | validation_code_by_hash (const primitives::BlockHash &block, ValidationCodeHash hash)=0 |
| Get the validation code (runtime) from its hash. More...
|
|
virtual outcome::result< std::optional< CommittedCandidateReceipt > > | candidate_pending_availability (const primitives::BlockHash &block, ParachainId id)=0 |
| Get the receipt of a candidate pending availability. More...
|
|
virtual outcome::result< std::vector< CandidateEvent > > | candidate_events (const primitives::BlockHash &block)=0 |
| Get a vector of events concerning candidates that occurred within a block. More...
|
|
virtual outcome::result< std::optional< SessionInfo > > | session_info (const primitives::BlockHash &block, SessionIndex index)=0 |
| Get the session info for the given session, if stored. More...
|
|
virtual outcome::result< std::vector< InboundDownwardMessage > > | dmq_contents (const primitives::BlockHash &block, ParachainId id)=0 |
| Get all the pending inbound messages in the downward message queue for a para. More...
|
|
virtual outcome::result< std::map< ParachainId, std::vector< InboundHrmpMessage > > > | inbound_hrmp_channels_contents (const primitives::BlockHash &block, ParachainId id)=0 |
| Get the contents of all channels addressed to the given recipient. Channels that have no messages in them are also included. More...
|
|
Definition at line 18 of file parachain_host.hpp.