Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chain): add
query
and query_multi
methods to CheckPoint
These methods allow us to query for checkpoints contained within the linked list by height. This is useful to determine checkpoints to fetch for chain sources without having to refer back to the `LocalChain`. Currently this is not implemented efficiently, but in the future, we will change `CheckPoint` to use a skip list structure.
- Loading branch information