- Removed
NodeToNodeV_12
and older as these are unable to cross the hard fork boundary. - Removed
WhetherReceivingTentativeBlocks
used to distinguish whether a node version is pipelining-enabled, used in olderNodeToNodeVersion
- Added NodeToNodeV_14 to identify nodes supporting Chang+1 HF
- bump for bad ref in chap for 0.9.0.0
- Added
NodeToClientV_17
to support new local state queries
LedgerPeersKind
was transplanted here from o-network because this functionality needs to be exposed in support of Genesis work and generation of a big ledger peer snapshot.
-
Transplanted
accBigPoolStake
andreRelativeStake
from ouroboros-networkLedgerPeers
module to expose functionality that facilitates serializing of big ledger peers via LocalStateQuery miniprotocol. -
Introduced
LedgerPeerSnapshot
type for values of big ledger peers obtained from the ledger at a particular volatile tip.- New type supports CBOR & JSON for serialisation purposes.
- Ledger peer snapshot is versioned in case changes need to be made to the encoding format in the future.
-
Added
Measure
andBoundedMeasure
instances forSizeInBytes
. -
Make it build with ghc-9.10
-
Added Monoid and Semigroup instances for
SizeInBytes
- Bump io-sim and io-classes
- Added
ShowProxy SlotNo
instance - Added
AnchoredSeq.splitAtMeasure
- Added
AnchoredFragment.splitAtSlot
- Added
OutboundConnectionsState
data type
- Added
Generic
andNFData
instance derivations forNodeToClientVersion
data type
-
Changed
LedgerConsensusInterface
type:LedgerConsensusInterface
now has to fill 3 STM actions: *lpGetLatestSlot :: STM m (WithOrigin 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 toUseLedgerAfter
- CI requires me to add an entry here even though I merely updated a comment on
NodeToClientV_16
mention newImmutableTip
argument in LocalStateQuery mini protocol
- Refactored
NodeToNodeVersionData
decoder.
- Fixed handshake codec: disabled
PeerSharing
fornode-to-node
versions 11 and 12. - Disable
PeerSharing
withInitiatorOnly
nodes, since they do not run peer sharing server side and can not reply to requests. - Fixed
Acceptable
instance ofNodeToNodeVersionData
to only negotiatePeerSharing
if diffusion mode isInitiatorAndResponder
- ghc-9.8 support.
- Use
io-sim-1.3.0.0
.
- Remove
PeerSharingPrivate
option from thePeerSharing
data type. - Rename
NoPeerSharing
andPeerSharingPublic
toPeerSharingDisabled
andPeerSharingEnabled
, respectively. - Add new
NodeToNodeV_13
that encodes and decodes the updatedPeerSharing
flag data type. - Move remote address codec to 'src/Ouroboros/Network/NodeToNode/Version.hs'.
- Make remote address codec receive 'NodeToNodeVersion'.
- Restructured
decodeTerm
to prevent an impossible case and eliminate the associatederror
.
- Depend on
type-protocols-0.1.1.0
.
- Added
IsBigLedgerPeer
type toOuroboros.Network.PeerSelection.LedgerPeers.Type
.
- Swapped
NodeToClientV_15
withNodeToClientV_16
, e.g. handshake query comes withV_15
and Conway withV_16
. - Swapped
NodeToNodeV_11
withNodeToNodeV_12
, e.g. handshake query moved toV_11
and Conway moved toV_12
.V_11
also comes with handshake support for peer sharing.
Depracated release, use 0.5
instead.
- Added
NodeToNodeV_12
andNodeToClientV_16
which support handshake query. - Added
query
flag toNodeToClientVersionData
andNodeToNodeVersionData
. - Introduced
HandshakeCallbacks
record.
- Added
Querable
type class.
- Removed
encoddedTipSize
andencodedPointSize
. HeaderHash
is kind polymorphic.
- Integration of latest
cardano-ledger
andcardano-base
. - Peer Sharing integration
- New PeerAdvertise data type file
- New PeerSharing data type file
- Remove foldr in favour of toOldestFirst
- Initial release