celestiaorg / celestiaorg/celestia-node

docs: document header validation process

Open
#2,217 0 comments 1 reaction 1 assignee Claimed by @Wondertan View on GitHub
documentation
Dominant language
Go
Stars
996
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
34

Description

At a high level, we have validation and verification.
* [Validation](https://github.com/celestiaorg/celestia-node/blob/main/header/header.go#L112) checks the integrity of all the fields in the deserialized header. Essentially comparing correspondence between RawHeader, Commit, and ValidatorSet fields.
* [Verification](https://github.com/celestiaorg/celestia-node/blob/main/header/verify.go#L14) involves header verification against each other via commitment signature verification of validator set

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.