Network Team Update
Overview of sprint 114.
Summary
Leios
The TxSubmission v2 demo was merged, providing an end-to-end
demonstration of TxSubmission V2. A benchmark study of incremental
vs. non-incremental CBOR block decoding shows that decoding blocks
incrementally yields modest improvements for standard Praos blocks, and larger
gains for multi-megabyte blocks — directly relevant to Leios where block sizes
may grow substantially. Cardano-base was bumped to include support
for Leios voting. A simple TCP congestion-window model was
added to the Leios Rust simulator (sim-rs), porting the model from the
Haskell simulator; mini-protocol multiplexing remains a gap to be addressed.
An alternative TxSubmission V2 design without a central decision thread
is under review, superseding the earlier exploration.
Ouroboros-Network
bracketFetchClient and bracketKeepAlive were decoupled by
splitting FetchClientRegistry into KeepAliveRegistry and
FetchClientRegistry — a prerequisite for DMQ-Node integration.
Contra-tracer was upgraded to 0.2.1, unblocking the removal of
iohk-monitoring-framework from cardano-node 11.1. The peer-selection
governance target was renamed from selectEnvTargets to
selectGovTargets. Various tracing and API improvements
were merged as part of ongoing DMQ-Node integration work. A new protocol
version NodeToClientV_24 for the ValidateTx local-state-query
is under review.
DMQ-Node
Version 0.5.0.0 was released. The announcyness metric for peer
selection was merged: it scores peers by how often they are first to
announce a valid signature, with scores kept for one hour matching the churn
rate. SigId validation was improved: CBOR encoding was corrected to
use Hash Blake2b_256 for the sigId field, and SigExpired failures are now
restricted to the ZeroSetSnapshot case. An ouroboros-network integration
update is in review. Work on connecting the DMQ kernel to
cardano-node continues, blocked on pr#58.
IO-Sim and TypedProtocols
io-sim and typed-protocols repositories were moved to IntersectMBO organisation on GitHub.
Leios
| PR / Issue | Status |
|---|---|
| TxSubmission V2 without a decision thread | in review |
| Block decoder: incremental vs. non-incremental benchmark | in review |
| Bump cardano-base for Leios voting | merged |
| TxSubmission v2 demo | merged |
| simple TCP model for sim-rs | merged |
Ouroboros-Network
| PR / Issue | Status | Notes |
|---|---|---|
Add NodeToClientV_24 for ValidateTx query | in review | |
| cardano-diffusion: label ledger peer usage | in review | contribution by dancewithheart |
| Various changes | merged | |
Renamed selectEnvTargets to selectGovTargets | merged | contribution by dancewithheart |
| Upgrade to contra-tracer 0.2.1 | merged | contribution by f-f |
Decouple bracketFetchClient and bracketKeepAlive | merged | |
| cardano ping implemented with ouroboros-network | blocked |
DMQ-Node
| PR / Issue | Status |
|---|---|
| node kernel cleanup | in progress |
| Updated ouroboros-network version | in review |
| dmq-node-0.5.0.0 pre-release | merged |
| SigId validation | merged |
| Drop support for x86_64-darwin | merged |
| announcyness metric for peer selection | merged |
IOSim
| PR / Issue | Status |
|---|---|
| Repo moved to IntersectMBO | merged |
Typed Protocols
| PR / Issue | Status |
|---|---|
| Repo moved to IntersectMBO | merged |
