Skip to main content

58 posts tagged with "consensus"

View All Tags

· One min read
Damian Nadales

High level summary

  • Added a snapshot-converter tool, which will be merged soon. This tool converts non-UTXO-HD ledger snapshots, into UTXO-HD ones, so that the user does not have to replay from Genesis when using an UTXO-HD capable node. This patch also solves an issue with deserialization of TxOuts in Conway in the UTxO-HD implementation.
  • Solved a memory leak in the UTxO-HD implementation. This patch will be benchmarked this week.
  • Wrote a test for adding large txs to the mempool.
  • Expanded the Mempool capacity beyond just byte size.
  • @amesgen discovered and advised on a Conway ledger snapshot deserialization bug.

· One min read
Damian Nadales

High level summary

During the past week the team:

  • Incorporated minor improvements to the ChainSync client test (#529).
  • Documented tasks of a caught-up node (#1215), which can be useful for SPOs.
  • Tweag presented the last Genesis SoW to the Consensus team. The next steps are reviews and phased (opt-in) rollout.

Regarding the two problems found during UTXO-HD benchmarks, namely, increase in heap size (#1192) and a newly found race condition (#1193), #1208 fixed the race condition and was merged, however #1194 showed no improvements so it will not be merged yet.

· One min read
Damian Nadales

High level summary

The Consensus team started working on the goals for the third quarter of 2024, which can be found here.

  • Improved behavior of db-truncater (#1203).
  • Exposed more information on EmptySlot error (#1196).
  • Added a trace message when the Consensus database is not clean (#1198).
  • Added support for storing immutable and volatile databases in different paths (#1199).

We're also working on rebasing the UTXO-HD feature branch atop 9.1. The benchmarks of the in-memory showed an increase in heap size (#1192) and exposed a race condition (#1193). There are proposed fixes which will be benchmarked soon:

  • Heap size increase mitigation: #1194.
  • Forkers race condition fix: #1208.

· One min read
Damian Nadales

High level summary

  • Assisted with Node release 9.0:
    • Performed security audits, engaged with other teams, implemented improvements, and released Consensus packages.
  • We are now running additional NoThunks tests, which help us safeguard against memory leaks in the node.
  • Reviewed Milestone 13 of Genesis, which improves the code documentation of Genesis, and implements some fixes and optimizations.

· One min read
Damian Nadales

High level summary

  • Supported debugging activities related to bootstrap nodes.
  • Merged various improvements to the db-X tools; in particular, db-truncater (which is used regularly by community members on sanchonet) got much faster.