@canton-network/core-ledger-proto 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/README.md +1 -0
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
  3. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
  5. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  7. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
  41. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
  42. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  43. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
  44. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
  45. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  46. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
  47. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
  48. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  49. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
  50. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
  51. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  52. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
  53. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
  54. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  55. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
  56. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
  57. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
  59. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
  60. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  61. package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
  62. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
  63. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  64. package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
  65. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
  66. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
  71. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
  72. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  73. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
  74. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
  75. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  76. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
  77. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
  78. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  79. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
  80. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
  81. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
  83. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
  84. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  88. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
  89. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
  90. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  91. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
  92. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  94. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
  95. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
  96. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  97. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
  98. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
  99. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  100. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
  101. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
  102. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  103. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
  104. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
  105. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  106. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
  107. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
  108. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  109. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
  110. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
  111. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  112. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
  113. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
  114. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  115. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
  116. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
  117. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  118. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
  119. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
  120. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  121. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
  122. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
  123. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  124. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
  125. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
  126. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  127. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
  128. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
  129. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  130. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
  131. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
  132. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  133. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
  134. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
  135. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  136. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
  137. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
  138. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  139. package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
  140. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
  141. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  142. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
  143. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
  144. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  145. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
  146. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
  147. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  148. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
  149. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
  150. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  151. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
  152. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
  153. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  154. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
  155. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
  156. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  160. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
  161. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
  162. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  163. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
  164. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
  165. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  166. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
  167. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
  168. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  175. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
  176. package/dist/_proto/google/protobuf/any.d.ts +177 -0
  177. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  178. package/dist/_proto/google/protobuf/any.js +175 -0
  179. package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
  180. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  181. package/dist/_proto/google/protobuf/descriptor.js +2999 -0
  182. package/dist/_proto/google/protobuf/duration.d.ts +114 -0
  183. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  184. package/dist/_proto/google/protobuf/duration.js +113 -0
  185. package/dist/_proto/google/protobuf/empty.d.ts +33 -0
  186. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  187. package/dist/_proto/google/protobuf/empty.js +41 -0
  188. package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
  189. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  190. package/dist/_proto/google/protobuf/field_mask.js +95 -0
  191. package/dist/_proto/google/protobuf/struct.d.ts +187 -0
  192. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  193. package/dist/_proto/google/protobuf/struct.js +417 -0
  194. package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
  195. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  196. package/dist/_proto/google/protobuf/timestamp.js +157 -0
  197. package/dist/_proto/google/rpc/code.d.ts +219 -0
  198. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  199. package/dist/_proto/google/rpc/code.js +237 -0
  200. package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
  201. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  202. package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
  203. package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
  204. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  205. package/dist/_proto/google/rpc/context/audit_context.js +111 -0
  206. package/dist/_proto/google/rpc/error_details.d.ts +549 -0
  207. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  208. package/dist/_proto/google/rpc/error_details.js +918 -0
  209. package/dist/_proto/google/rpc/status.d.ts +55 -0
  210. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  211. package/dist/_proto/google/rpc/status.js +79 -0
  212. package/dist/_proto/scalapb/scalapb.d.ts +779 -0
  213. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  214. package/dist/_proto/scalapb/scalapb.js +1658 -0
  215. package/dist/index.d.ts +13 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +12 -0
  218. package/package.json +29 -0
@@ -0,0 +1,30 @@
1
+ import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
+ import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
+ import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
+ import type { IBinaryReader } from '@protobuf-ts/runtime';
5
+ import type { PartialMessage } from '@protobuf-ts/runtime';
6
+ import { MessageType } from '@protobuf-ts/runtime';
7
+ /**
8
+ * @generated from protobuf message com.digitalasset.canton.protocol.v30.DynamicSequencingParameters
9
+ */
10
+ export interface DynamicSequencingParameters {
11
+ /**
12
+ * Sequencing dynamic synchronizer parameters can only be interpreted by a sequencer implementation
13
+ * and are opaque to the rest of the synchronizer.
14
+ *
15
+ * @generated from protobuf field: bytes payload = 1
16
+ */
17
+ payload: Uint8Array;
18
+ }
19
+ declare class DynamicSequencingParameters$Type extends MessageType<DynamicSequencingParameters> {
20
+ constructor();
21
+ create(value?: PartialMessage<DynamicSequencingParameters>): DynamicSequencingParameters;
22
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DynamicSequencingParameters): DynamicSequencingParameters;
23
+ internalBinaryWrite(message: DynamicSequencingParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
24
+ }
25
+ /**
26
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSequencingParameters
27
+ */
28
+ export declare const DynamicSequencingParameters: DynamicSequencingParameters$Type;
29
+ export {};
30
+ //# sourceMappingURL=sequencing_parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sequencing_parameters.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;;OAKG;IACH,OAAO,EAAE,UAAU,CAAA;CACtB;AAED,cAAM,gCAAiC,SAAQ,WAAW,CAAC,2BAA2B,CAAC;;IAqBnF,MAAM,CACF,KAAK,CAAC,EAAE,cAAc,CAAC,2BAA2B,CAAC,GACpD,2BAA2B;IAW9B,kBAAkB,CACd,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,EAC1B,MAAM,CAAC,EAAE,2BAA2B,GACrC,2BAA2B;IA4B9B,mBAAmB,CACf,OAAO,EAAE,2BAA2B,EACpC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC5B,aAAa;CAanB;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,kCACE,CAAA"}
@@ -0,0 +1,62 @@
1
+ import { WireType } from '@protobuf-ts/runtime';
2
+ import { UnknownFieldHandler } from '@protobuf-ts/runtime';
3
+ import { reflectionMergePartial } from '@protobuf-ts/runtime';
4
+ import { MessageType } from '@protobuf-ts/runtime';
5
+ // @generated message type with reflection information, may provide speed optimized methods
6
+ class DynamicSequencingParameters$Type extends MessageType {
7
+ constructor() {
8
+ super('com.digitalasset.canton.protocol.v30.DynamicSequencingParameters', [
9
+ {
10
+ no: 1,
11
+ name: 'payload',
12
+ kind: 'scalar',
13
+ T: 12 /*ScalarType.BYTES*/,
14
+ },
15
+ ], {
16
+ 'scalapb.message': {
17
+ companionExtends: [
18
+ 'com.digitalasset.canton.version.StableProtoVersion',
19
+ ],
20
+ },
21
+ });
22
+ }
23
+ create(value) {
24
+ const message = globalThis.Object.create(this.messagePrototype);
25
+ message.payload = new Uint8Array(0);
26
+ if (value !== undefined)
27
+ reflectionMergePartial(this, message, value);
28
+ return message;
29
+ }
30
+ internalBinaryRead(reader, length, options, target) {
31
+ let message = target ?? this.create(), end = reader.pos + length;
32
+ while (reader.pos < end) {
33
+ let [fieldNo, wireType] = reader.tag();
34
+ switch (fieldNo) {
35
+ case /* bytes payload */ 1:
36
+ message.payload = reader.bytes();
37
+ break;
38
+ default:
39
+ let u = options.readUnknownField;
40
+ if (u === 'throw')
41
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
42
+ let d = reader.skip(wireType);
43
+ if (u !== false)
44
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
45
+ }
46
+ }
47
+ return message;
48
+ }
49
+ internalBinaryWrite(message, writer, options) {
50
+ /* bytes payload = 1; */
51
+ if (message.payload.length)
52
+ writer.tag(1, WireType.LengthDelimited).bytes(message.payload);
53
+ let u = options.writeUnknownFields;
54
+ if (u !== false)
55
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
56
+ return writer;
57
+ }
58
+ }
59
+ /**
60
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSequencingParameters
61
+ */
62
+ export const DynamicSequencingParameters = new DynamicSequencingParameters$Type();
@@ -0,0 +1,168 @@
1
+ import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
+ import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
+ import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
+ import type { IBinaryReader } from '@protobuf-ts/runtime';
5
+ import type { PartialMessage } from '@protobuf-ts/runtime';
6
+ import { MessageType } from '@protobuf-ts/runtime';
7
+ import { TrafficControlParameters } from './traffic_control_parameters.js';
8
+ import { Duration } from '../../../../../google/protobuf/duration.js';
9
+ /**
10
+ * catch-up configuration parameters
11
+ *
12
+ * @generated from protobuf message com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig
13
+ */
14
+ export interface AcsCommitmentsCatchUpConfig {
15
+ /**
16
+ * @generated from protobuf field: uint32 catchup_interval_skip = 1
17
+ */
18
+ catchupIntervalSkip: number;
19
+ /**
20
+ * @generated from protobuf field: uint32 nr_intervals_to_trigger_catchup = 2
21
+ */
22
+ nrIntervalsToTriggerCatchup: number;
23
+ }
24
+ /**
25
+ * individual per participant limits
26
+ *
27
+ * @generated from protobuf message com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits
28
+ */
29
+ export interface ParticipantSynchronizerLimits {
30
+ /**
31
+ * @generated from protobuf field: uint32 confirmation_requests_max_rate = 1
32
+ */
33
+ confirmationRequestsMaxRate: number;
34
+ }
35
+ /**
36
+ * @generated from protobuf message com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters
37
+ */
38
+ export interface DynamicSynchronizerParameters {
39
+ /**
40
+ * @generated from protobuf field: google.protobuf.Duration confirmation_response_timeout = 1
41
+ */
42
+ confirmationResponseTimeout?: Duration;
43
+ /**
44
+ * @generated from protobuf field: google.protobuf.Duration mediator_reaction_timeout = 2
45
+ */
46
+ mediatorReactionTimeout?: Duration;
47
+ /**
48
+ * @generated from protobuf field: google.protobuf.Duration assignment_exclusivity_timeout = 3
49
+ */
50
+ assignmentExclusivityTimeout?: Duration;
51
+ /**
52
+ * @generated from protobuf field: google.protobuf.Duration topology_change_delay = 4
53
+ */
54
+ topologyChangeDelay?: Duration;
55
+ /**
56
+ * @generated from protobuf field: google.protobuf.Duration ledger_time_record_time_tolerance = 5
57
+ */
58
+ ledgerTimeRecordTimeTolerance?: Duration;
59
+ /**
60
+ * @generated from protobuf field: google.protobuf.Duration reconciliation_interval = 6
61
+ */
62
+ reconciliationInterval?: Duration;
63
+ /**
64
+ * @generated from protobuf field: google.protobuf.Duration mediator_deduplication_timeout = 7
65
+ */
66
+ mediatorDeduplicationTimeout?: Duration;
67
+ /**
68
+ * @generated from protobuf field: uint32 max_request_size = 8
69
+ */
70
+ maxRequestSize: number;
71
+ /**
72
+ * topology related validation parameters
73
+ * permissioned synchronizer: if true, only participants which have been explicitly
74
+ * put on the allow list can onboard to the synchronizer
75
+ *
76
+ * @generated from protobuf field: com.digitalasset.canton.protocol.v30.OnboardingRestriction onboarding_restriction = 9
77
+ */
78
+ onboardingRestriction: OnboardingRestriction;
79
+ /**
80
+ * @generated from protobuf field: com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits participant_synchronizer_limits = 13
81
+ */
82
+ participantSynchronizerLimits?: ParticipantSynchronizerLimits;
83
+ /**
84
+ * @generated from protobuf field: google.protobuf.Duration sequencer_aggregate_submission_timeout = 15
85
+ */
86
+ sequencerAggregateSubmissionTimeout?: Duration;
87
+ /**
88
+ * @generated from protobuf field: com.digitalasset.canton.protocol.v30.TrafficControlParameters traffic_control = 16
89
+ */
90
+ trafficControl?: TrafficControlParameters;
91
+ /**
92
+ * @generated from protobuf field: com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig acs_commitments_catchup = 17
93
+ */
94
+ acsCommitmentsCatchup?: AcsCommitmentsCatchUpConfig;
95
+ /**
96
+ * @generated from protobuf field: google.protobuf.Duration preparation_time_record_time_tolerance = 18
97
+ */
98
+ preparationTimeRecordTimeTolerance?: Duration;
99
+ }
100
+ /**
101
+ * Controls how participants can join the synchronizer
102
+ * Note that currently, only transitions from restricted to unrestricted are supported, but not
103
+ * the other way around.
104
+ *
105
+ * @generated from protobuf enum com.digitalasset.canton.protocol.v30.OnboardingRestriction
106
+ */
107
+ export declare enum OnboardingRestriction {
108
+ /**
109
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNSPECIFIED = 0;
110
+ */
111
+ UNSPECIFIED = 0,
112
+ /**
113
+ * Any participant can join the synchronizer
114
+ *
115
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_OPEN = 1;
116
+ */
117
+ UNRESTRICTED_OPEN = 1,
118
+ /**
119
+ * No participant can currently join the synchronizer
120
+ *
121
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_LOCKED = 2;
122
+ */
123
+ UNRESTRICTED_LOCKED = 2,
124
+ /**
125
+ * Only participants with a valid participant synchronizer permission are allowed to join the synchronizer (allowlisting)
126
+ *
127
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_OPEN = 3;
128
+ */
129
+ RESTRICTED_OPEN = 3,
130
+ /**
131
+ * No participant can currently join the restricted synchronizer
132
+ *
133
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_LOCKED = 4;
134
+ */
135
+ RESTRICTED_LOCKED = 4
136
+ }
137
+ declare class AcsCommitmentsCatchUpConfig$Type extends MessageType<AcsCommitmentsCatchUpConfig> {
138
+ constructor();
139
+ create(value?: PartialMessage<AcsCommitmentsCatchUpConfig>): AcsCommitmentsCatchUpConfig;
140
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AcsCommitmentsCatchUpConfig): AcsCommitmentsCatchUpConfig;
141
+ internalBinaryWrite(message: AcsCommitmentsCatchUpConfig, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
142
+ }
143
+ /**
144
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig
145
+ */
146
+ export declare const AcsCommitmentsCatchUpConfig: AcsCommitmentsCatchUpConfig$Type;
147
+ declare class ParticipantSynchronizerLimits$Type extends MessageType<ParticipantSynchronizerLimits> {
148
+ constructor();
149
+ create(value?: PartialMessage<ParticipantSynchronizerLimits>): ParticipantSynchronizerLimits;
150
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ParticipantSynchronizerLimits): ParticipantSynchronizerLimits;
151
+ internalBinaryWrite(message: ParticipantSynchronizerLimits, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
152
+ }
153
+ /**
154
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits
155
+ */
156
+ export declare const ParticipantSynchronizerLimits: ParticipantSynchronizerLimits$Type;
157
+ declare class DynamicSynchronizerParameters$Type extends MessageType<DynamicSynchronizerParameters> {
158
+ constructor();
159
+ create(value?: PartialMessage<DynamicSynchronizerParameters>): DynamicSynchronizerParameters;
160
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DynamicSynchronizerParameters): DynamicSynchronizerParameters;
161
+ internalBinaryWrite(message: DynamicSynchronizerParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
162
+ }
163
+ /**
164
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters
165
+ */
166
+ export declare const DynamicSynchronizerParameters: DynamicSynchronizerParameters$Type;
167
+ export {};
168
+ //# sourceMappingURL=synchronizer_parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"synchronizer_parameters.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,395 @@
1
+ import { WireType } from '@protobuf-ts/runtime';
2
+ import { UnknownFieldHandler } from '@protobuf-ts/runtime';
3
+ import { reflectionMergePartial } from '@protobuf-ts/runtime';
4
+ import { MessageType } from '@protobuf-ts/runtime';
5
+ import { TrafficControlParameters } from './traffic_control_parameters.js';
6
+ import { Duration } from '../../../../../google/protobuf/duration.js';
7
+ /**
8
+ * Controls how participants can join the synchronizer
9
+ * Note that currently, only transitions from restricted to unrestricted are supported, but not
10
+ * the other way around.
11
+ *
12
+ * @generated from protobuf enum com.digitalasset.canton.protocol.v30.OnboardingRestriction
13
+ */
14
+ export var OnboardingRestriction;
15
+ (function (OnboardingRestriction) {
16
+ /**
17
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNSPECIFIED = 0;
18
+ */
19
+ OnboardingRestriction[OnboardingRestriction["UNSPECIFIED"] = 0] = "UNSPECIFIED";
20
+ /**
21
+ * Any participant can join the synchronizer
22
+ *
23
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_OPEN = 1;
24
+ */
25
+ OnboardingRestriction[OnboardingRestriction["UNRESTRICTED_OPEN"] = 1] = "UNRESTRICTED_OPEN";
26
+ /**
27
+ * No participant can currently join the synchronizer
28
+ *
29
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_UNRESTRICTED_LOCKED = 2;
30
+ */
31
+ OnboardingRestriction[OnboardingRestriction["UNRESTRICTED_LOCKED"] = 2] = "UNRESTRICTED_LOCKED";
32
+ /**
33
+ * Only participants with a valid participant synchronizer permission are allowed to join the synchronizer (allowlisting)
34
+ *
35
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_OPEN = 3;
36
+ */
37
+ OnboardingRestriction[OnboardingRestriction["RESTRICTED_OPEN"] = 3] = "RESTRICTED_OPEN";
38
+ /**
39
+ * No participant can currently join the restricted synchronizer
40
+ *
41
+ * @generated from protobuf enum value: ONBOARDING_RESTRICTION_RESTRICTED_LOCKED = 4;
42
+ */
43
+ OnboardingRestriction[OnboardingRestriction["RESTRICTED_LOCKED"] = 4] = "RESTRICTED_LOCKED";
44
+ })(OnboardingRestriction || (OnboardingRestriction = {}));
45
+ // @generated message type with reflection information, may provide speed optimized methods
46
+ class AcsCommitmentsCatchUpConfig$Type extends MessageType {
47
+ constructor() {
48
+ super('com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig', [
49
+ {
50
+ no: 1,
51
+ name: 'catchup_interval_skip',
52
+ kind: 'scalar',
53
+ T: 13 /*ScalarType.UINT32*/,
54
+ },
55
+ {
56
+ no: 2,
57
+ name: 'nr_intervals_to_trigger_catchup',
58
+ kind: 'scalar',
59
+ T: 13 /*ScalarType.UINT32*/,
60
+ },
61
+ ]);
62
+ }
63
+ create(value) {
64
+ const message = globalThis.Object.create(this.messagePrototype);
65
+ message.catchupIntervalSkip = 0;
66
+ message.nrIntervalsToTriggerCatchup = 0;
67
+ if (value !== undefined)
68
+ reflectionMergePartial(this, message, value);
69
+ return message;
70
+ }
71
+ internalBinaryRead(reader, length, options, target) {
72
+ let message = target ?? this.create(), end = reader.pos + length;
73
+ while (reader.pos < end) {
74
+ let [fieldNo, wireType] = reader.tag();
75
+ switch (fieldNo) {
76
+ case /* uint32 catchup_interval_skip */ 1:
77
+ message.catchupIntervalSkip = reader.uint32();
78
+ break;
79
+ case /* uint32 nr_intervals_to_trigger_catchup */ 2:
80
+ message.nrIntervalsToTriggerCatchup = reader.uint32();
81
+ break;
82
+ default:
83
+ let u = options.readUnknownField;
84
+ if (u === 'throw')
85
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
86
+ let d = reader.skip(wireType);
87
+ if (u !== false)
88
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
89
+ }
90
+ }
91
+ return message;
92
+ }
93
+ internalBinaryWrite(message, writer, options) {
94
+ /* uint32 catchup_interval_skip = 1; */
95
+ if (message.catchupIntervalSkip !== 0)
96
+ writer.tag(1, WireType.Varint).uint32(message.catchupIntervalSkip);
97
+ /* uint32 nr_intervals_to_trigger_catchup = 2; */
98
+ if (message.nrIntervalsToTriggerCatchup !== 0)
99
+ writer
100
+ .tag(2, WireType.Varint)
101
+ .uint32(message.nrIntervalsToTriggerCatchup);
102
+ let u = options.writeUnknownFields;
103
+ if (u !== false)
104
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
105
+ return writer;
106
+ }
107
+ }
108
+ /**
109
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig
110
+ */
111
+ export const AcsCommitmentsCatchUpConfig = new AcsCommitmentsCatchUpConfig$Type();
112
+ // @generated message type with reflection information, may provide speed optimized methods
113
+ class ParticipantSynchronizerLimits$Type extends MessageType {
114
+ constructor() {
115
+ super('com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits', [
116
+ {
117
+ no: 1,
118
+ name: 'confirmation_requests_max_rate',
119
+ kind: 'scalar',
120
+ T: 13 /*ScalarType.UINT32*/,
121
+ },
122
+ ]);
123
+ }
124
+ create(value) {
125
+ const message = globalThis.Object.create(this.messagePrototype);
126
+ message.confirmationRequestsMaxRate = 0;
127
+ if (value !== undefined)
128
+ reflectionMergePartial(this, message, value);
129
+ return message;
130
+ }
131
+ internalBinaryRead(reader, length, options, target) {
132
+ let message = target ?? this.create(), end = reader.pos + length;
133
+ while (reader.pos < end) {
134
+ let [fieldNo, wireType] = reader.tag();
135
+ switch (fieldNo) {
136
+ case /* uint32 confirmation_requests_max_rate */ 1:
137
+ message.confirmationRequestsMaxRate = reader.uint32();
138
+ break;
139
+ default:
140
+ let u = options.readUnknownField;
141
+ if (u === 'throw')
142
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
143
+ let d = reader.skip(wireType);
144
+ if (u !== false)
145
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
146
+ }
147
+ }
148
+ return message;
149
+ }
150
+ internalBinaryWrite(message, writer, options) {
151
+ /* uint32 confirmation_requests_max_rate = 1; */
152
+ if (message.confirmationRequestsMaxRate !== 0)
153
+ writer
154
+ .tag(1, WireType.Varint)
155
+ .uint32(message.confirmationRequestsMaxRate);
156
+ let u = options.writeUnknownFields;
157
+ if (u !== false)
158
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
159
+ return writer;
160
+ }
161
+ }
162
+ /**
163
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits
164
+ */
165
+ export const ParticipantSynchronizerLimits = new ParticipantSynchronizerLimits$Type();
166
+ // @generated message type with reflection information, may provide speed optimized methods
167
+ class DynamicSynchronizerParameters$Type extends MessageType {
168
+ constructor() {
169
+ super('com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters', [
170
+ {
171
+ no: 1,
172
+ name: 'confirmation_response_timeout',
173
+ kind: 'message',
174
+ T: () => Duration,
175
+ },
176
+ {
177
+ no: 2,
178
+ name: 'mediator_reaction_timeout',
179
+ kind: 'message',
180
+ T: () => Duration,
181
+ },
182
+ {
183
+ no: 3,
184
+ name: 'assignment_exclusivity_timeout',
185
+ kind: 'message',
186
+ T: () => Duration,
187
+ },
188
+ {
189
+ no: 4,
190
+ name: 'topology_change_delay',
191
+ kind: 'message',
192
+ T: () => Duration,
193
+ },
194
+ {
195
+ no: 5,
196
+ name: 'ledger_time_record_time_tolerance',
197
+ kind: 'message',
198
+ T: () => Duration,
199
+ },
200
+ {
201
+ no: 6,
202
+ name: 'reconciliation_interval',
203
+ kind: 'message',
204
+ T: () => Duration,
205
+ },
206
+ {
207
+ no: 7,
208
+ name: 'mediator_deduplication_timeout',
209
+ kind: 'message',
210
+ T: () => Duration,
211
+ },
212
+ {
213
+ no: 8,
214
+ name: 'max_request_size',
215
+ kind: 'scalar',
216
+ T: 13 /*ScalarType.UINT32*/,
217
+ },
218
+ {
219
+ no: 9,
220
+ name: 'onboarding_restriction',
221
+ kind: 'enum',
222
+ T: () => [
223
+ 'com.digitalasset.canton.protocol.v30.OnboardingRestriction',
224
+ OnboardingRestriction,
225
+ 'ONBOARDING_RESTRICTION_',
226
+ ],
227
+ },
228
+ {
229
+ no: 13,
230
+ name: 'participant_synchronizer_limits',
231
+ kind: 'message',
232
+ T: () => ParticipantSynchronizerLimits,
233
+ },
234
+ {
235
+ no: 15,
236
+ name: 'sequencer_aggregate_submission_timeout',
237
+ kind: 'message',
238
+ T: () => Duration,
239
+ },
240
+ {
241
+ no: 16,
242
+ name: 'traffic_control',
243
+ kind: 'message',
244
+ T: () => TrafficControlParameters,
245
+ },
246
+ {
247
+ no: 17,
248
+ name: 'acs_commitments_catchup',
249
+ kind: 'message',
250
+ T: () => AcsCommitmentsCatchUpConfig,
251
+ },
252
+ {
253
+ no: 18,
254
+ name: 'preparation_time_record_time_tolerance',
255
+ kind: 'message',
256
+ T: () => Duration,
257
+ },
258
+ ], {
259
+ 'scalapb.message': {
260
+ companionExtends: [
261
+ 'com.digitalasset.canton.version.StableProtoVersion',
262
+ ],
263
+ },
264
+ });
265
+ }
266
+ create(value) {
267
+ const message = globalThis.Object.create(this.messagePrototype);
268
+ message.maxRequestSize = 0;
269
+ message.onboardingRestriction = 0;
270
+ if (value !== undefined)
271
+ reflectionMergePartial(this, message, value);
272
+ return message;
273
+ }
274
+ internalBinaryRead(reader, length, options, target) {
275
+ let message = target ?? this.create(), end = reader.pos + length;
276
+ while (reader.pos < end) {
277
+ let [fieldNo, wireType] = reader.tag();
278
+ switch (fieldNo) {
279
+ case /* google.protobuf.Duration confirmation_response_timeout */ 1:
280
+ message.confirmationResponseTimeout =
281
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.confirmationResponseTimeout);
282
+ break;
283
+ case /* google.protobuf.Duration mediator_reaction_timeout */ 2:
284
+ message.mediatorReactionTimeout =
285
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.mediatorReactionTimeout);
286
+ break;
287
+ case /* google.protobuf.Duration assignment_exclusivity_timeout */ 3:
288
+ message.assignmentExclusivityTimeout =
289
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.assignmentExclusivityTimeout);
290
+ break;
291
+ case /* google.protobuf.Duration topology_change_delay */ 4:
292
+ message.topologyChangeDelay = Duration.internalBinaryRead(reader, reader.uint32(), options, message.topologyChangeDelay);
293
+ break;
294
+ case /* google.protobuf.Duration ledger_time_record_time_tolerance */ 5:
295
+ message.ledgerTimeRecordTimeTolerance =
296
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.ledgerTimeRecordTimeTolerance);
297
+ break;
298
+ case /* google.protobuf.Duration reconciliation_interval */ 6:
299
+ message.reconciliationInterval =
300
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.reconciliationInterval);
301
+ break;
302
+ case /* google.protobuf.Duration mediator_deduplication_timeout */ 7:
303
+ message.mediatorDeduplicationTimeout =
304
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.mediatorDeduplicationTimeout);
305
+ break;
306
+ case /* uint32 max_request_size */ 8:
307
+ message.maxRequestSize = reader.uint32();
308
+ break;
309
+ case /* com.digitalasset.canton.protocol.v30.OnboardingRestriction onboarding_restriction */ 9:
310
+ message.onboardingRestriction = reader.int32();
311
+ break;
312
+ case /* com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits participant_synchronizer_limits */ 13:
313
+ message.participantSynchronizerLimits =
314
+ ParticipantSynchronizerLimits.internalBinaryRead(reader, reader.uint32(), options, message.participantSynchronizerLimits);
315
+ break;
316
+ case /* google.protobuf.Duration sequencer_aggregate_submission_timeout */ 15:
317
+ message.sequencerAggregateSubmissionTimeout =
318
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.sequencerAggregateSubmissionTimeout);
319
+ break;
320
+ case /* com.digitalasset.canton.protocol.v30.TrafficControlParameters traffic_control */ 16:
321
+ message.trafficControl =
322
+ TrafficControlParameters.internalBinaryRead(reader, reader.uint32(), options, message.trafficControl);
323
+ break;
324
+ case /* com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig acs_commitments_catchup */ 17:
325
+ message.acsCommitmentsCatchup =
326
+ AcsCommitmentsCatchUpConfig.internalBinaryRead(reader, reader.uint32(), options, message.acsCommitmentsCatchup);
327
+ break;
328
+ case /* google.protobuf.Duration preparation_time_record_time_tolerance */ 18:
329
+ message.preparationTimeRecordTimeTolerance =
330
+ Duration.internalBinaryRead(reader, reader.uint32(), options, message.preparationTimeRecordTimeTolerance);
331
+ break;
332
+ default:
333
+ let u = options.readUnknownField;
334
+ if (u === 'throw')
335
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
336
+ let d = reader.skip(wireType);
337
+ if (u !== false)
338
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
339
+ }
340
+ }
341
+ return message;
342
+ }
343
+ internalBinaryWrite(message, writer, options) {
344
+ /* google.protobuf.Duration confirmation_response_timeout = 1; */
345
+ if (message.confirmationResponseTimeout)
346
+ Duration.internalBinaryWrite(message.confirmationResponseTimeout, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
347
+ /* google.protobuf.Duration mediator_reaction_timeout = 2; */
348
+ if (message.mediatorReactionTimeout)
349
+ Duration.internalBinaryWrite(message.mediatorReactionTimeout, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
350
+ /* google.protobuf.Duration assignment_exclusivity_timeout = 3; */
351
+ if (message.assignmentExclusivityTimeout)
352
+ Duration.internalBinaryWrite(message.assignmentExclusivityTimeout, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
353
+ /* google.protobuf.Duration topology_change_delay = 4; */
354
+ if (message.topologyChangeDelay)
355
+ Duration.internalBinaryWrite(message.topologyChangeDelay, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
356
+ /* google.protobuf.Duration ledger_time_record_time_tolerance = 5; */
357
+ if (message.ledgerTimeRecordTimeTolerance)
358
+ Duration.internalBinaryWrite(message.ledgerTimeRecordTimeTolerance, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
359
+ /* google.protobuf.Duration reconciliation_interval = 6; */
360
+ if (message.reconciliationInterval)
361
+ Duration.internalBinaryWrite(message.reconciliationInterval, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
362
+ /* google.protobuf.Duration mediator_deduplication_timeout = 7; */
363
+ if (message.mediatorDeduplicationTimeout)
364
+ Duration.internalBinaryWrite(message.mediatorDeduplicationTimeout, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
365
+ /* uint32 max_request_size = 8; */
366
+ if (message.maxRequestSize !== 0)
367
+ writer.tag(8, WireType.Varint).uint32(message.maxRequestSize);
368
+ /* com.digitalasset.canton.protocol.v30.OnboardingRestriction onboarding_restriction = 9; */
369
+ if (message.onboardingRestriction !== 0)
370
+ writer.tag(9, WireType.Varint).int32(message.onboardingRestriction);
371
+ /* com.digitalasset.canton.protocol.v30.ParticipantSynchronizerLimits participant_synchronizer_limits = 13; */
372
+ if (message.participantSynchronizerLimits)
373
+ ParticipantSynchronizerLimits.internalBinaryWrite(message.participantSynchronizerLimits, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
374
+ /* google.protobuf.Duration sequencer_aggregate_submission_timeout = 15; */
375
+ if (message.sequencerAggregateSubmissionTimeout)
376
+ Duration.internalBinaryWrite(message.sequencerAggregateSubmissionTimeout, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
377
+ /* com.digitalasset.canton.protocol.v30.TrafficControlParameters traffic_control = 16; */
378
+ if (message.trafficControl)
379
+ TrafficControlParameters.internalBinaryWrite(message.trafficControl, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
380
+ /* com.digitalasset.canton.protocol.v30.AcsCommitmentsCatchUpConfig acs_commitments_catchup = 17; */
381
+ if (message.acsCommitmentsCatchup)
382
+ AcsCommitmentsCatchUpConfig.internalBinaryWrite(message.acsCommitmentsCatchup, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
383
+ /* google.protobuf.Duration preparation_time_record_time_tolerance = 18; */
384
+ if (message.preparationTimeRecordTimeTolerance)
385
+ Duration.internalBinaryWrite(message.preparationTimeRecordTimeTolerance, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
386
+ let u = options.writeUnknownFields;
387
+ if (u !== false)
388
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
389
+ return writer;
390
+ }
391
+ }
392
+ /**
393
+ * @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.DynamicSynchronizerParameters
394
+ */
395
+ export const DynamicSynchronizerParameters = new DynamicSynchronizerParameters$Type();