Versions in this module Expand all Collapse all v1 v1.2.0 Jun 21, 2024 v1.0.0 Mar 29, 2024 Changes in this version + func HandleIBD(context IBDContext, incomingRoute *router.Route, outgoingRoute *router.Route, ...) error + func HandleIBDBlockLocator(context HandleIBDBlockLocatorContext, incomingRoute *router.Route, ...) error + func HandleIBDBlockRequests(context HandleIBDBlockRequestsContext, incomingRoute *router.Route, ...) error + func HandlePruningPointAndItsAnticoneRequests(context PruningPointAndItsAnticoneRequestsContext, incomingRoute *router.Route, ...) error + func HandlePruningPointProofRequests(context PruningPointProofRequestsContext, incomingRoute *router.Route, ...) error + func HandleRelayBlockRequests(context RelayBlockRequestsContext, incomingRoute *router.Route, ...) error + func HandleRelayInvs(context RelayInvsContext, incomingRoute *router.Route, ...) error + func HandleRequestAnticone(context RequestAnticoneContext, incomingRoute *router.Route, ...) error + func HandleRequestBlockLocator(context RequestBlockLocatorContext, incomingRoute *router.Route, ...) error + func HandleRequestHeaders(context RequestHeadersContext, incomingRoute *router.Route, ...) error + func HandleRequestIBDChainBlockLocator(context RequestIBDChainBlockLocatorContext, incomingRoute *router.Route, ...) error + func HandleRequestPruningPointUTXOSet(context HandleRequestPruningPointUTXOSetContext, ...) error + func SendVirtualSelectedParentInv(context SendVirtualSelectedParentInvContext, outgoingRoute *router.Route, ...) error + type HandleIBDBlockLocatorContext interface + Domain func() domain.Domain + type HandleIBDBlockRequestsContext interface + Domain func() domain.Domain + type HandleRequestPruningPointUTXOSetContext interface + Domain func() domain.Domain + type IBDContext interface + Config func() *config.Config + Domain func() domain.Domain + IsIBDRunning func() bool + IsRecoverableError func(err error) bool + OnNewBlock func(block *externalapi.DomainBlock) error + OnNewBlockTemplate func() error + OnPruningPointUTXOSetOverride func() error + TrySetIBDRunning func(ibdPeer *peerpkg.Peer) bool + UnsetIBDRunning func() + type PruningPointAndItsAnticoneRequestsContext interface + Config func() *config.Config + Domain func() domain.Domain + type PruningPointProofRequestsContext interface + Domain func() domain.Domain + type RelayBlockRequestsContext interface + Domain func() domain.Domain + type RelayInvsContext interface + AddOrphan func(orphanBlock *externalapi.DomainBlock) + Broadcast func(message appmessage.Message) error + Config func() *config.Config + Domain func() domain.Domain + GetOrphanRoots func(orphanHash *externalapi.DomainHash) ([]*externalapi.DomainHash, bool, error) + IsIBDRunning func() bool + IsNearlySynced func() (bool, error) + IsOrphan func(blockHash *externalapi.DomainHash) bool + IsRecoverableError func(err error) bool + OnNewBlock func(block *externalapi.DomainBlock) error + OnNewBlockTemplate func() error + OnPruningPointUTXOSetOverride func() error + SharedRequestedBlocks func() *flowcontext.SharedRequestedBlocks + type RequestAnticoneContext interface + Config func() *config.Config + Domain func() domain.Domain + type RequestBlockLocatorContext interface + Domain func() domain.Domain + type RequestHeadersContext interface + Domain func() domain.Domain + type RequestIBDChainBlockLocatorContext interface + Domain func() domain.Domain + type SendVirtualSelectedParentInvContext interface + Config func() *config.Config + Domain func() domain.Domain