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 with aim ti catch-up head and identifies either block is 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.