Expand description
This module provides an abstraction over block import in the form of the BlockImport
trait.
Structs§
- Block
Import Outcome - Outcome of the
BlockImport
’s block handling. - Proof
OfStake Block Import - An implementation of
BlockImport
used in Proof-of-Stake consensus that does nothing.
Enums§
- Block
Import Error - Represents the error case of a failed block import
- Block
Import Event - Represents different types of block import events
- Block
Validation - Represents the successful validation of a received block announcement.
- NewBlock
Event - Represents different types of block announcement events from the network.
Traits§
- Block
Import - Abstraction over block import.