Skip to content

Commit 5bf087e

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/smart_contracts/ethereum/solidity_firefly/axios-1.9.0
2 parents 97edd32 + 1f68820 commit 5bf087e

File tree

25 files changed

+4373
-703
lines changed

25 files changed

+4373
-703
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ FROM $BASE_TAG
7474
ARG UI_TAG
7575
ARG UI_RELEASE
7676
RUN apk add --update --no-cache \
77-
sqlite=3.48.0-r1 \
78-
postgresql16-client=16.8-r0 \
77+
sqlite=3.48.0-r2 \
78+
postgresql16-client=16.9-r0 \
7979
curl=8.12.1-r1 \
8080
jq=1.7.1-r0
8181
WORKDIR /firefly

doc-site/docs/reference/config.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,82 @@ title: Configuration Reference
636636
|name|The name of the configured Blockchain plugin|`string`|`<nil>`
637637
|type|The type of the configured Blockchain Connector plugin|`string`|`<nil>`
638638

639+
## plugins.blockchain[].cardano.cardanoconnect
640+
641+
|Key|Description|Type|Default Value|
642+
|---|-----------|----|-------------|
643+
|batchSize|The number of events Cardanoconnect should batch together for delivery to FireFly core. Only applies when automatically creating a new event stream|`int`|`50`
644+
|batchTimeout|How long Cardanoconnect should wait for new events to arrive and fill a batch, before sending the batch to FireFly core. Only applies when automatically creating a new event stream|[`time.Duration`](https://pkg.go.dev/time#Duration)|`500`
645+
|connectionTimeout|The maximum amount of time that a connection is allowed to remain with no data transmitted|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
646+
|expectContinueTimeout|See [ExpectContinueTimeout in the Go docs](https://pkg.go.dev/net/http#Transport)|[`time.Duration`](https://pkg.go.dev/time#Duration)|`1s`
647+
|headers|Adds custom headers to HTTP requests|`map[string]string`|`<nil>`
648+
|idleTimeout|The max duration to hold a HTTP keepalive connection between calls|[`time.Duration`](https://pkg.go.dev/time#Duration)|`475ms`
649+
|maxConnsPerHost|The max number of connections, per unique hostname. Zero means no limit|`int`|`0`
650+
|maxIdleConns|The max number of idle connections to hold pooled|`int`|`100`
651+
|maxIdleConnsPerHost|The max number of idle connections, per unique hostname. Zero means net/http uses the default of only 2.|`int`|`100`
652+
|passthroughHeadersEnabled|Enable passing through the set of allowed HTTP request headers|`boolean`|`false`
653+
|requestTimeout|The maximum amount of time that a request is allowed to remain open|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
654+
|tlsHandshakeTimeout|The maximum amount of time to wait for a successful TLS handshake|[`time.Duration`](https://pkg.go.dev/time#Duration)|`10s`
655+
|topic|The websocket listen topic that the node should register on, which is important if there are multiple nodes using a single cardanoconnect|`string`|`<nil>`
656+
|url|The URL of the Cardanoconnect instance|URL `string`|`<nil>`
657+
658+
## plugins.blockchain[].cardano.cardanoconnect.auth
659+
660+
|Key|Description|Type|Default Value|
661+
|---|-----------|----|-------------|
662+
|password|Password|`string`|`<nil>`
663+
|username|Username|`string`|`<nil>`
664+
665+
## plugins.blockchain[].cardano.cardanoconnect.proxy
666+
667+
|Key|Description|Type|Default Value|
668+
|---|-----------|----|-------------|
669+
|url|Optional HTTP proxy server to connect through|`string`|`<nil>`
670+
671+
## plugins.blockchain[].cardano.cardanoconnect.retry
672+
673+
|Key|Description|Type|Default Value|
674+
|---|-----------|----|-------------|
675+
|count|The maximum number of times to retry|`int`|`5`
676+
|enabled|Enables retries|`boolean`|`false`
677+
|errorStatusCodeRegex|The regex that the error response status code must match to trigger retry|`string`|`<nil>`
678+
|initWaitTime|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`250ms`
679+
|maxWaitTime|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
680+
681+
## plugins.blockchain[].cardano.cardanoconnect.throttle
682+
683+
|Key|Description|Type|Default Value|
684+
|---|-----------|----|-------------|
685+
|burst|The maximum number of requests that can be made in a short period of time before the throttling kicks in.|`int`|`<nil>`
686+
|requestsPerSecond|The average rate at which requests are allowed to pass through over time.|`int`|`<nil>`
687+
688+
## plugins.blockchain[].cardano.cardanoconnect.tls
689+
690+
|Key|Description|Type|Default Value|
691+
|---|-----------|----|-------------|
692+
|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>`
693+
|caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
694+
|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>`
695+
|certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
696+
|clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
697+
|enabled|Enables or disables TLS on this API|`boolean`|`false`
698+
|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>`
699+
|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>`
700+
|keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
701+
|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>`
702+
703+
## plugins.blockchain[].cardano.cardanoconnect.ws
704+
705+
|Key|Description|Type|Default Value|
706+
|---|-----------|----|-------------|
707+
|connectionTimeout|The amount of time to wait while establishing a connection (or auto-reconnection)|[`time.Duration`](https://pkg.go.dev/time#Duration)|`45s`
708+
|heartbeatInterval|The amount of time to wait between heartbeat signals on the WebSocket connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s`
709+
|initialConnectAttempts|The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing|`int`|`5`
710+
|path|The WebSocket sever URL to which FireFly should connect|WebSocket URL `string`|`<nil>`
711+
|readBufferSize|The size in bytes of the read buffer for the WebSocket connection|[`BytesSize`](https://pkg.go.dev/github.com/docker/go-units#BytesSize)|`16Kb`
712+
|url|URL to use for WebSocket - overrides url one level up (in the HTTP config)|`string`|`<nil>`
713+
|writeBufferSize|The size in bytes of the write buffer for the WebSocket connection|[`BytesSize`](https://pkg.go.dev/github.com/docker/go-units#BytesSize)|`16Kb`
714+
639715
## plugins.blockchain[].ethereum.addressResolver
640716

641717
|Key|Description|Type|Default Value|

doc-site/docs/reference/types/verifier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ title: Verifier
2222
| `hash` | Hash used as a globally consistent identifier for this namespace + type + value combination on every node in the network | `Bytes32` |
2323
| `identity` | The UUID of the parent identity that has claimed this verifier | [`UUID`](simpletypes.md#uuid) |
2424
| `namespace` | The namespace of the verifier | `string` |
25-
| `type` | The type of the verifier | `FFEnum`:<br/>`"ethereum_address"`<br/>`"tezos_address"`<br/>`"fabric_msp_id"`<br/>`"dx_peer_id"` |
25+
| `type` | The type of the verifier | `FFEnum`:<br/>`"cardano_address"`<br/>`"ethereum_address"`<br/>`"tezos_address"`<br/>`"fabric_msp_id"`<br/>`"dx_peer_id"` |
2626
| `value` | The verifier string, such as an Ethereum address, or Fabric MSP identifier | `string` |
2727
| `created` | The time this verifier was created on this node | [`FFTime`](simpletypes.md#fftime) |
2828

0 commit comments

Comments
 (0)