Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Getter ¶
type Getter interface {
// Get retrieves vertices by their IDs
Get(
ctx context.Context,
nodeID ids.NodeID,
requestID uint32,
vtxIDs set.Set[ids.ID],
) error
// GetAncestors retrieves ancestors of a vertex
GetAncestors(
ctx context.Context,
nodeID ids.NodeID,
requestID uint32,
vtxID ids.ID,
) error
}
Getter defines the interface for fetching vertices
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages vertex fetching operations
func NewManager ¶
NewManager creates a new getter manager
func (*Manager) GetAncestors ¶
GetAncestors initiates an ancestor fetch request
func (*Manager) OnResponse ¶
OnResponse handles responses to fetch requests
func (*Manager) TimeoutPending ¶
func (m *Manager) TimeoutPending()
TimeoutPending removes timed out requests
Click to show internal directories.
Click to hide internal directories.