Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineType ¶
type EngineType uint32
EngineType ...
const ( // EngineTypeUnspecified ... EngineTypeUnspecified EngineType = iota // EngineTypeAvalanche ... EngineTypeAvalanche // EngineTypeSnowman ... EngineTypeSnowman )
type Router ¶
type Router interface {
// RegisterRequest marks that we should expect to receive a reply to a
// request from the given chain. The router should call the timeout handler
// if we don't get a reply in time.
RegisterRequest(
nodeID ids.NodeID,
chainID ids.ID,
requestID uint32,
op message.Op,
timeoutHandler func(),
engineType EngineType,
)
}
Router routes messages to consensus engines
Click to show internal directories.
Click to hide internal directories.