IntersectMBO / IntersectMBO/ouroboros-network

Write test checking whether effective peer targets are consistent with demanded ones

Open
#4,911 0 comments 0 reactions 0 assignees View on GitHub
churn testing
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

Churn and peer selection governors work together to establish the right peer targets for the node. This interplay is nuanced, considering that in Genesis consensus mode, there are two static targets bases to choose from, reflecting whether the node is caught up or still syncing. Churn has to pick the correct basis to modify and send to peer selection governor via a TVar, and OG has to make sure that it picks up these values from the TVar when churning is actively working, or whether to pick one of the targets bases when ledger state judgement changes. So the goal is to not lose information that churn provides, as well as to know when _not_ to use targets from churn in case they are out-of-date.

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.