Skip to main content

· 2 min read
Marcin Szamotulski

Overview of sprint 77

Initiator only mode for local roots

We implemented the initiator-only mode for local roots peers described in ouroboros-network#5020. This feature will be available in cardano-node-10.3 (cardano-node#6055).

One will be able to specify diffusionMode (either InitiatorOnly or IntiatorAndRespoinder, the latter is the default) for all local roots in a given local roots group, e.g.

{ "localRoots":
[ { "accessPoints":
[ { "address": "10.0.0.1"
, "port": 3001
}
]
, "advertise": false
, "diffusionMode": "InitiatorOnly"
, "warmValency": 1
, "hotValency": 1
}
, { "accessPoints":
[ { "address": "10.0.0.2"
, "port": 3001
}
]
, "advertise": true
, "diffusionMode": "InititiatorAndResponder"
, "warmValency": 1
, "hotValency": 1
}
]
, "publicRoots": []
, "useLedgerAfterSlot": -1
}

As part of ouroboros-network#5020 we had to change how connections are identified in the simulated testnet environment. We exposed ConnStateIdSupply through P2P interfaces, which allows us to use a global ConnStateIdSupply for all nodes in the simulation. This way, ConnStateId is unique for each connection in the simulation. See ouroboros-network#5026.

Support systems with multiple IP addresses

We merged ouroboros-network#5017 which allows to run cardano-node on systems with multiple network interfaces or a single interface with multiple IP addresses.

Reusable diffusion

We were working on early integration of reusable diffusion work stream with ouroboros-consensus & cardano-node. Reusable diffusion will allow us to support both cardano-node and mithril-node in the future. We are pleased to say that we are running a cardano-node that uses refactored diffusion. See:

Tx-Submission Logic

We had a discussion with the consensus team (Karl Knutsson CF, Nick Frisby Tweag) on network requirements for tx-mempool. See:

SRV record support

We continued working on the SRV support, see:

Technical Debt

We renamed some of the test modules to be more consistent across various network components, see ouroboros-network#5028.

· 2 min read
John Lotoski

High level summary

The SRE team continues work on Cardano environment improvements and general maintenance.

Some notable recent changes, updates or improvements include:

  • Nixpkgs has been updated to 24.11 across all environments

  • Nix has been updated to 2.25.3 across all environments

  • TCP tuning was applied on one relay per pool group across all environments to minimize round-tripping across long distances.

  • This is the last SRE update for 2024. Hello 2025!

Repository Work

Cardano-parts

  • Nixpkgs has been updated to 24.11 and nix to 2.25.3. NixosModules and template just recipes with breaking changes from those updates were fixed. A nix jobs GHA CI test was added to verify environment spin up procedure. Template scripts were updated for compatibility with latest cardano-node protocol version and recent cardano-cli breaking changes. More details are available in the release notes: cardano-parts-release-v2024-12-19

Cardano-playground

  • Nixpkgs has been updated to 24.11 and nix to 2.25.3 and all machines deployed along with breaking changes fixes. A fund-transfer recipe was added along with other miscellaneous improvements. More detail is available in the PR description: cardano-playground-pull-38

Cardano-mainnet

  • Nixpkgs has been updated to 24.11 and nix to 2.25.3 and all machines deployed along with breaking changes fixes. Bootstrap scaling servers were disabled and block producer auto scheduled restarts were stopped. TCP transmission optimization for long distances was applied to one relay per pool group. More detail is available in the PR description: cardano-mainnet-pull-28

Iohk-nix

· 2 min read
Jordan Millar

2024-12-04T00:00:00Z - 2024-12-18T00:00:00Z

High level summary

Feature Enhancements

  • New Query Command: Implemented the "query proposals" command to provide users with easy access to proposal information in the Conway era
  • Enhanced Transaction Modification: Added comprehensive transaction modification capabilities with new modX functions for various fields of TxBodyContent up to the Babbage era

Code Quality Improvements

  • Better Code Structure: Moved Byron-specific code to its own file, making the codebase more maintainable
  • Query Implementation Simplification: Reduced code complexity in Query.hs
  • Documentation Improvements: Added explanatory comments for configurations like why drepDelegs can be left empty in testnet data

Documentation and Governance

  • OSC Alignment: Updated documentation to align with the Open Source Committee governance policies

cardano-cli

cardano-api

cardano-node

  • None

cardano-testnet

  • None

docs

CI & project maintenance

  • None

· One min read
Noon van der Silk

High-level summary

Entering into December, with some colleagues on holidays, we are finalising our outstanding work, and continuing to support the Hydra Doom tournament. We remain focused on finishing incremental commits, and getting multiple-version support into the explorer.

What did the team achieve?

  • Final reviews on incremental commits #199
  • Make it easier to publish docker images for branches #1756
  • Progress on custom ledger experiment #1742
  • Progress on Hydra explorer supporting multiple versions #1282

What's next?

  • Merge incremental commits #199
  • Hydra explorer supporting multiple versions #1282
  • Finish custom ledger experiment #1742
  • Plan the 0.20.0 release
  • Continue support Hydra Doom

· One min read
Damian Nadales

High level summary

  • Well-Typed held a new lsm-trees milestone presentation, where they showed the progress in two important features:
    • Snapshots (for persisting ledger snapshots)
    • Table union (for storing more parts of the ledger state on disk)
  • Finished the UTXO-HD code review work. Since this feature could have a performance impact, we need to run a new set of system-level benchmarks before we can merge it. The next steps are detailed in this comment.
  • Submitted a request to the Technical Steering Committee on how the node should handle low apparent participation.
  • Added support for computing and checking CRCs of ledger state snapshots, which increases robustness when loading this data from disk (#1319).