Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerState ¶
type PeerState struct { graphsync.RequestStates TaskQueueState }
PeerState tracks the over all state of a given peer for either incoming or outgoing requests
func (PeerState) Diagnostics ¶
Diagnostics compares request states with the current state of the task queue to identify unexpected states or inconsistences between the tracked task queue and the tracked requests
type TaskQueueState ¶
type TaskQueueState struct { Active []graphsync.RequestID Pending []graphsync.RequestID }
TaskQueueState describes the the set of requests for a given peer in a task queue
Click to show internal directories.
Click to hide internal directories.