|
31 | 31 |
|
32 | 32 | |Key|Description|Type|Default Value|
|
33 | 33 | |---|-----------|----|-------------|
|
| 34 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
34 | 35 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 36 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
35 | 37 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
36 | 38 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
37 | 39 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 40 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 41 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
38 | 42 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
39 | 43 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
40 | 44 |
|
|
43 | 47 | |Key|Description|Type|Default Value|
|
44 | 48 | |---|-----------|----|-------------|
|
45 | 49 | |blockQueueLength|Internal queue length for notifying the confirmations manager of new blocks|`int`|`50`
|
| 50 | +|fetchReceiptUponEntry|Fetch receipt of new transactions immediately when they are added to the internal queue. When set to false, fetch will only happen when a new block is received or the transaction has been queue for more than the stale receipt timeout|`boolean`|`false` |
46 | 51 | |notificationQueueLength|Internal queue length for notifying the confirmations manager of new transactions/events|`int`|`50`
|
47 | 52 | |receiptWorkers|Number of workers to use to query in parallel for receipts|`int`|`10`
|
48 | 53 | |required|Number of confirmations required to consider a transaction/event final|`int`|`20`
|
|
113 | 118 | |---|-----------|----|-------------|
|
114 | 119 | |count|The maximum number of times to retry|`int`|`5`
|
115 | 120 | |enabled|Enables retries|`boolean`|`false`
|
| 121 | +|errorStatusCodeRegex|The regex that the error response status code must match to trigger retry|`string`|`<nil>` |
116 | 122 | |factor|The retry backoff factor|`float32`|`2`
|
117 | 123 | |initWaitTime|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`250ms`
|
118 | 124 | |initialDelay|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`100ms`
|
119 | 125 | |maxDelay|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
|
120 | 126 | |maxWaitTime|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
|
121 | 127 |
|
| 128 | +## connector.throttle |
| 129 | + |
| 130 | +|Key|Description|Type|Default Value| |
| 131 | +|---|-----------|----|-------------| |
| 132 | +|burst|The maximum number of requests that can be made in a short period of time before the throttling kicks in.|`int`|`<nil>` |
| 133 | +|requestsPerSecond|The average rate at which requests are allowed to pass through over time.|`int`|`<nil>` |
| 134 | + |
122 | 135 | ## connector.tls
|
123 | 136 |
|
124 | 137 | |Key|Description|Type|Default Value|
|
125 | 138 | |---|-----------|----|-------------|
|
| 139 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
126 | 140 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 141 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
127 | 142 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
128 | 143 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
129 | 144 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 145 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 146 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
130 | 147 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
131 | 148 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
132 | 149 |
|
|
170 | 187 |
|
171 | 188 | |Key|Description|Type|Default Value|
|
172 | 189 | |---|-----------|----|-------------|
|
| 190 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
173 | 191 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 192 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
174 | 193 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
175 | 194 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
176 | 195 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 196 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 197 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
177 | 198 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
178 | 199 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
179 | 200 |
|
|
264 | 285 |
|
265 | 286 | |Key|Description|Type|Default Value|
|
266 | 287 | |---|-----------|----|-------------|
|
| 288 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
267 | 289 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 290 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
268 | 291 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
269 | 292 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
270 | 293 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 294 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 295 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
271 | 296 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
272 | 297 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
273 | 298 |
|
274 | 299 | ## persistence
|
275 | 300 |
|
276 | 301 | |Key|Description|Type|Default Value|
|
277 | 302 | |---|-----------|----|-------------|
|
278 |
| -|type|The type of persistence to use|Only 'leveldb' currently supported|`leveldb` |
| 303 | +|type|The type of persistence to use|`leveldb`, `postgres`(supports rich query)|`leveldb` |
279 | 304 |
|
280 | 305 | ## persistence.leveldb
|
281 | 306 |
|
|
364 | 389 | |---|-----------|----|-------------|
|
365 | 390 | |count|The maximum number of times to retry|`int`|`5`
|
366 | 391 | |enabled|Enables retries|`boolean`|`false`
|
| 392 | +|errorStatusCodeRegex|The regex that the error response status code must match to trigger retry|`string`|`<nil>` |
367 | 393 | |initWaitTime|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`250ms`
|
368 | 394 | |maxWaitTime|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
|
369 | 395 |
|
| 396 | +## policyengine.simple.gasOracle.throttle |
| 397 | + |
| 398 | +|Key|Description|Type|Default Value| |
| 399 | +|---|-----------|----|-------------| |
| 400 | +|burst|The maximum number of requests that can be made in a short period of time before the throttling kicks in.|`int`|`<nil>` |
| 401 | +|requestsPerSecond|The average rate at which requests are allowed to pass through over time.|`int`|`<nil>` |
| 402 | + |
370 | 403 | ## policyengine.simple.gasOracle.tls
|
371 | 404 |
|
372 | 405 | |Key|Description|Type|Default Value|
|
373 | 406 | |---|-----------|----|-------------|
|
| 407 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
374 | 408 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 409 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
375 | 410 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
376 | 411 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
377 | 412 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 413 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 414 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
378 | 415 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
379 | 416 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
380 | 417 |
|
|
453 | 490 | |---|-----------|----|-------------|
|
454 | 491 | |count|The maximum number of times to retry|`int`|`5`
|
455 | 492 | |enabled|Enables retries|`boolean`|`false`
|
| 493 | +|errorStatusCodeRegex|The regex that the error response status code must match to trigger retry|`string`|`<nil>` |
456 | 494 | |initWaitTime|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`250ms`
|
457 | 495 | |maxWaitTime|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
|
458 | 496 |
|
| 497 | +## transactions.handler.simple.gasOracle.throttle |
| 498 | + |
| 499 | +|Key|Description|Type|Default Value| |
| 500 | +|---|-----------|----|-------------| |
| 501 | +|burst|The maximum number of requests that can be made in a short period of time before the throttling kicks in.|`int`|`<nil>` |
| 502 | +|requestsPerSecond|The average rate at which requests are allowed to pass through over time.|`int`|`<nil>` |
| 503 | + |
459 | 504 | ## transactions.handler.simple.gasOracle.tls
|
460 | 505 |
|
461 | 506 | |Key|Description|Type|Default Value|
|
462 | 507 | |---|-----------|----|-------------|
|
| 508 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
463 | 509 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 510 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
464 | 511 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
465 | 512 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
466 | 513 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 514 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 515 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
467 | 516 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
468 | 517 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
469 | 518 |
|
|
509 | 558 | |---|-----------|----|-------------|
|
510 | 559 | |count|The maximum number of times to retry|`int`|`5`
|
511 | 560 | |enabled|Enables retries|`boolean`|`false`
|
| 561 | +|errorStatusCodeRegex|The regex that the error response status code must match to trigger retry|`string`|`<nil>` |
512 | 562 | |initWaitTime|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`250ms`
|
513 | 563 | |maxWaitTime|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
|
514 | 564 |
|
| 565 | +## webhooks.throttle |
| 566 | + |
| 567 | +|Key|Description|Type|Default Value| |
| 568 | +|---|-----------|----|-------------| |
| 569 | +|burst|The maximum number of requests that can be made in a short period of time before the throttling kicks in.|`int`|`<nil>` |
| 570 | +|requestsPerSecond|The average rate at which requests are allowed to pass through over time.|`int`|`<nil>` |
| 571 | + |
515 | 572 | ## webhooks.tls
|
516 | 573 |
|
517 | 574 | |Key|Description|Type|Default Value|
|
518 | 575 | |---|-----------|----|-------------|
|
| 576 | +|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>` |
519 | 577 | |caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
|
| 578 | +|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>` |
520 | 579 | |certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
|
521 | 580 | |clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
|
522 | 581 | |enabled|Enables or disables TLS on this API|`boolean`|`false`
|
| 582 | +|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>` |
| 583 | +|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>` |
523 | 584 | |keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
|
524 | 585 | |requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
|
0 commit comments