referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_node_subsystem_types::UnpinHandle

source ·
pub type UnpinHandle = UnpinHandle<Block>;
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 */);