Skip to main content

56 posts tagged with "consensus"

View All Tags

· One min read
Damian Nadales

High level summary

  • Reworked the argument for the different databases used in Consensus, in preparation for UTxO-HD (#1059).
  • Helped review the first Peras Innovation draft report.
  • Continued working on VRF restriction based on slot distance. The corresponding PR (#1047) went through its first round of reviews.
  • Provided support to the Networking team to review their work on querying big ledger peers (#1067).
  • Continued working on open-sourcing fs-api and fs-sim.
  • Performed other minor refactorings in the codebase (#1073 and #1070).

· One min read
Damian Nadales

High level summary

  • Implemented the new diffusion pipelining criterion.
  • Presented, reviewed and merged the March milestone for Genesis.
  • Integrated latest changes into Node version 8.10.
  • Regarding the UTXO-HD feature we:
    • Completed fixes in test-suites from cardano-node, cardano-api, and ouroboros-consensus. All tests are passing in latest prototype.
    • Prepared UTXO-HD prototype for LMDB benchmarking.
    • Fixed tracing in cardano-node.
    • Started merging code from the UTXO-HD branch into main (1053, 1052, and 1054).
  • We're currently working on getting rid of NoThunks errors in Consensus, so that we can enable these tests in CI, for extra assurance.

· One min read
Damian Nadales

High level summary

  • Made the LocalTxMonitor HasTx cross-era behavior less surprising.
  • Finalized the tests in ouroboros-consensus for the UTXO-HD branch, except the mempool-parallel test which is still failing sometimes.
  • Fixed an upstream complication in quickcheck-state-machine related to Parallel state machines which should allow us for an easier and more understandable setup of the parallel mempool tests.
  • Drafted parallel state machine testing infrastructure for quickcheck-dynamic. Eventually could be used to replace the QSM infra for mempool parallel tests.
  • Cleaned up the Cardano.API.LedgerState module, required for UTXO-HD integration.
  • We have been working on Node release 8.10. The changes upstream are integrated all the way to Node. Tests and benchmarks are pending. The versions of Consensus, Ledger, and Networking are released, and we will focus next on releasing CLI, API, and finally Node.

· One min read
Damian Nadales

High level summary

  • Merged the alternative fs-api interface for I/O using user-supplied buffers. This feature is important because it defines lower-level primitives for the filesystem API, which opens op avenues for more use cases and more efficient I/O operations (for instance when implementing lsm-tree, which is part of our efforts to move the ledger state to disk). This feature has not been released yet.
  • Implemented new diffusion pipelining criterion .
  • Released Consensus packages containing backports for Node 8.9.1.
  • Focused on fixing the tests for ouroboros-consensus in the UTXO-HD branch. Work is ongoing.

· One min read
Damian Nadales

High level summary

  • Completed the rebase of the production libraries for UTXO-HD on 8.9, both in ouroboros-consensus, cardano-api and cardano-node.
  • Measured sync and replay times and memory in UTXO-HD. The latest result are reported here.
  • Bugfixed the snapshot interval.
  • Added an extra case to isIncorrectClaimedFlag for Babbage and Conway eras.
  • Added a db-analyser analysis to get the UTXO size per slot. The result of the analysis is illustrated here.
  • Started integration work for Node release 8.10.
  • Reviewed the Genesis pull-requests submitted by Tweag. They are pending a final round of review.
  • Helped the current release engineer prepare the 8.9 release candidate.
  • The Consensus Team has also been helping troubleshoot known issues with 8.9 (eg snapshots causing missed leadership schedules, unexpected snapshot interval, integration tests, etc).