Configuration Reference
admin
Key | Description | Type | Default Value |
---|---|---|---|
enabled | Deprecated - use spi.enabled instead | boolean |
<nil> |
api
Key | Description | Type | Default Value |
---|---|---|---|
defaultFilterLimit | The maximum number of rows to return if no limit is specified on an API request | int |
<nil> |
maxFilterLimit | The largest value of limit that an HTTP client can specify in a request |
int |
<nil> |
requestMaxTimeout | The maximum amount of time that an HTTP client can specify in a Request-Timeout header to keep a specific request open |
time.Duration |
<nil> |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
<nil> |
asset.manager
Key | Description | Type | Default Value |
---|---|---|---|
keyNormalization | Mechanism to normalize keys before using them. Valid options are blockchain_plugin - use blockchain plugin (default) or none - do not attempt normalization (deprecated - use namespaces.predefined[].asset.manager.keyNormalization) |
string |
<nil> |
batch.manager
Key | Description | Type | Default Value |
---|---|---|---|
minimumPollDelay | The minimum time the batch manager waits between polls on the DB - to prevent thrashing | time.Duration |
<nil> |
pollTimeout | How long to wait without any notifications of new messages before doing a page query | time.Duration |
<nil> |
readPageSize | The size of each page of messages read from the database into memory when assembling batches | int |
<nil> |
batch.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
blobreceiver.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initialDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
blobreceiver.worker
Key | Description | Type | Default Value |
---|---|---|---|
batchMaxInserts | The maximum number of items the blob receiver worker will insert in a batch | int |
<nil> |
batchTimeout | The maximum amount of the the blob receiver worker will wait | time.Duration |
<nil> |
count | The number of blob receiver workers | int |
<nil> |
blockchain
Key | Description | Type | Default Value |
---|---|---|---|
type | A string defining which type of blockchain plugin to use. This tells FireFly which type of configuration to load for the rest of the blockchain section |
string |
<nil> |
blockchain.ethereum.addressResolver
Key | Description | Type | Default Value |
---|---|---|---|
bodyTemplate | The body go template string to use when making HTTP requests | Go Template string |
<nil> |
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
method | The HTTP method to use when making requests to the Address Resolver | string |
GET |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
responseField | The name of a JSON field that is provided in the response, that contains the ethereum address (default address ) |
string |
address |
retainOriginal | When true the original pre-resolved string is retained after the lookup, and passed down to Ethconnect as the from address | boolean |
<nil> |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the Address Resolver | string |
<nil> |
urlTemplate | The URL Go template string to use when calling the Address Resolver | Go Template string |
<nil> |
blockchain.ethereum.addressResolver.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
blockchain.ethereum.addressResolver.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the Address Resolver | URL string |
<nil> |
blockchain.ethereum.addressResolver.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
blockchain.ethereum.ethconnect
Key | Description | Type | Default Value |
---|---|---|---|
batchSize | The number of events Ethconnect should batch together for delivery to FireFly core. Only applies when automatically creating a new event stream | int |
50 |
batchTimeout | How long Ethconnect 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 |
500 |
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
fromBlock | The first event this FireFly instance should listen to from the BatchPin smart contract. Default=0. Only affects initial creation of the event stream (deprecated - use namespaces.predefined[].multiparty.contract[].location.firstEvent) | Address string |
0 |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
instance | The Ethereum address of the FireFly BatchPin smart contract that has been deployed to the blockchain (deprecated - use namespaces.predefined[].multiparty.contract[].location.address) | Address string |
<nil> |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
prefixLong | The prefix that will be used for Ethconnect specific HTTP headers when FireFly makes requests to Ethconnect | string |
firefly |
prefixShort | The prefix that will be used for Ethconnect specific query parameters when FireFly makes requests to Ethconnect | string |
fly |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
topic | The websocket listen topic that the node should register on, which is important if there are multiple nodes using a single ethconnect | string |
<nil> |
url | The URL of the Ethconnect instance | URL string |
<nil> |
blockchain.ethereum.ethconnect.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
blockchain.ethereum.ethconnect.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to Ethconnect | URL string |
<nil> |
blockchain.ethereum.ethconnect.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
blockchain.ethereum.ethconnect.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
blockchain.ethereum.fftm
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the FireFly Transaction Manager runtime, if enabled | string |
<nil> |
blockchain.ethereum.fftm.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
blockchain.ethereum.fftm.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the Transaction Manager | string |
<nil> |
blockchain.ethereum.fftm.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
blockchain.fabric.fabconnect
Key | Description | Type | Default Value |
---|---|---|---|
batchSize | The number of events Fabconnect should batch together for delivery to FireFly core. Only applies when automatically creating a new event stream | int |
50 |
batchTimeout | The maximum amount of time to wait for a batch to complete | time.Duration |
500 |
chaincode | The name of the Fabric chaincode that FireFly will use for BatchPin transactions (deprecated - use namespaces.predefined[].multiparty.contract[].location.chaincode) | string |
<nil> |
channel | The Fabric channel that FireFly will use for BatchPin transactions (deprecated - use namespaces.predefined[].multiparty.contract[].location.channel) | string |
<nil> |
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
prefixLong | The prefix that will be used for Fabconnect specific HTTP headers when FireFly makes requests to Fabconnect | string |
firefly |
prefixShort | The prefix that will be used for Fabconnect specific query parameters when FireFly makes requests to Fabconnect | string |
fly |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
signer | The Fabric signing key to use when submitting transactions to Fabconnect | string |
<nil> |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
topic | The websocket listen topic that the node should register on, which is important if there are multiple nodes using a single Fabconnect | string |
<nil> |
url | The URL of the Fabconnect instance | URL string |
<nil> |
blockchain.fabric.fabconnect.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
blockchain.fabric.fabconnect.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to Fabconnect | URL string |
<nil> |
blockchain.fabric.fabconnect.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
blockchain.fabric.fabconnect.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
broadcast.batch
Key | Description | Type | Default Value |
---|---|---|---|
agentTimeout | How long to keep around a batching agent for a sending identity before disposal | string |
<nil> |
payloadLimit | The maximum payload size of a batch for broadcast messages | BytesSize |
<nil> |
size | The maximum number of messages that can be packed into a batch | int |
<nil> |
timeout | The timeout to wait for a batch to fill, before sending | time.Duration |
<nil> |
cache
Key | Description | Type | Default Value |
---|---|---|---|
enabled | Enables caching, defaults to true | boolean |
<nil> |
cache.addressresolver
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached items for address resolver | int |
<nil> |
ttl | Time to live of cached items for address resolver | string |
<nil> |
cache.batch
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached items for batches | int |
<nil> |
ttl | Time to live of cache items for batches | string |
<nil> |
cache.blockchain
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached items for blockchain | int |
<nil> |
ttl | Time to live of cached items for blockchain | string |
<nil> |
cache.blockchainevent
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached blockchain events for transactions | int |
<nil> |
ttl | Time to live of cached blockchain events for transactions | string |
<nil> |
cache.eventlistenertopic
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached items for blockchain listener topics | int |
<nil> |
ttl | Time to live of cached items for blockchain listener topics | string |
<nil> |
cache.group
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached items for groups | int |
<nil> |
ttl | Time to live of cached items for groups | string |
<nil> |
cache.identity
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached identities for identity manager | int |
<nil> |
ttl | Time to live of cached identities for identity manager | string |
<nil> |
cache.message
Key | Description | Type | Default Value |
---|---|---|---|
size | Max size of cached messages for data manager | BytesSize |
<nil> |
ttl | Time to live of cached messages for data manager | string |
<nil> |
cache.operations
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached items for operations | int |
<nil> |
ttl | Time to live of cached items for operations | string |
<nil> |
cache.signingkey
Key | Description | Type | Default Value |
---|---|---|---|
limit | Max number of cached signing keys for identity manager | int |
<nil> |
ttl | Time to live of cached signing keys for identity manager | string |
<nil> |
cache.transaction
Key | Description | Type | Default Value |
---|---|---|---|
size | Max size of cached transactions | BytesSize |
<nil> |
ttl | Time to live of cached transactions | string |
<nil> |
cache.validator
Key | Description | Type | Default Value |
---|---|---|---|
size | Max size of cached validators for data manager | BytesSize |
<nil> |
ttl | Time to live of cached validators for data manager | string |
<nil> |
cors
Key | Description | Type | Default Value |
---|---|---|---|
credentials | CORS setting to control whether a browser allows credentials to be sent to this API | boolean |
true |
debug | Whether debug is enabled for the CORS implementation | boolean |
false |
enabled | Whether CORS is enabled | boolean |
true |
headers | CORS setting to control the allowed headers | string |
[*] |
maxAge | The maximum age a browser should rely on CORS checks | time.Duration |
600 |
methods | CORS setting to control the allowed methods | string |
[GET POST PUT PATCH DELETE] |
origins | CORS setting to control the allowed origins | string |
[*] |
database
Key | Description | Type | Default Value |
---|---|---|---|
type | The type of the database interface plugin to use | int |
<nil> |
database.postgres
Key | Description | Type | Default Value |
---|---|---|---|
maxConnIdleTime | The maximum amount of time a database connection can be idle | time.Duration |
1m |
maxConnLifetime | The maximum amount of time to keep a database connection open | time.Duration |
<nil> |
maxConns | Maximum connections to the database | int |
50 |
maxIdleConns | The maximum number of idle connections to the database | int |
<nil> |
url | The PostgreSQL connection string for the database | string |
<nil> |
database.postgres.migrations
Key | Description | Type | Default Value |
---|---|---|---|
auto | Enables automatic database migrations | boolean |
false |
directory | The directory containing the numerically ordered migration DDL files to apply to the database | string |
./db/migrations/postgres |
database.sqlite3
Key | Description | Type | Default Value |
---|---|---|---|
maxConnIdleTime | The maximum amount of time a database connection can be idle | time.Duration |
1m |
maxConnLifetime | The maximum amount of time to keep a database connection open | time.Duration |
<nil> |
maxConns | Maximum connections to the database | int |
1 |
maxIdleConns | The maximum number of idle connections to the database | int |
<nil> |
url | The SQLite connection string for the database | string |
<nil> |
database.sqlite3.migrations
Key | Description | Type | Default Value |
---|---|---|---|
auto | Enables automatic database migrations | boolean |
false |
directory | The directory containing the numerically ordered migration DDL files to apply to the database | string |
./db/migrations/sqlite |
dataexchange
Key | Description | Type | Default Value |
---|---|---|---|
type | The Data Exchange plugin to use | string |
<nil> |
dataexchange.ffdx
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
initEnabled | Instructs FireFly to always post all current nodes to the /init API before connecting or reconnecting to the connector |
boolean |
false |
manifestEnabled | Determines whether to require+validate a manifest from other DX instances in the network. Must be supported by the connector | string |
false |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the Data Exchange instance | URL string |
<nil> |
dataexchange.ffdx.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
dataexchange.ffdx.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the Data Exchange | URL string |
<nil> |
dataexchange.ffdx.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
dataexchange.ffdx.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
debug
Key | Description | Type | Default Value |
---|---|---|---|
port | An HTTP port on which to enable the go debugger | int |
<nil> |
download.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initialDelay | The initial retry delay | time.Duration |
<nil> |
maxAttempts | The maximum number attempts | int |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
download.worker
Key | Description | Type | Default Value |
---|---|---|---|
count | The number of download workers | int |
<nil> |
queueLength | The length of the work queue in the channel to the workers - defaults to 2x the worker count | int |
<nil> |
event.aggregator
Key | Description | Type | Default Value |
---|---|---|---|
batchSize | The maximum number of records to read from the DB before performing an aggregation run | BytesSize |
<nil> |
batchTimeout | How long to wait for new events to arrive before performing aggregation on a page of events | time.Duration |
<nil> |
firstEvent | The first event the aggregator should process, if no previous offest is stored in the DB. Valid options are oldest or newest |
string |
<nil> |
pollTimeout | The time to wait without a notification of new events, before trying a select on the table | time.Duration |
<nil> |
rewindQueryLimit | Safety limit on the maximum number of records to search when performing queries to search for rewinds | int |
<nil> |
rewindQueueLength | The size of the queue into the rewind dispatcher | int |
<nil> |
rewindTimeout | The minimum time to wait for rewinds to accumulate before resolving them | time.Duration |
<nil> |
event.aggregator.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
event.dbevents
Key | Description | Type | Default Value |
---|---|---|---|
bufferSize | The size of the buffer of change events | BytesSize |
<nil> |
event.dispatcher
Key | Description | Type | Default Value |
---|---|---|---|
batchTimeout | A short time to wait for new events to arrive before re-polling for new events | time.Duration |
<nil> |
bufferLength | The number of events + attachments an individual dispatcher should hold in memory ready for delivery to the subscription | int |
<nil> |
pollTimeout | The time to wait without a notification of new events, before trying a select on the table | time.Duration |
<nil> |
event.dispatcher.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
event.transports
Key | Description | Type | Default Value |
---|---|---|---|
default | The default event transport for new subscriptions | string |
<nil> |
enabled | Which event interface plugins are enabled | boolean |
<nil> |
events.webhooks
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
events.webhooks.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
events.webhooks.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to connect through | string |
<nil> |
events.webhooks.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
events.websockets
Key | Description | Type | Default Value |
---|---|---|---|
readBufferSize | WebSocket read buffer size | BytesSize |
16Kb |
writeBufferSize | WebSocket write buffer size | BytesSize |
16Kb |
histograms
Key | Description | Type | Default Value |
---|---|---|---|
maxChartRows | The maximum rows to fetch for each histogram bucket | int |
<nil> |
http
Key | Description | Type | Default Value |
---|---|---|---|
address | The IP address on which the HTTP API should listen | IP Address string |
127.0.0.1 |
port | The port on which the HTTP API should listen | int |
5000 |
publicURL | The fully qualified public URL for the API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation | URL string |
<nil> |
readTimeout | The maximum time to wait when reading from an HTTP connection | time.Duration |
15s |
shutdownTimeout | The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server | time.Duration |
10s |
writeTimeout | The maximum time to wait when writing to an HTTP connection | time.Duration |
15s |
http.auth
Key | Description | Type | Default Value |
---|---|---|---|
type | The auth plugin to use for server side authentication of requests | string |
<nil> |
http.auth.basic
Key | Description | Type | Default Value |
---|---|---|---|
passwordfile | The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt. | string |
<nil> |
http.tls
Key | Description | Type | Default Value |
---|---|---|---|
caFile | The path to the CA file for TLS on this API | string |
<nil> |
certFile | The path to the certificate file for TLS on this API | string |
<nil> |
clientAuth | Enables or disables client auth for TLS on this API | string |
<nil> |
enabled | Enables or disables TLS on this API | boolean |
false |
keyFile | The path to the private key file for TLS on this API | string |
<nil> |
log
Key | Description | Type | Default Value |
---|---|---|---|
compress | Determines if the rotated log files should be compressed using gzip | boolean |
<nil> |
filename | Filename is the file to write logs to. Backup log files will be retained in the same directory | string |
<nil> |
filesize | MaxSize is the maximum size the log file before it gets rotated | BytesSize |
<nil> |
forceColor | Force color to be enabled, even when a non-TTY output is detected | boolean |
<nil> |
includeCodeInfo | Enables the report caller for including the calling file and line number, and the calling function. If using text logs, it uses the logrus text format rather than the default prefix format. | boolean |
<nil> |
level | The log level - error, warn, info, debug, trace | string |
<nil> |
maxAge | The maximum time to retain old log files based on the timestamp encoded in their filename | time.Duration |
<nil> |
maxBackups | Maximum number of old log files to retain | int |
<nil> |
noColor | Force color to be disabled, event when TTY output is detected | boolean |
<nil> |
timeFormat | Custom time format for logs | Time format string |
<nil> |
utc | Use UTC timestamps for logs | boolean |
<nil> |
log.json
Key | Description | Type | Default Value |
---|---|---|---|
enabled | Enables JSON formatted logs rather than text. All log color settings are ignored when enabled. | boolean |
<nil> |
log.json.fields
Key | Description | Type | Default Value |
---|---|---|---|
file | configures the JSON key containing the calling file | string |
<nil> |
func | Configures the JSON key containing the calling function | string |
<nil> |
level | Configures the JSON key containing the log level | string |
<nil> |
message | Configures the JSON key containing the log message | string |
<nil> |
timestamp | Configures the JSON key containing the timestamp of the log | string |
<nil> |
message.writer
Key | Description | Type | Default Value |
---|---|---|---|
batchMaxInserts | The maximum number of database inserts to include when writing a single batch of messages + data | int |
<nil> |
batchTimeout | How long to wait for more messages to arrive before flushing the batch | time.Duration |
<nil> |
count | The number of message writer workers | int |
<nil> |
metrics
Key | Description | Type | Default Value |
---|---|---|---|
address | The IP address on which the metrics HTTP API should listen | int |
127.0.0.1 |
enabled | Enables the metrics API | boolean |
true |
path | The path from which to serve the Prometheus metrics | string |
/metrics |
port | The port on which the metrics HTTP API should listen | int |
6000 |
publicURL | The fully qualified public URL for the metrics API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation | URL string |
<nil> |
readTimeout | The maximum time to wait when reading from an HTTP connection | time.Duration |
15s |
shutdownTimeout | The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server | time.Duration |
10s |
writeTimeout | The maximum time to wait when writing to an HTTP connection | time.Duration |
15s |
metrics.auth
Key | Description | Type | Default Value |
---|---|---|---|
type | The auth plugin to use for server side authentication of requests | string |
<nil> |
metrics.auth.basic
Key | Description | Type | Default Value |
---|---|---|---|
passwordfile | The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt. | string |
<nil> |
metrics.tls
Key | Description | Type | Default Value |
---|---|---|---|
caFile | The path to the CA file for TLS on this API | string |
<nil> |
certFile | The path to the certificate file for TLS on this API | string |
<nil> |
clientAuth | Enables or disables client auth for TLS on this API | string |
<nil> |
enabled | Enables or disables TLS on this API | boolean |
false |
keyFile | The path to the private key file for TLS on this API | string |
<nil> |
namespaces
Key | Description | Type | Default Value |
---|---|---|---|
default | The default namespace - must be in the predefined list | string |
<nil> |
predefined | A list of namespaces to ensure exists, without requiring a broadcast from the network | List string |
<nil> |
namespaces.predefined[]
Key | Description | Type | Default Value |
---|---|---|---|
defaultKey | A default signing key for blockchain transactions within this namespace | string |
<nil> |
description | A description for the namespace | string |
<nil> |
name | The name of the namespace (must be unique) | string |
<nil> |
plugins | The list of plugins for this namespace | string |
<nil> |
namespaces.predefined[].asset.manager
Key | Description | Type | Default Value |
---|---|---|---|
keyNormalization | Mechanism to normalize keys before using them. Valid options are blockchain_plugin - use blockchain plugin (default) or none - do not attempt normalization |
string |
<nil> |
namespaces.predefined[].multiparty
Key | Description | Type | Default Value |
---|---|---|---|
enabled | Enables multi-party mode for this namespace (defaults to true if an org name or key is configured, either here or at the root level) | boolean |
<nil> |
networknamespace | The shared namespace name to be sent in multiparty messages, if it differs from the local namespace name | string |
<nil> |
namespaces.predefined[].multiparty.contract[]
Key | Description | Type | Default Value |
---|---|---|---|
firstEvent | The first event the contract should process. Valid options are oldest or newest |
string |
<nil> |
location | A blockchain-specific contract location. For example, an Ethereum contract address, or a Fabric chaincode name and channe | string |
<nil> |
namespaces.predefined[].multiparty.node
Key | Description | Type | Default Value |
---|---|---|---|
description | A description for the node in this namespace | string |
<nil> |
name | The node name for this namespace | string |
<nil> |
namespaces.predefined[].multiparty.org
Key | Description | Type | Default Value |
---|---|---|---|
description | A description for the local root organization within this namespace | string |
<nil> |
key | The signing key allocated to the root organization within this namespace | string |
<nil> |
name | A short name for the local root organization within this namespace | string |
<nil> |
node
Key | Description | Type | Default Value |
---|---|---|---|
description | The description of this FireFly node | string |
<nil> |
name | The name of this FireFly node | string |
<nil> |
opupdate.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initialDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
opupdate.worker
Key | Description | Type | Default Value |
---|---|---|---|
batchMaxInserts | The maximum number of database inserts to include when writing a single batch of messages + data | int |
<nil> |
batchTimeout | How long to wait for more messages to arrive before flushing the batch | time.Duration |
<nil> |
count | The number of operation update works | int |
<nil> |
queueLength | The size of the queue for the Operation Update worker | int |
<nil> |
orchestrator
Key | Description | Type | Default Value |
---|---|---|---|
startupAttempts | The number of times to attempt to connect to core infrastructure on startup | string |
<nil> |
org
Key | Description | Type | Default Value |
---|---|---|---|
description | A description of the organization to which this FireFly node belongs (deprecated - should be set on each multi-party namespace instead) | string |
<nil> |
key | The signing key allocated to the organization (deprecated - should be set on each multi-party namespace instead) | string |
<nil> |
name | The name of the organization to which this FireFly node belongs (deprecated - should be set on each multi-party namespace instead) | string |
<nil> |
plugins
Key | Description | Type | Default Value |
---|---|---|---|
auth | Authorization plugin configuration | map[string]string |
<nil> |
blockchain | The list of configured Blockchain plugins | string |
<nil> |
database | The list of configured Database plugins | string |
<nil> |
dataexchange | The array of configured Data Exchange plugins | string |
<nil> |
identity | The list of available Identity plugins | string |
<nil> |
sharedstorage | The list of configured Shared Storage plugins | string |
<nil> |
tokens | The token plugin configurations | string |
<nil> |
plugins.auth[]
Key | Description | Type | Default Value |
---|---|---|---|
name | The name of the auth plugin to use | string |
<nil> |
type | The type of the auth plugin to use | string |
<nil> |
plugins.auth[].basic
Key | Description | Type | Default Value |
---|---|---|---|
passwordfile | The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt. | string |
<nil> |
plugins.blockchain[]
Key | Description | Type | Default Value |
---|---|---|---|
name | The name of the configured Blockchain plugin | string |
<nil> |
type | The type of the configured Blockchain Connector plugin | string |
<nil> |
plugins.blockchain[].ethereum.addressResolver
Key | Description | Type | Default Value |
---|---|---|---|
bodyTemplate | The body go template string to use when making HTTP requests | Go Template string |
<nil> |
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
method | The HTTP method to use when making requests to the Address Resolver | string |
GET |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
responseField | The name of a JSON field that is provided in the response, that contains the ethereum address (default address ) |
string |
address |
retainOriginal | When true the original pre-resolved string is retained after the lookup, and passed down to Ethconnect as the from address | boolean |
<nil> |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the Address Resolver | string |
<nil> |
urlTemplate | The URL Go template string to use when calling the Address Resolver | Go Template string |
<nil> |
plugins.blockchain[].ethereum.addressResolver.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.blockchain[].ethereum.addressResolver.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the Address Resolver | URL string |
<nil> |
plugins.blockchain[].ethereum.addressResolver.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.blockchain[].ethereum.ethconnect
Key | Description | Type | Default Value |
---|---|---|---|
batchSize | The number of events Ethconnect should batch together for delivery to FireFly core. Only applies when automatically creating a new event stream | int |
50 |
batchTimeout | How long Ethconnect 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 |
500 |
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
fromBlock | The first event this FireFly instance should listen to from the BatchPin smart contract. Default=0. Only affects initial creation of the event stream | Address string |
0 |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
instance | The Ethereum address of the FireFly BatchPin smart contract that has been deployed to the blockchain | Address string |
<nil> |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
prefixLong | The prefix that will be used for Ethconnect specific HTTP headers when FireFly makes requests to Ethconnect | string |
firefly |
prefixShort | The prefix that will be used for Ethconnect specific query parameters when FireFly makes requests to Ethconnect | string |
fly |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
topic | The websocket listen topic that the node should register on, which is important if there are multiple nodes using a single ethconnect | string |
<nil> |
url | The URL of the Ethconnect instance | URL string |
<nil> |
plugins.blockchain[].ethereum.ethconnect.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.blockchain[].ethereum.ethconnect.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to Ethconnect | URL string |
<nil> |
plugins.blockchain[].ethereum.ethconnect.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.blockchain[].ethereum.ethconnect.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
plugins.blockchain[].ethereum.fftm
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the FireFly Transaction Manager runtime, if enabled | string |
<nil> |
plugins.blockchain[].ethereum.fftm.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.blockchain[].ethereum.fftm.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the Transaction Manager | string |
<nil> |
plugins.blockchain[].ethereum.fftm.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.blockchain[].fabric.fabconnect
Key | Description | Type | Default Value |
---|---|---|---|
batchSize | The number of events Fabconnect should batch together for delivery to FireFly core. Only applies when automatically creating a new event stream | int |
50 |
batchTimeout | The maximum amount of time to wait for a batch to complete | time.Duration |
500 |
chaincode | The name of the Fabric chaincode that FireFly will use for BatchPin transactions (deprecated - use fireflyContract[].chaincode) | string |
<nil> |
channel | The Fabric channel that FireFly will use for BatchPin transactions | string |
<nil> |
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
prefixLong | The prefix that will be used for Fabconnect specific HTTP headers when FireFly makes requests to Fabconnect | string |
firefly |
prefixShort | The prefix that will be used for Fabconnect specific query parameters when FireFly makes requests to Fabconnect | string |
fly |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
signer | The Fabric signing key to use when submitting transactions to Fabconnect | string |
<nil> |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
topic | The websocket listen topic that the node should register on, which is important if there are multiple nodes using a single Fabconnect | string |
<nil> |
url | The URL of the Fabconnect instance | URL string |
<nil> |
plugins.blockchain[].fabric.fabconnect.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.blockchain[].fabric.fabconnect.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to Fabconnect | URL string |
<nil> |
plugins.blockchain[].fabric.fabconnect.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.blockchain[].fabric.fabconnect.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
plugins.database[]
Key | Description | Type | Default Value |
---|---|---|---|
name | The name of the Database plugin | string |
<nil> |
type | The type of the configured Database plugin | string |
<nil> |
plugins.database[].postgres
Key | Description | Type | Default Value |
---|---|---|---|
maxConnIdleTime | The maximum amount of time a database connection can be idle | time.Duration |
1m |
maxConnLifetime | The maximum amount of time to keep a database connection open | time.Duration |
<nil> |
maxConns | Maximum connections to the database | int |
50 |
maxIdleConns | The maximum number of idle connections to the database | int |
<nil> |
url | The PostgreSQL connection string for the database | string |
<nil> |
plugins.database[].postgres.migrations
Key | Description | Type | Default Value |
---|---|---|---|
auto | Enables automatic database migrations | boolean |
false |
directory | The directory containing the numerically ordered migration DDL files to apply to the database | string |
./db/migrations/postgres |
plugins.database[].sqlite3
Key | Description | Type | Default Value |
---|---|---|---|
maxConnIdleTime | The maximum amount of time a database connection can be idle | time.Duration |
1m |
maxConnLifetime | The maximum amount of time to keep a database connection open | time.Duration |
<nil> |
maxConns | Maximum connections to the database | int |
1 |
maxIdleConns | The maximum number of idle connections to the database | int |
<nil> |
url | The SQLite connection string for the database | string |
<nil> |
plugins.database[].sqlite3.migrations
Key | Description | Type | Default Value |
---|---|---|---|
auto | Enables automatic database migrations | boolean |
false |
directory | The directory containing the numerically ordered migration DDL files to apply to the database | string |
./db/migrations/sqlite |
plugins.dataexchange[]
Key | Description | Type | Default Value |
---|---|---|---|
name | The name of the configured Data Exchange plugin | string |
<nil> |
type | The Data Exchange plugin to use | string |
<nil> |
plugins.dataexchange[].ffdx
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
initEnabled | Instructs FireFly to always post all current nodes to the /init API before connecting or reconnecting to the connector |
boolean |
false |
manifestEnabled | Determines whether to require+validate a manifest from other DX instances in the network. Must be supported by the connector | string |
false |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the Data Exchange instance | URL string |
<nil> |
plugins.dataexchange[].ffdx.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.dataexchange[].ffdx.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the Data Exchange | URL string |
<nil> |
plugins.dataexchange[].ffdx.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.dataexchange[].ffdx.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
plugins.identity[]
Key | Description | Type | Default Value |
---|---|---|---|
name | The name of a configured Identity plugin | string |
<nil> |
type | The type of a configured Identity plugin | string |
<nil> |
plugins.sharedstorage[]
Key | Description | Type | Default Value |
---|---|---|---|
name | The name of the Shared Storage plugin to use | string |
<nil> |
type | The Shared Storage plugin to use | string |
<nil> |
plugins.sharedstorage[].ipfs.api
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL for the IPFS API | URL string |
<nil> |
plugins.sharedstorage[].ipfs.api.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.sharedstorage[].ipfs.api.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the IPFS API | URL string |
<nil> |
plugins.sharedstorage[].ipfs.api.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.sharedstorage[].ipfs.gateway
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL for the IPFS Gateway | URL string |
<nil> |
plugins.sharedstorage[].ipfs.gateway.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.sharedstorage[].ipfs.gateway.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the IPFS Gateway | URL string |
<nil> |
plugins.sharedstorage[].ipfs.gateway.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.tokens[]
Key | Description | Type | Default Value |
---|---|---|---|
broadcastName | The name to be used in broadcast messages related to this token plugin, if it differs from the local plugin name | string |
<nil> |
name | A name to identify this token plugin | string |
<nil> |
type | The type of the token plugin to use | string |
<nil> |
plugins.tokens[].fftokens
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL of the token connector | URL string |
<nil> |
plugins.tokens[].fftokens.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
plugins.tokens[].fftokens.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the token connector | URL string |
<nil> |
plugins.tokens[].fftokens.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
plugins.tokens[].fftokens.ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
30s |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
5 |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
16Kb |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
16Kb |
privatemessaging.batch
Key | Description | Type | Default Value |
---|---|---|---|
agentTimeout | How long to keep around a batching agent for a sending identity before disposal | time.Duration |
<nil> |
payloadLimit | The maximum payload size of a private message Data Exchange payload | BytesSize |
<nil> |
size | The maximum number of messages in a batch for private messages | int |
<nil> |
timeout | The timeout to wait for a batch to fill, before sending | time.Duration |
<nil> |
privatemessaging.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
sharedstorage
Key | Description | Type | Default Value |
---|---|---|---|
type | The Shared Storage plugin to use | string |
<nil> |
sharedstorage.ipfs.api
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL for the IPFS API | URL string |
<nil> |
sharedstorage.ipfs.api.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
sharedstorage.ipfs.api.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the IPFS API | URL string |
<nil> |
sharedstorage.ipfs.api.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
sharedstorage.ipfs.gateway
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
30s |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
1s |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
475ms |
maxIdleConns | The max number of idle connections to hold pooled | int |
100 |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
30s |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
10s |
url | The URL for the IPFS Gateway | URL string |
<nil> |
sharedstorage.ipfs.gateway.auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
sharedstorage.ipfs.gateway.proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the IPFS Gateway | URL string |
<nil> |
sharedstorage.ipfs.gateway.retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
5 |
enabled | Enables retries | boolean |
false |
initWaitTime | The initial retry delay | time.Duration |
250ms |
maxWaitTime | The maximum retry delay | time.Duration |
30s |
spi
Key | Description | Type | Default Value |
---|---|---|---|
address | The IP address on which the admin HTTP API should listen | IP Address string |
127.0.0.1 |
enabled | Enables the admin HTTP API | boolean |
<nil> |
port | The port on which the admin HTTP API should listen | int |
5001 |
publicURL | The fully qualified public URL for the admin API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation | URL string |
<nil> |
readTimeout | The maximum time to wait when reading from an HTTP connection | time.Duration |
15s |
shutdownTimeout | The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server | time.Duration |
10s |
writeTimeout | The maximum time to wait when writing to an HTTP connection | time.Duration |
15s |
spi.auth
Key | Description | Type | Default Value |
---|---|---|---|
type | The auth plugin to use for server side authentication of requests | string |
<nil> |
spi.auth.basic
Key | Description | Type | Default Value |
---|---|---|---|
passwordfile | The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt. | string |
<nil> |
spi.tls
Key | Description | Type | Default Value |
---|---|---|---|
caFile | The path to the CA file for TLS on this API | string |
<nil> |
certFile | The path to the certificate file for TLS on this API | string |
<nil> |
clientAuth | Enables or disables client auth for TLS on this API | string |
<nil> |
enabled | Enables or disables TLS on this API | boolean |
false |
keyFile | The path to the private key file for TLS on this API | string |
<nil> |
spi.ws
Key | Description | Type | Default Value |
---|---|---|---|
blockedWarnInterval | How often to log warnings in core, when an admin change event listener falls behind the stream they requested and misses events | time.Duration |
<nil> |
eventQueueLength | Server-side queue length for events waiting for delivery over an admin change event listener websocket | int |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
<nil> |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
<nil> |
subscription
Key | Description | Type | Default Value |
---|---|---|---|
max | The maximum number of pre-defined subscriptions that can exist (note for high fan-out consider connecting a dedicated pub/sub broker to the dispatcher) | int |
<nil> |
subscription.defaults
Key | Description | Type | Default Value |
---|---|---|---|
batchSize | Default read ahead to enable for subscriptions that do not explicitly configure readahead | int |
<nil> |
subscription.retry
Key | Description | Type | Default Value |
---|---|---|---|
factor | The retry backoff factor | boolean |
<nil> |
initDelay | The initial retry delay | time.Duration |
<nil> |
maxDelay | The maximum retry delay | time.Duration |
<nil> |
tokens[]
Key | Description | Type | Default Value |
---|---|---|---|
connectionTimeout | The maximum amount of time that a connection is allowed to remain with no data transmitted | time.Duration |
<nil> |
expectContinueTimeout | See ExpectContinueTimeout in the Go docs | time.Duration |
<nil> |
headers | Adds custom headers to HTTP requests | map[string]string |
<nil> |
idleTimeout | The max duration to hold a HTTP keepalive connection between calls | time.Duration |
<nil> |
maxIdleConns | The max number of idle connections to hold pooled | int |
<nil> |
name | A name to identify this token plugin | string |
<nil> |
plugin | The type of the token plugin to use | string |
<nil> |
requestTimeout | The maximum amount of time that a request is allowed to remain open | time.Duration |
<nil> |
tlsHandshakeTimeout | The maximum amount of time to wait for a successful TLS handshake | time.Duration |
<nil> |
url | The URL of the token connector | URL string |
<nil> |
tokens[].auth
Key | Description | Type | Default Value |
---|---|---|---|
password | Password | string |
<nil> |
username | Username | string |
<nil> |
tokens[].proxy
Key | Description | Type | Default Value |
---|---|---|---|
url | Optional HTTP proxy server to use when connecting to the token connector | URL string |
<nil> |
tokens[].retry
Key | Description | Type | Default Value |
---|---|---|---|
count | The maximum number of times to retry | int |
<nil> |
enabled | Enables retries | boolean |
<nil> |
initWaitTime | The initial retry delay | time.Duration |
<nil> |
maxWaitTime | The maximum retry delay | time.Duration |
<nil> |
tokens[].ws
Key | Description | Type | Default Value |
---|---|---|---|
heartbeatInterval | The amount of time to wait between heartbeat signals on the WebSocket connection | time.Duration |
<nil> |
initialConnectAttempts | The number of attempts FireFly will make to connect to the WebSocket when starting up, before failing | int |
<nil> |
path | The WebSocket sever URL to which FireFly should connect | WebSocket URL string |
<nil> |
readBufferSize | The size in bytes of the read buffer for the WebSocket connection | BytesSize |
<nil> |
writeBufferSize | The size in bytes of the write buffer for the WebSocket connection | BytesSize |
<nil> |
ui
Key | Description | Type | Default Value |
---|---|---|---|
enabled | Enables the web user interface | boolean |
<nil> |
path | The file system path which contains the static HTML, CSS, and JavaScript files for the user interface | string |
<nil> |