public static interface ParticipantPruningServiceOuterClass.PruneRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getPruneAllDivulgedContracts()
Prune all immediately and retroactively divulged contracts created before `prune_up_to`
independent of whether they were archived before `prune_up_to`.
|
java.lang.String |
getPruneUpTo()
Inclusive offset up to which the ledger is to be pruned.
|
com.google.protobuf.ByteString |
getPruneUpToBytes()
Inclusive offset up to which the ledger is to be pruned.
|
java.lang.String |
getSubmissionId()
Unique submission identifier.
|
com.google.protobuf.ByteString |
getSubmissionIdBytes()
Unique submission identifier.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getPruneUpTo()
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];
com.google.protobuf.ByteString getPruneUpToBytes()
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];
java.lang.String getSubmissionId()
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];
com.google.protobuf.ByteString getSubmissionIdBytes()
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];
boolean getPruneAllDivulgedContracts()
Prune all immediately and retroactively divulged contracts created before `prune_up_to` independent of whether they were archived before `prune_up_to`. Useful to avoid leaking storage on participant nodes that can see a divulged contract but not its archival. Application developers SHOULD write their Daml applications such that they do not rely on divulged contracts; i.e., no warnings from using divulged contracts as inputs to transactions are emitted. Participant node operators SHOULD set the `prune_all_divulged_contracts` flag to avoid leaking storage due to accumulating unarchived divulged contracts PROVIDED that: 1. no application using this participant node relies on divulgence OR 2. divulged contracts on which applications rely have been re-divulged after the `prune_up_to` offset.
bool prune_all_divulged_contracts = 3 [json_name = "pruneAllDivulgedContracts"];