pub type BlockAnnounceValidator<Block, RCInterface> = RequireSecondedInBlockAnnounce<Block, RCInterface>;
👎Deprecated: This has been renamed to RequireSecondedInBlockAnnounce
Expand description
A type alias for the RequireSecondedInBlockAnnounce
validator.
Aliased Type§
struct BlockAnnounceValidator<Block, RCInterface> { /* private fields */ }
Implementations
Source§impl<Block, RCInterface> RequireSecondedInBlockAnnounce<Block, RCInterface>where
RCInterface: Clone,
impl<Block, RCInterface> RequireSecondedInBlockAnnounce<Block, RCInterface>where
RCInterface: Clone,
Sourcepub fn new(relay_chain_interface: RCInterface, para_id: ParaId) -> Self
pub fn new(relay_chain_interface: RCInterface, para_id: ParaId) -> Self
Create a new RequireSecondedInBlockAnnounce
.
Trait Implementations
Source§impl<Block: BlockT, RCInterface> BlockAnnounceValidator<Block> for RequireSecondedInBlockAnnounce<Block, RCInterface>where
RCInterface: RelayChainInterface + Clone + 'static,
impl<Block: BlockT, RCInterface> BlockAnnounceValidator<Block> for RequireSecondedInBlockAnnounce<Block, RCInterface>where
RCInterface: RelayChainInterface + Clone + 'static,
Source§impl<Block: Clone, RCInterface: Clone> Clone for RequireSecondedInBlockAnnounce<Block, RCInterface>
impl<Block: Clone, RCInterface: Clone> Clone for RequireSecondedInBlockAnnounce<Block, RCInterface>
Source§fn clone(&self) -> RequireSecondedInBlockAnnounce<Block, RCInterface>
fn clone(&self) -> RequireSecondedInBlockAnnounce<Block, RCInterface>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more