Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + type ChainRouter struct + func (sr *ChainRouter) Accepted(validatorID ids.ShortID, chainID ids.ID, requestID uint32, ...) + func (sr *ChainRouter) AcceptedFrontier(validatorID ids.ShortID, chainID ids.ID, requestID uint32, ...) + func (sr *ChainRouter) AddChain(chain *handler.Handler) + func (sr *ChainRouter) Chits(validatorID ids.ShortID, chainID ids.ID, requestID uint32, votes ids.Set) + func (sr *ChainRouter) Get(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID) + func (sr *ChainRouter) GetAccepted(validatorID ids.ShortID, chainID ids.ID, requestID uint32, ...) + func (sr *ChainRouter) GetAcceptedFailed(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + func (sr *ChainRouter) GetAcceptedFrontier(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + func (sr *ChainRouter) GetAcceptedFrontierFailed(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + func (sr *ChainRouter) GetFailed(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID) + func (sr *ChainRouter) Initialize(log logging.Logger, timeouts *timeout.Manager) + func (sr *ChainRouter) PullQuery(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID) + func (sr *ChainRouter) PushQuery(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID, ...) + func (sr *ChainRouter) Put(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID, ...) + func (sr *ChainRouter) QueryFailed(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + func (sr *ChainRouter) RemoveChain(chainID ids.ID) + func (sr *ChainRouter) Shutdown() + type ExternalRouter interface + Accepted func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, ...) + AcceptedFrontier func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, ...) + Chits func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, votes ids.Set) + Get func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID) + GetAccepted func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, ...) + GetAcceptedFrontier func(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + PullQuery func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID) + PushQuery func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID, ...) + Put func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID, ...) + type InternalRouter interface + GetAcceptedFailed func(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + GetAcceptedFrontierFailed func(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + GetFailed func(validatorID ids.ShortID, chainID ids.ID, requestID uint32, containerID ids.ID) + QueryFailed func(validatorID ids.ShortID, chainID ids.ID, requestID uint32) + type Router interface + AddChain func(chain *handler.Handler) + Initialize func(log logging.Logger, timeouts *timeout.Manager) + RemoveChain func(chainID ids.ID) + Shutdown func()