Skip to content

Go library with all the services needed to request, sync and store blockchain headers.

License

Notifications You must be signed in to change notification settings

celestiaorg/go-header

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fde876f · Jan 23, 2025
Apr 3, 2024
Oct 22, 2024
Oct 9, 2023
Jan 23, 2025
Sep 25, 2023
May 27, 2024
Oct 22, 2024
Mar 27, 2023
Mar 25, 2023
Mar 21, 2023
Aug 24, 2023
Mar 21, 2023
Jul 5, 2023
Jan 19, 2023
May 27, 2024
May 27, 2024
Jan 19, 2023
Aug 25, 2023
May 23, 2024
Sep 22, 2023
Oct 22, 2024

Repository files navigation

Go Header

Go Reference GitHub release (latest by date including pre-releases) Go Report Card codecov

Go Header contains all services related to generating, requesting, syncing and storing Headers.

There are 4 main components in the header package:

  1. p2p.Subscriber listens for new Headers from the P2P network (via the HeaderSub)
  2. p2p.Exchange request Headers from other nodes
  3. Syncer manages syncing of historical and new Headers from the P2P network
  4. Store manages storing Headers and making them available for access by other dependent services.

Table of Contents

Minimum requirements

Requirement Notes
Go version 1.20 or higher

Installation

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.

Package-specific documentation

Code of Conduct

See our Code of Conduct here.