Struct sc_finality_grandpa::GrandpaParams [−][src]
Parameters used to run Grandpa.
Fields
config: Config
Configuration for the GRANDPA service.
link: LinkHalf<Block, C, SC>
A link to the block import worker.
network: N
The Network instance.
It is assumed that this network will feed us Grandpa notifications. When using the
sc_network
crate, it is assumed that the Grandpa notifications protocol has been passed
to the configuration of the networking. See grandpa_peers_set_config
.
telemetry_on_connect: Option<TracingUnboundedReceiver<()>>
If supplied, can be used to hook on telemetry connection established events.
voting_rule: VR
A voting rule used to potentially restrict target votes.
prometheus_registry: Option<Registry>
The prometheus metrics registry.
The voter state is exposed at an RPC endpoint.
Auto Trait Implementations
impl<Block, C, N, SC, VR> !RefUnwindSafe for GrandpaParams<Block, C, N, SC, VR>
impl<Block, C, N, SC, VR> Send for GrandpaParams<Block, C, N, SC, VR> where
C: Send + Sync,
N: Send,
SC: Send,
VR: Send,
C: Send + Sync,
N: Send,
SC: Send,
VR: Send,
impl<Block, C, N, SC, VR> Sync for GrandpaParams<Block, C, N, SC, VR> where
C: Send + Sync,
N: Sync,
SC: Sync,
VR: Sync,
C: Send + Sync,
N: Sync,
SC: Sync,
VR: Sync,
impl<Block, C, N, SC, VR> Unpin for GrandpaParams<Block, C, N, SC, VR> where
N: Unpin,
SC: Unpin,
VR: Unpin,
N: Unpin,
SC: Unpin,
VR: Unpin,
impl<Block, C, N, SC, VR> !UnwindSafe for GrandpaParams<Block, C, N, SC, VR>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> CheckedConversion for T
[src][+]
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src][+]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src][+]
T: UncheckedFrom<S>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src][+]
T: Bounded,
S: TryInto<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,