Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlocksOutput = "blocks" RollbackOutput = "signal" RollbackInput = "state" GenesisOutput = "genesis" GenesisDoneInput = "genesis_done" StopOutput = "stop" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { modules.BaseModule // contains filtered or unexported fields }
Module - runs through a chain aiming to catch up the head
and identifies whether the block fits in sequence or signals of rollback. |----------------| | | -- types.BlockData -> BlocksOutput | MODULE | | Receiver | -- struct{} -> RollbackOutput | | <- storage.State -- RollbackInput |----------------|
Click to show internal directories.
Click to hide internal directories.