referrerpolicy=no-referrer-when-downgrade
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§

source

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.

Trait Implementations§

source§

impl<Block: BlockT> RuntimeApiInfo for dyn GetCoreSelectorApi<Block>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§