Struct sc_consensus_beefy::BeefyParams
source · pub struct BeefyParams<B: Block, BE, C, N, P, R, S> {
pub client: Arc<C>,
pub backend: Arc<BE>,
pub payload_provider: P,
pub runtime: Arc<R>,
pub key_store: Option<KeystorePtr>,
pub network_params: BeefyNetworkParams<B, N, S>,
pub min_block_delta: u32,
pub prometheus_registry: Option<Registry>,
pub links: BeefyVoterLinks<B>,
pub on_demand_justifications_handler: BeefyJustifsRequestHandler<B, C>,
}
Expand description
BEEFY gadget initialization parameters.
Fields§
§client: Arc<C>
BEEFY client
backend: Arc<BE>
Client Backend
payload_provider: P
BEEFY Payload provider
runtime: Arc<R>
Runtime Api Provider
key_store: Option<KeystorePtr>
Local key store
network_params: BeefyNetworkParams<B, N, S>
BEEFY voter network params
min_block_delta: u32
Minimal delta between blocks, BEEFY should vote for
prometheus_registry: Option<Registry>
Prometheus metric registry
links: BeefyVoterLinks<B>
Links between the block importer, the background voter and the RPC layer.
on_demand_justifications_handler: BeefyJustifsRequestHandler<B, C>
Handler for incoming BEEFY justifications requests from a remote peer.
Auto Trait Implementations§
impl<B, BE, C, N, P, R, S> !RefUnwindSafe for BeefyParams<B, BE, C, N, P, R, S>
impl<B, BE, C, N, P, R, S> Send for BeefyParams<B, BE, C, N, P, R, S>where BE: Send + Sync, C: Send + Sync, N: Send + Sync, P: Send, R: Send + Sync, S: Send + Sync,
impl<B, BE, C, N, P, R, S> Sync for BeefyParams<B, BE, C, N, P, R, S>where BE: Send + Sync, C: Send + Sync, N: Send + Sync, P: Sync, R: Send + Sync, S: Send + Sync,
impl<B, BE, C, N, P, R, S> Unpin for BeefyParams<B, BE, C, N, P, R, S>where B: Unpin, P: Unpin,
impl<B, BE, C, N, P, R, S> !UnwindSafe for BeefyParams<B, BE, C, N, P, R, S>
Blanket Implementations§
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.