You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removal of adjacency requirement in Store
- 1st step: break adjacency requirement in store (where headers are able to be written to disk that aren't adjacent, yet the Head is still the head of the contiguous chain segment)
- 2nd step: track tail of contiguous segment in Store (we already have a Head, but now we need a Tail)
- Tail just means that everything between store.Head and store.Tail is adjacent
The text was updated successfully, but these errors were encountered:
)
## Overview
Things that gonna change after we drop adjacency requirement from
`Store.Append`:
- Obviously dropping `ErrNonAdjacent` (breaking change).
- `Store.Append` comment is **already** outdated (looks like there were
2 return params)
- `store.Store.Append` will not verify for adjacency (obviously)
- `Syncer.setSubjectiveHead` will not verify for `ErrNonAdjacent`
- adjacency check is happening in `sync` instead of `store`.
Fixes#32
Removal of adjacency requirement in Store
- 1st step: break adjacency requirement in store (where headers are able to be written to disk that aren't adjacent, yet the
Head
is still the head of the contiguous chain segment)- 2nd step: track tail of contiguous segment in Store (we already have a Head, but now we need a Tail)
- Tail just means that everything between store.Head and store.Tail is adjacent
The text was updated successfully, but these errors were encountered: