referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_overseer::UnpinHandle

source ·
pub type UnpinHandle = UnpinHandle<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>;
Expand description

Keeps the state of a specific block pinned in memory while the handle is alive.

The handle is reference counted and once the last is dropped, the block is unpinned.

This is useful for runtime API calls to blocks that are racing against finality, e.g. for slashing purposes.

Aliased Type§

struct UnpinHandle(/* private fields */);