Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBlockBatchSize ¶
WithBlockBatchSize allows to set the size of the block batch returned as part of epoch blocks response.
Types ¶
type LoadBlockFunc ¶
LoadBlockFunc defines a function that returns the block for the given id.
type Manager ¶
The Manager handles the connected neighbors.
func NewManager ¶
func NewManager(p2pManager *p2p.Manager, blockLoaderFunc LoadBlockFunc, blockProcessorFunc ProcessBlockFunc, log *logger.Logger, opts ...options.Option[Manager]) *Manager
NewManager creates a new Manager.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.