IntersectMBO / IntersectMBO/ouroboros-network
Change readFetchMode API
Open
- Dominant language
- Haskell
- Stars
- 296
- Forks
- 104
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 4
Description
Quoting from https://github.com/input-output-hk/ouroboros-network/issues/2028:
> The API isn't quite right, consensus shouldn't be making the decision here. We can give the network layer the right information, i.e., how many slots we're behind, to base their decision on.
For example:
```haskell
readSlotsBehind :: STM m Word64
-- The number of slots the current chain is behind the current slot
```
Contributor guide
Assessment
This issue has not been assessed yet.