Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement how Outbound Governor should act in Genesis mode #4813

Closed
coot opened this issue Feb 22, 2024 · 1 comment · Fixed by #4832
Closed

Implement how Outbound Governor should act in Genesis mode #4813

coot opened this issue Feb 22, 2024 · 1 comment · Fixed by #4832
Assignees
Labels
Genesis outbound-governor Issues / PRs related to outbound-governor

Comments

@coot
Copy link
Contributor

coot commented Feb 22, 2024

In Genesis, the outbound governor needs to have two modes of operation depending on the value of LedgerStateJudgement

YoungEnough

When the tip of the chain is close to current slot number we don't need any changes, since Genesis reduces to Praos mode.

TooOld

In TooOld state we need to change targets. Our initial considerations were to have around 30 hot big ledger peers, and we don't need to use any ledger peers. I think we should maintain local connection as specified in the topology file.

In the node we should be able to specify how many warm / hot big ledger peers we want to maintain. I can think of a scenario when an SPO connects to a synced local relay to start a new relay and initially specify that it doesn't need any big ledger peers when syncing, although the problem with such configuration is that it needs to be changed (and hence the node restarted) once the node becomes synced.

It might be necessary to add an option that the diffusion is supposed to run in Genesis mode, but this should be discussed with the consensus team .

@coot coot added Genesis outbound-governor Issues / PRs related to outbound-governor labels Feb 22, 2024
@coot coot changed the title Implement how Outbound Governor should act in genesis mode Implement how Outbound Governor should act in Genesis mode Feb 22, 2024
@crocodile-dentist crocodile-dentist self-assigned this Feb 23, 2024
@crocodile-dentist crocodile-dentist moved this to In Progress in Ouroboros Network Feb 23, 2024
@crocodile-dentist
Copy link
Contributor

What should the targets be for (known, established, active) big ledger peers in genesis mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Genesis outbound-governor Issues / PRs related to outbound-governor
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants