celestiaorg / celestiaorg/celestia-node
docs: document header validation process
Open
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
Assessment
This issue has not been assessed yet.