# Functions
New returns a new ChainSync object.
NewClient returns a new ChainSync client object.
NewConfig returns a new ChainSync config object with the provided options.
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgFromCbor parses a ChainSync message from CBOR.
NewMsgFromCborNtC parses a NtC ChainSync message from CBOR.
NewMsgFromCborNtN parses a NtC ChainSync message from CBOR.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgRollForwardNtC returns a MsgRollForwardNtC with the provided parameters.
NewMsgRollForwardNtN returns a MsgRollForwardNtN with the provided parameters.
NewServer returns a new ChainSync server object.
NewWrappedBlock returns a new WrappedBlock.
NewWrappedHeader returns a new WrappedHeader.
WithBlockTimeout specifies the timeout for block fetch operations.
WithFindIntersectFunc specifies the FindIntersect callback function.
WithIntersectTimeout specifies the timeout for intersect operations.
WithPipelineLimit specifies the maximum number of block requests to pipeline.
WithRequestNextFunc specifies the RequestNext callback function.
WithRollBackwardFunc specifies the RollBackward callback function.
WithRollForwardFunc specifies the RollForward callback function.
# Constants
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Protocol identifiers.
Protocol identifiers.
Protocol identifiers.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ChainSync protocol state machine.
StopChainSync is used as a special return value from a RollForward or RollBackward handler function to signify that the sync process should be stopped.
# Structs
Callback context.
ChainSync is a wrapper object that holds the client and server instances.
Client implements the ChainSync client.
Config is used to configure the ChainSync protocol instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgRollForwardNtC is the NtC version of the RollForward message.
MsgRollForwardNtN is the NtN version of the RollForward message.
Server implements the ChainSync server.
No description provided by the author
No description provided by the author
WrappedBlock represents a block returned via a NtC RollForward message.
WrappedHeader represents a block header returned via NtN RollForward message.
# Type aliases
ChainSyncOptionFunc represents a function used to modify the ChainSync protocol config.
No description provided by the author
No description provided by the author
Callback function types.
No description provided by the author