# Functions

NewMockHashSource creates a new mock instance.
NewMockPeerHashQueue creates a new mock instance.
NewMockProtocol creates a new mock instance.
No description provided by the author

# Constants

Version holds the number of the version of this protocol implementation.

# Variables

ErrMissingProtocolVersion is used when a message is received without protocol version.
ErrUnsupportedProtocolVersion is used when a message is received with an unsupported protocol version.

# Structs

MockHashSource is a mock of HashSource interface.
MockHashSourceMockRecorder is the mock recorder for MockHashSource.
MockPeerHashQueue is a mock of PeerHashQueue interface.
MockPeerHashQueueMockRecorder is the mock recorder for MockPeerHashQueue.
MockProtocol is a mock of Protocol interface.
MockProtocolMockRecorder is the mock recorder for MockProtocol.
PeerHash describes a hash we received from a peer.

# Interfaces

HashSource is an SPI (Service Provider Interface) defined by the Protocol layer which is used by Protocol.
PeerHashQueue is a queue which contains the hashes adverted by our peers.
Protocol defines the API for the protocol layer, which is a high-level interface to interact with the network.