Overview of sprint 80 & sprint 81
Current workstream
We decided to hold some PRs in favour of some others to simplify the merging process. Here's a dependency graph for PRs on which we're working on. The Extensible Ouroboros Network Diffusion Stack PR was the largest in our queue.
Fixes which made into the on-going cardano-node-10.2.1
- We fixed the peer-sharing application to only use the negotiated
peerSharing
flag in theNodeToNodeVersionData
; see ouroboros-network#5061. - We modified
IOError
exception handling: ouroboros-network#5076.
Previously, we introduced a new IOError
handling policy due to a discussion with
an SPO to make some scenarios easier to debug. After testing it (the changes
never made it into a release), it turned out this could lead to attacks on the
system. Thus, we advocate for better monitoring of nodes (e.g. if resources
like file descriptors memory are available, the node is making progress)
rather than rely on cardano-node
to be up and running.
New mux strategy for starting mini-protocols
Karl Knutsson (CF) implemented a new strategy for starting
mini-protocols, StartOnDemandAny
. A mini-protocol which is using this
strategy will be started as soon as any StartOnDemand
(or StartOnDemandAny
)
mini-protocol receives input from the network. We will use this starting
strategy for the keep-alive
mini-protocol.
Local-TX-Monitor protocol changes
A new query was added, which allows the retrieval of all measures/dimensions of the mempool capacity, e.g. byte-size capacity, ledger's execution units for both memory and execution steps, and reference scripts size. See ouroboros-network#4918.
Network Specification Updates
We made language improvements in the network specification, see ouroboros-network#5044; and some smaller changes/fixes ouroboros-network#5053.