Versions in this module Expand all Collapse all v1 v1.9.0 Oct 3, 2022 Changes in this version + type Config struct + Consensus avalanche.Consensus + Ctx *snow.ConsensusContext + Manager vertex.Manager + Params avalanche.Parameters + Sender common.Sender + VM vertex.DAGVM + Validators validators.Set + type Engine interface + GetVtx func(vtxID ids.ID) (avalanche.Vertex, error) + func New(config Config) (Engine, error) + type EngineTest struct + CantGetVtx bool + GetVtxF func(vtxID ids.ID) (avalanche.Vertex, error) + func (e *EngineTest) Default(cant bool) + func (e *EngineTest) GetVtx(vtxID ids.ID) (avalanche.Vertex, error) + type Transitive struct + RequestID uint32 + func (m *Transitive) Initialize(namespace string, reg prometheus.Registerer) error + func (t *Transitive) AppGossip(nodeID ids.NodeID, msg []byte) error + func (t *Transitive) AppRequest(nodeID ids.NodeID, requestID uint32, deadline time.Time, request []byte) error + func (t *Transitive) AppRequestFailed(nodeID ids.NodeID, requestID uint32) error + func (t *Transitive) AppResponse(nodeID ids.NodeID, requestID uint32, response []byte) error + func (t *Transitive) Chits(nodeID ids.NodeID, requestID uint32, votes []ids.ID) error + func (t *Transitive) Connected(nodeID ids.NodeID, nodeVersion *version.Application) error + func (t *Transitive) Context() *snow.ConsensusContext + func (t *Transitive) Disconnected(nodeID ids.NodeID) error + func (t *Transitive) GetFailed(nodeID ids.NodeID, requestID uint32) error + func (t *Transitive) GetVM() common.VM + func (t *Transitive) GetVtx(vtxID ids.ID) (avalanche.Vertex, error) + func (t *Transitive) Gossip() error + func (t *Transitive) Halt() + func (t *Transitive) HealthCheck() (interface{}, error) + func (t *Transitive) Notify(msg common.Message) error + func (t *Transitive) PullQuery(nodeID ids.NodeID, requestID uint32, vtxID ids.ID) error + func (t *Transitive) PushQuery(nodeID ids.NodeID, requestID uint32, vtxBytes []byte) error + func (t *Transitive) Put(nodeID ids.NodeID, requestID uint32, vtxBytes []byte) error + func (t *Transitive) QueryFailed(nodeID ids.NodeID, requestID uint32) error + func (t *Transitive) Shutdown() error + func (t *Transitive) Start(startReqID uint32) error + func (t *Transitive) Timeout() error