From 472519fa4021bd7ab651ae00127c421d086bd991 Mon Sep 17 00:00:00 2001 From: Armando Santos Date: Tue, 19 Dec 2023 13:01:34 +0000 Subject: [PATCH] Update Changelogs --- ouroboros-network-api/CHANGELOG.md | 14 ++++++++-- ouroboros-network-framework/CHANGELOG.md | 2 ++ ouroboros-network-testing/CHANGELOG.md | 3 +++ ouroboros-network/CHANGELOG.md | 34 ++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) diff --git a/ouroboros-network-api/CHANGELOG.md b/ouroboros-network-api/CHANGELOG.md index a3a5edbbd7a..830e44dac12 100644 --- a/ouroboros-network-api/CHANGELOG.md +++ b/ouroboros-network-api/CHANGELOG.md @@ -4,6 +4,17 @@ ### Breaking changes +* Changed `LedgerConsensusInterface` type: + `LedgerConsensusInterface` now has to fill 3 STM actions: + * `lpGetLatestSlot :: STM m SlotNo` + * `lpGetLedgerStateJudgment :: STM m LedgerStateJudgement` + * `lpGetLedgerPeers :: STM m [(PoolStake, NonEmpty RelayAccessPoint)]` + +* Added `PeerTrustable` flag +* Added `UseBootstrapPeers`, this data type is now a flag + to enable/disable bootstrap peers usage. +* Added `UseLedgerPeers` flag with an indirection layer to `UseLedgerAfter` + ### Non-breaking changes ## 0.6.3.0 -- 2024-01-22 @@ -27,7 +38,7 @@ * Fixed handshake codec: disabled `PeerSharing` for `node-to-node` versions 11 and 12. * Disable `PeerSharing` with `InitiatorOnly` nodes, since they do not run peer sharing server side and can not reply to requests. -- Fixed `Acceptable` instance of `NodeToNodeVersionData` to only negotiate +* Fixed `Acceptable` instance of `NodeToNodeVersionData` to only negotiate `PeerSharing` if diffusion mode is `InitiatorAndResponder` * ghc-9.8 support. @@ -54,7 +65,6 @@ * Restructured `decodeTerm` to prevent an impossible case and eliminate the associated `error`. - ## 0.5.1.1 -- 2023-10-26 ### Non-breaking changes diff --git a/ouroboros-network-framework/CHANGELOG.md b/ouroboros-network-framework/CHANGELOG.md index 8e832eab132..d10cc70e920 100644 --- a/ouroboros-network-framework/CHANGELOG.md +++ b/ouroboros-network-framework/CHANGELOG.md @@ -6,6 +6,8 @@ ### Non-breaking changes +* Fixed correct transition tracing in the case of self connect + ## 0.11.0.0 -- 2024-01-22 ### Breaking changes diff --git a/ouroboros-network-testing/CHANGELOG.md b/ouroboros-network-testing/CHANGELOG.md index c79a77d8ad8..fd44dbeb2c7 100644 --- a/ouroboros-network-testing/CHANGELOG.md +++ b/ouroboros-network-testing/CHANGELOG.md @@ -4,6 +4,9 @@ ### Breaking changes +* Fixed Script strict API functions. Now functions with an apostrophe `'` are + properly strict variants of the non-apostrophe functions. + ### Non-breaking changes ## 0.5.0.0 -- 2024-01-22 diff --git a/ouroboros-network/CHANGELOG.md b/ouroboros-network/CHANGELOG.md index 699e0d1c761..24c94bea8fa 100644 --- a/ouroboros-network/CHANGELOG.md +++ b/ouroboros-network/CHANGELOG.md @@ -4,8 +4,42 @@ ### Breaking changes +* Moved `LedgerConsensusInterface` type to `ouroboros-network-api`. +* Preserved `PeerAdvertise` information when connecting to peers. +* Added `daReadUseBootstrapPeers` to `ArgumentsExtra`. + +* Added `PeerTrustable` to Local Root Peers + +* Added new trace constructors for `TracePeerSelection` +* Updated type of constructor in `TraceLedgerPeers` +* Updated type of constructor in `TraceLocalRootPeers` + ### Non-breaking changes +* Created `PublicRootPeers` and adds `BootstrapPeers` and big ledger peers to + `PublicRootPeers` abstraction. + +* Adjusted `PeerSelectionActions` `requestPublicRootPeers` function to + provide either only ledger peers or bootstrap peers according to the + current ledger state. The same for `requestBigLedgerPeers`. + +* Added `readLedgerStateJudgement` to `PeerSelectionActions` +* Added `ledgerStateJudgement` to `PeerSelectionState` +* Added `bootstrapPeersFlag` to `PeerSelectionState` +* Added `hasOnlyBootstrapPeers` to `PeerSelectionState` + +* Simplified `KnownPeerInfo` by removing `IsLedgerPeer`, `PeerTrustable` and + `IsBootstrapPeer` + +* Preserved `PeerAdvertise` information when connecting to peers. + +* Added new monitoring tasks to monitor the bootstrap peers flag, the ledger + state judgement value and act accordingly (`monitorBootstrapPeersFlag`, + `monitorLedgerStateJudgement` and `waitForOnlyBootstrapPeers`) . + +* Updated other monitoring tasks to consider a possible sensitive state that + involves the bootstrap peers flag and the ledger state judgement value. + ## 0.11.0.0 -- 2023-01-22 ### Breaking changes