pub struct InstantSealParams<B: BlockT, BI, E, C: ProvideRuntimeApi<B>, TP, SC, CIDP, P> {
pub block_import: BI,
pub env: E,
pub client: Arc<C>,
pub pool: Arc<TP>,
pub select_chain: SC,
pub consensus_data_provider: Option<Box<dyn ConsensusDataProvider<B, Proof = P>>>,
pub create_inherent_data_providers: CIDP,
}Expand description
Params required to start the manual sealing authorship task.
Fields§
§block_import: BIBlock import instance for well. importing blocks.
env: EThe environment we are producing blocks for.
client: Arc<C>Client instance
pool: Arc<TP>Shared reference to the transaction pool.
select_chain: SCSelectChain strategy.
consensus_data_provider: Option<Box<dyn ConsensusDataProvider<B, Proof = P>>>Digest provider for inclusion in blocks.
create_inherent_data_providers: CIDPSomething that can create the inherent data providers.
Auto Trait Implementations§
impl<B, BI, E, C, TP, SC, CIDP, P> !RefUnwindSafe for InstantSealParams<B, BI, E, C, TP, SC, CIDP, P>
impl<B, BI, E, C, TP, SC, CIDP, P> Send for InstantSealParams<B, BI, E, C, TP, SC, CIDP, P>where BI: Send, C: Send + Sync, CIDP: Send, E: Send, SC: Send, TP: Send + Sync,
impl<B, BI, E, C, TP, SC, CIDP, P> Sync for InstantSealParams<B, BI, E, C, TP, SC, CIDP, P>where BI: Sync, C: Send + Sync, CIDP: Sync, E: Sync, SC: Sync, TP: Send + Sync,
impl<B, BI, E, C, TP, SC, CIDP, P> Unpin for InstantSealParams<B, BI, E, C, TP, SC, CIDP, P>where BI: Unpin, CIDP: Unpin, E: Unpin, SC: Unpin,
impl<B, BI, E, C, TP, SC, CIDP, P> !UnwindSafe for InstantSealParams<B, BI, E, C, TP, SC, CIDP, P>
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.