IntersectMBO / IntersectMBO/ouroboros-network

Change readFetchMode API

Open
#2,257 0 comments 0 reactions 1 assignee Claimed by @coot View on GitHub
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

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.