Type Alias frontier_template_node::service::GrandpaLinkHalf
source · type GrandpaLinkHalf<Client> = LinkHalf<Block, Client, LongestChain<TFullBackend<Block>, Block>>;
Aliased Type§
struct GrandpaLinkHalf<Client> {
pub(crate) client: Arc<Client>,
pub(crate) select_chain: LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
pub(crate) persistent_data: PersistentData<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>,
pub(crate) voter_commands_rx: TracingUnboundedReceiver<VoterCommand<H256, u32>>,
pub(crate) justification_sender: NotificationSender<GrandpaJustification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
pub(crate) justification_stream: NotificationStream<GrandpaJustification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, GrandpaJustificationsTracingKey>,
pub(crate) telemetry: Option<TelemetryHandle>,
}
Fields§
§client: Arc<Client>
§select_chain: LongestChain<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>
§persistent_data: PersistentData<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>
§voter_commands_rx: TracingUnboundedReceiver<VoterCommand<H256, u32>>
§justification_sender: NotificationSender<GrandpaJustification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>
§justification_stream: NotificationStream<GrandpaJustification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, GrandpaJustificationsTracingKey>
§telemetry: Option<TelemetryHandle>
Implementations
§impl<Block, C, SC> LinkHalf<Block, C, SC>where
Block: Block,
impl<Block, C, SC> LinkHalf<Block, C, SC>where
Block: Block,
Get the shared authority set.
pub fn justification_stream(
&self
) -> NotificationStream<GrandpaJustification<Block>, GrandpaJustificationsTracingKey>
pub fn justification_stream( &self ) -> NotificationStream<GrandpaJustification<Block>, GrandpaJustificationsTracingKey>
Get the receiving end of justification notifications.