daml/ledger/ledger-on-sql
Robert Autenrieth 355352f2d1
DPP-650 Remove the mutating schema (#11211)
* Remove the mutating schema

changelog_begin
- [Participant] All participants now use the new append-only schema. Existing databases will
  automatically upgrade to the new schema the first time a participant/ledger is started.
changelog_end

* Fix post-commit validation test

* Remove append-only flags from CI

* Don't crash when using deprecated flag

* Increase timeout for reset service tests

* Fix typos in parameter names

* Restore removed test

* Restore removed CLI check

* Improve CLI parameter description
2021-10-21 14:40:35 +02:00
..
src kvutils: Rename VersionedOffset to KVOffset. (#11286) 2021-10-19 09:34:19 +00:00
BUILD.bazel DPP-650 Remove the mutating schema (#11211) 2021-10-21 14:40:35 +02:00
hash-migrations.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
README.md ledger-on-sql: Use random log entry ID allocation so we don't depend on SeedService. [KVL-1002] (#10255) 2021-07-13 17:10:30 +00:00

Ledger on SQL

This is an implementation of a ledger using kvutils on top of an SQL database. Currently, it can be run on top of H2, PostgreSQL, or SQLite.

The code under src/main implements the logic, using kvutils. This code is production-ready and used by Sandbox.

The code under src/app is a trivial application front-end to the ledger that spins it up, along with a Ledger API Server. This is not intended to be used in production, and is currently only used in testing.