Skip to content

Commit

Permalink
feat: Store improvements (#88)
Browse files Browse the repository at this point in the history
* feat: Store improvements

* Return `EmptyStore` error on empty store.
* Optimize failure on appending already known header.
* Remove custom genesis height. Now genesis is always height 1.
* Rename `*_unverified` methods to `*_unchecked`.
* Implement `append_single` and `append`.

* remove `StoreError::EmptyStore` and use `StoreError::NotFound` instead
  • Loading branch information
oblique authored Oct 2, 2023
1 parent 4620849 commit d10a1b5
Showing 1 changed file with 129 additions and 100 deletions.
Loading

0 comments on commit d10a1b5

Please sign in to comment.