pub trait ValidateStatement<Block: BlockT>: Core<Block> {
    // Provided method
    fn validate_statement(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        source: StatementSource,
        statement: Statement,
    ) -> Result<Result<ValidStatement, InvalidStatement>, ApiError> { ... }
}
Expand description

Runtime API trait for statement validation.

Provided Methods§

source

fn validate_statement( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, source: StatementSource, statement: Statement, ) -> Result<Result<ValidStatement, InvalidStatement>, ApiError>

Validate the statement.

Trait Implementations§

source§

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

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§