celestiaorg / celestiaorg/celestia-node

das: `DASer` should not iterate (fetch) headers of heights that can be skipped

Open
#3,419 2 comments 2 reactions 0 assignees View on GitHub
architecture area:das good first issue
Dominant language
Go
Stars
996
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
34

Description

Currently, DASer iterates over (loads) all headers (even those that are outdated) when samples the chain. The DASer should be able to know the height of the "tail" height (oldest header in the chain that needs to be sampled currently) and request that instead of having to request every single header and check its timestamp to see if it's outdated as that's inefficient.

This is tech debt left remaining from the initial implementation of `samplingWindow` inside of the DASer.

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.