Type Alias sc_client_api::client::BadBlocks

source ·
pub type BadBlocks<Block> = Option<HashSet<<Block as BlockT>::Hash>>;
Expand description

Known bad block hashes.

This may be used as chain spec extension to filter out known, unwanted forks.

Aliased Type§

enum BadBlocks<Block> {
    None,
    Some(HashSet<<Block as Block>::Hash>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(HashSet<<Block as Block>::Hash>)

Some value of type T.