pub enum ConsensusRequest {
    InitChain(InitChain),
    PrepareProposal(PrepareProposal),
    ProcessProposal(ProcessProposal),
    Commit,
    ExtendVote(ExtendVote),
    VerifyVoteExtension(VerifyVoteExtension),
    FinalizeBlock(FinalizeBlock),
}Expand description
The consensus category of ABCI requests.
Variants§
InitChain(InitChain)
Called on genesis to initialize chain state.
PrepareProposal(PrepareProposal)
ProcessProposal(ProcessProposal)
Commit
Signals the application that it can write the queued state transitions from the block to its state.
ExtendVote(ExtendVote)
VerifyVoteExtension(VerifyVoteExtension)
FinalizeBlock(FinalizeBlock)
Trait Implementations§
Source§impl Clone for ConsensusRequest
 
impl Clone for ConsensusRequest
Source§fn clone(&self) -> ConsensusRequest
 
fn clone(&self) -> ConsensusRequest
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 moreSource§impl Debug for ConsensusRequest
 
impl Debug for ConsensusRequest
Source§impl From<ConsensusRequest> for Request
 
impl From<ConsensusRequest> for Request
Source§fn from(req: ConsensusRequest) -> Self
 
fn from(req: ConsensusRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConsensusRequest
 
impl PartialEq for ConsensusRequest
Source§impl TryFrom<Request> for ConsensusRequest
 
impl TryFrom<Request> for ConsensusRequest
impl Eq for ConsensusRequest
impl StructuralPartialEq for ConsensusRequest
Auto Trait Implementations§
impl !Freeze for ConsensusRequest
impl RefUnwindSafe for ConsensusRequest
impl Send for ConsensusRequest
impl Sync for ConsensusRequest
impl Unpin for ConsensusRequest
impl UnwindSafe for ConsensusRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more