1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos-docs synced 2026-06-16 04:34:55 +02:00

docs/configuration.md: document ship.blacklist

This commit is contained in:
Henrik Hautakoski 2024-06-27 14:17:21 +02:00
parent 90e326422a
commit af31dcbd65

View file

@ -43,6 +43,10 @@ Thalos will start streaming blocks starting from this one. if undefined, the cur
Thalos will stop streaming when the block number defined by this value will be reached. if undefined thalos will never stop.
`ship.blacklist` ([`ContractList`](#contractlist))
List of contract,actions pairs that Thalos will not process if encountered.
### Redis
`redis.addr` ([`string`](#string)) - Address (and port) to redis server
@ -136,3 +140,23 @@ A duration string is a possibly signed sequence of decimal numbers, each with op
Valid time units are `"ns"`, `"us"` (or `"µs"`), `"ms"`, `"s"`, `"m"`, `"h"`.
### ContractList
A array of contract and actions pairs.
Keys (contracts) are of type [`string`](#string) and values are an array of [`string`](#string) (one or more actions).
Action array can hold a special string `*` that matches any action.
**example**:
```yaml
mycontract: [ action1, action2 ]
# or
mycontract:
- action1
- action2
# To target all actions on a contract:
mycontract: [ "*" ]
```