daml/ledger-api
Robert Autenrieth 79e7ca0627
Implement new command deduplication (#4467)
* Add TTL field to protobuf

* Add command deduplication to index service

* Wire command deduplication to DAO

* Implement in-memory command deduplication

* Remove Deduplicator

* Implement JDBC command deduplication

* Add TTL field to domain commands

* Deduplicate commands in the submission service

CHANGELOG_BEGIN
- [Sandbox] Implement a new command submission deduplication mechanism
  based on a time-to-live (TTL) for commands.
  See https://github.com/digital-asset/daml/issues/4193
CHANGELOG_END

* Remove unused command service parameter

* fixup protobuf

* Add configuration for TTL

* Fix Haskell bindings

* Rename SQL table

* Add command deduplication test

* Redesign command deduplication queries

* Address review comment

* Address review comment

* Address review comments

* Make command deduplication test optional

* Disable more tests

* Address review comments

* Address review comments

* Refine test

* Address review comments

* scalafmt

* Truncate new table on reset

* Store original command result

* Rename table columns

... to be consistent with other upcoming tables

* Rename migrations to solve conflicts

Fixes #4193.
2020-02-26 12:00:02 +01:00
..
grpc-definitions Implement new command deduplication (#4467) 2020-02-26 12:00:02 +01:00
perf-testing update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
rs-grpc-akka Create actors in AkkaExecutionSequencerPool as system actors (#4278) 2020-01-30 12:51:17 +01:00
rs-grpc-bridge update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
rs-grpc-testing-utils update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
sample-service Remove unused dependencies to da_scala_library (#3938) 2020-01-06 18:14:21 +01:00
scripts open-sourcing daml 2019-04-04 09:33:38 +01:00
testing-utils sandbox: Move more resource acquisition into the owner. (#4501) 2020-02-14 13:52:45 +00:00
.gitignore open-sourcing daml 2019-04-04 09:33:38 +01:00
.sbtopts open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.bazel update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
README.md correct broken ledger-api-introduction links (#1565) 2019-06-07 15:18:21 -04:00

Ledger-API

This is the API code for the ledger, which contains:

  • gRPC API definitions
  • Generated Scala bindings
  • gRPC-RS bridge
  • gRPC-Akka bridge
  • Server API classes with validation
  • Prototype Server
  • Prototype Clients
    • Scala
    • Python
    • Node.js
  • Integration tests for all of the above

Documentation

The Ledger API Introduction contains introductory material as well as links to the protodocs reference documentation.

See the docs README for more about how to preview and publish documentation.