pub enum ConsensusResponse {
InitChain(InitChain),
BeginBlock(BeginBlock),
DeliverTx(DeliverTx),
EndBlock(EndBlock),
Commit(Commit),
}
Expand description
The consensus category of ABCI responses.
Variants
InitChain(InitChain)
Tuple Fields
0: InitChain
Returned on genesis after initializing chain state.
BeginBlock(BeginBlock)
Tuple Fields
0: BeginBlock
Returns events that occurred when beginning a new block.
DeliverTx(DeliverTx)
Tuple Fields
0: DeliverTx
Returns events that occurred while executing a transaction against the application state.
EndBlock(EndBlock)
Tuple Fields
0: EndBlock
Returns validator updates that occur after the end of a block.
Commit(Commit)
Tuple Fields
0: Commit
Returns the result of persisting the application state.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConsensusResponse
impl Send for ConsensusResponse
impl Sync for ConsensusResponse
impl Unpin for ConsensusResponse
impl UnwindSafe for ConsensusResponse
Blanket Implementations
Mutably borrows from an owned value. Read more