-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the pre-Genesis State Machine for bootstrap peers (#808)
The Genesis SoW will deliver a proper GSM. In the interim, this PR defines a GSM that is suitable for use with the bootstrap-peers intermediate solution (see IntersectMBO/ouroboros-network#4555). The relevant high-level specification is rendered here https://ouroboros-consensus.cardano.intersectmbo.org/docs/for-developers/BootstrapPeersIER
- Loading branch information
Showing
23 changed files
with
2,175 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...os-consensus-diffusion/changelog.d/20240220_122811_nick.frisby_bootstrap_gsm.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!-- | ||
A new scriv changelog fragment. | ||
Uncomment the section that is right (remove the HTML comment wrapper). | ||
--> | ||
|
||
<!-- | ||
### Patch | ||
- A bullet item for the Patch category. | ||
--> | ||
|
||
### Non-Breaking | ||
|
||
- Added `getImmTipSlot` to `NodeKernel` exports. | ||
|
||
### Breaking | ||
|
||
- Added the Genesis State Machine (GSM), though for now it is merely the | ||
simpler [Bootstrap Peers State | ||
Machine](https://ouroboros-consensus.cardano.intersectmbo.org/docs/for-developers/BootstrapPeersIER). | ||
|
||
- Added `rnGetUseBootstrapPeers` to `RunNodeArgs`, for dynamically | ||
enabling/disabling the GSM. The proper GSM must always be running, despite | ||
the TVar it owns being ignored when it's disabled, since it may be enabled at | ||
any time. | ||
|
||
- Added `llrnMaxCaughtUpAge` to the low-level args; defaults to 20min. | ||
|
||
- Added `gsmTracer` to the node's tracers. | ||
|
||
- Added `getNodeIdlers` to the `NodeKernel` interface; tracking peers that have | ||
last sent `MsgAwaitReply`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.