pub trait GetCoreSelectorApi<Block: BlockT>: Core<Block> {
// Provided method
fn core_selector(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
) -> Result<(CoreSelector, ClaimQueueOffset), ApiError> { ... }
}
Expand description
Runtime api used to select the core for which the next block will be built.
Provided Methods§
sourcefn core_selector(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
) -> Result<(CoreSelector, ClaimQueueOffset), ApiError>
fn core_selector( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<(CoreSelector, ClaimQueueOffset), ApiError>
Retrieve core selector and claim queue offset for the next block.