Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is responsible for requesting EDSs for blocksync over the ShrEx/EDS protocol.
type Parameters ¶
type Parameters struct { *p2p.Parameters // BufferSize defines the size of the buffer used for writing an ODS over the stream. BufferSize uint64 }
Parameters is the set of parameters that must be configured for the shrex/eds protocol.
func DefaultParameters ¶
func DefaultParameters() *Parameters
func (*Parameters) Validate ¶
func (p *Parameters) Validate() error
Click to show internal directories.
Click to hide internal directories.