mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
ce70ad4a2f
* Add package_entries table * Change PublicPackageUpload event to cover list of packages. Add PublicPackageUploadRejected. * Produce new package update events in KeyValueConsumption * Update signature of uploadPackages * Cleanup InMemoryKVParticipantState. Add submissionId to uploadPackages. * Fix up InMemoryKVParticipantStateIT * Initial ledger dao changes for package entries Drop the participant_id as we never expect to see entries of other participants. This should be done for party_entries as well. * Drop UploadPackagesResult * Implement getPackageEntries and refactor callers * Add maxRecordTime to uploadPackages * First cut at updating ApiPackageManagementService * Update tests, wire through the packageEntries * Don't extend IndexPackagesService in InMemoryPackageStore It does not implement the full interface and it isn't used directly as one anyway. * Drop maximum_record_time from package_management_service Adding maximum record times touches the whole stack. Leaving this change to another PR. * Wire through the removal of maximum_record_time. And remove dead code from InMemoryKVParticipantState * Remove checking for duplicate package uploads This aligns with the behaviour of WriteService. * Reformat * Fix PackageManagementService after adding of submission_id to the service |
||
---|---|---|
.. | ||
grpc-definitions | ||
perf-testing | ||
rs-grpc-akka | ||
rs-grpc-bridge | ||
rs-grpc-testing-utils | ||
sample-service | ||
scripts | ||
testing-utils | ||
.gitignore | ||
.sbtopts | ||
BUILD.bazel | ||
README.md |
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.