Skip to content

Settlement Lab v0.1.0

Choose a tag to compare

@NachoEstevo NachoEstevo released this 19 Nov 21:46

The three participants have 60 SIM units between them and owe 300 around a ring. Use demo selection to see the FIFO policy stop at the first obligation and the multilateral policy settle the ring. A second fixture shows the heuristic selecting 4 units when the optimum is 5.

Download and extract settlement-lab-0.1.0.zip. The bundled launchers need Java 21. From the extracted directory, run ./bin/settlement-lab demo selection on Linux or .\bin\settlement-lab.bat demo selection on Windows.

For the concurrent experiment, run docker compose up -d --wait in that directory and pass pg race cancel-first or pg race settle-first --drop-reply to the launcher. A separate PostgreSQL connection observes the waiting writer before the winner commits. The second command recovers the original receipt after the reply is withheld. The recovery test uses a single PostgreSQL primary and its retained volume.

The attached economic report records eight ticks for each workload, including payments still waiting at the cutoff. Reproduce it with benchmark economic 20261119 32. The real-time capacity benchmark has separate measurements and hardware details. Results and environment

The ZIP is the artifact exercised by the Windows and Linux package jobs. SHA256SUMS covers both downloads. Distribution checks · Settlement checks