UnpinHandle

Type Alias 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ยง

pub struct UnpinHandle(/* private fields */);