-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.yml
92 lines (69 loc) · 2.1 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Reader name
name: "ship-reader-1"
# Endpoint to nodeos api
api: "http://127.0.0.1:8888"
message_codec: "json"
# Logging settings
log:
# Filename to use.
filename: thalos
# Directory to store the logfiles in.
directory: logs
# Format to rename log files when rotating
time_format: 2006-01-02_150405
# Log rotation, logfile is rotated when any of these
# conditions are met. set to 0 or remove to disable.
# Rotate when the file reaches this size.
max_filesize: 200mb
# Rotate when the file is this old.
max_time: 24h
# SHIP settings
ship:
# Url to ship api.
url: "ws://127.0.0.1:8080"
# Name of chain. Note that this is just a name to be used in channel namespace.
# If unset, chain id from api is used.
# chain: wax
# Fetch irreversible blocks only
# irreversible_only: true
# Request ship to start sending blocks from this block.
# If not set, the head block reported by the nodeos api is used.
# start_block_num: 1000
# Request ship to stop sending blocks when reaching this block.
# end_block_num: 2000
# If true, Thalos will process table deltas
# table_deltas: false
# Blacklist contract/actions
blacklist:
# this is a "useless" action that results in alot of warning messages.
# becase thalos does not know it's ABI. Its recommended to have this action blacklisted
# unless you have a reason to use it.
eosio.null:
- nonce
# blacklist all action from a contract
# evilcontract: ["*"]
# blacklist_is_whitelist: true
# Configure the cache.
# Default is to use redis. But if you need to
# you can set additional values or even change the driver
# to something else that Thalos supports.
# See the documentation for details
# cache:
# storage: redis
# options: []
# Telegram notifications
# telegram:
# id: "123456789:GPdmGPBWvpgHPxlergJLavus-PoAURTjMWP"
# channel: -123456789
# Redis settings
redis:
# Address (and port) to redis server
addr: "localhost:6379"
# Username to use when authenticating
user: ""
# Password to use when authenticating
password: ""
# database index
db: 0
# Key prefix.
prefix: "ship"