Go Header contains all services related to generating, requesting, syncing and storing Headers.
There are 4 main components in the header package:
- p2p.Subscriber listens for new Headers from the P2P network (via the HeaderSub)
- p2p.Exchange request Headers from other nodes
- Syncer manages syncing of historical and new Headers from the P2P network
- Store manages storing Headers and making them available for access by other dependent services.
- Go Header
- Table of Contents
- Minimum requirements
- Installation
- Package-specific documentation
- Code of Conduct
Requirement | Notes |
---|---|
Go version | 1.20 or higher |
go get -u https://github.com/celestiaorg/go-header.git
For more information, go visit our docs at https://pkg.go.dev/github.com/celestiaorg/go-header.
See our Code of Conduct here.