package
0.6.2
Repository: https://github.com/celestiaorg/go-header.git
Documentation: pkg.go.dev

# Functions

DefaultParameters returns the default params to configure the syncer.
NewSyncer creates a new instance of Syncer.
WithBlockTime is a functional option that configures the `blockTime` parameter.
WithMetrics enables Metrics on Syncer.
WithParams is a functional option that overrides Parameters.
WithRecencyThreshold is a functional option that configures the `recencyThreshold` parameter.
WithTrustingPeriod is a functional option that configures the `TrustingPeriod` parameter.

# Structs

Parameters is the set of parameters that must be configured for the syncer.
State collects all the information about a sync.
Syncer implements efficient synchronization for headers.

# Type aliases

Option is the functional option that is applied to the Syner instance to configure its parameters.