41ab39d4a3
cmd/thalos/main.go: pass context to cache.
2023-12-17 17:58:42 +01:00
22e98f1c37
Merge branch 'cache'
...
# Conflicts:
# app/abi/manager.go
# app/ship_processor.go
# cmd/thalos/main.go
2023-12-06 15:38:34 +01:00
7b1b500b22
cmd/thalos/main.go: have running variable be set to true on initialization.
...
No point setting it in readerLoop() as its only used to exit the application, as soon as its set to false. the application should exit as soon as possible.
2023-12-06 15:30:09 +01:00
24bf44a175
move writer interface and redis publish from api module as these are for the server side.
2023-11-25 15:14:21 +01:00
7ee70c00d7
cmd/thalos/main.go: fix help text for version flag.
2023-11-04 13:34:00 +01:00
1daf38bd3d
cmd/thalos/main.go: adding "-n" flag to force current block from config/api.
2023-11-04 13:32:32 +01:00
fa48a79610
cmd/thalos/main.go: adding stateLoader and stateSaver functions for passing to processor.
2023-11-04 13:27:44 +01:00
2acae14ff8
cmd/thalos/main.go: use new cache struct and abi manager.
2023-11-01 21:30:42 +01:00
b364ce56d8
cmd/thalos/main.go: Add "level" cli flag to make it possible for user to specify log level.
2023-08-30 16:06:57 +02:00
16ab7d1fcf
cmd/thalos/main.go: Fix some log lines to use structured logging.
2023-08-30 15:52:57 +02:00
6c61382f4c
cmd/thalos/main.go: in readerLoop() make sure we set shClient.StartBlock to processor's current block when (re)connecting.
2023-08-21 14:12:07 +02:00
e1dc5f85a0
cmd/thalos/main.go: Make telegram notifications optional
2023-07-18 10:21:14 +02:00
129272d32e
cmd/thalos/main.go: pass chain id instead of prefix as id to AbiManager
2023-07-13 07:09:09 +02:00
500cddc082
app/config/config.go: Adding User field to RedisConfig
2023-07-13 06:57:41 +02:00
fb54dd9960
cmd/thalos/main.go: exit the program correctly if we get shipclient.ErrEndBlockReached
2023-06-26 16:24:00 +02:00
5834e60633
cmd/thalos/main.go: move log init function to app/log/init.go
2023-06-15 11:38:58 +02:00
a91df0c39e
Upgrade from redis v8 to v9
2023-06-05 16:55:15 +02:00
c2d60a1240
api/redis/publisher.go: pass context as first parameter to NewPublisher()
2023-06-05 13:24:14 +02:00
93e765f14c
cmd/thalos/main.go: Implement log splitting if file logging is enabled.
2023-05-17 10:52:12 +02:00
2335dbc211
Merge pull request #17 from eosswedenorg/15-support-chain-names
...
support chain names
2023-05-15 15:33:08 +02:00
ac57e82992
cmd/thalos/main.go: use conf.Ship.Chain if set as namespace. otherwise default to chain id from api.
2023-05-15 15:29:31 +02:00
5f9a54c0d8
cmd/thalos/main.go: implement exponential backoff algorithm in reconnect logic
2023-05-15 15:17:20 +02:00
1193e57e33
cmd/thalos/main.go: Adding VersionString variable
2023-05-13 13:27:50 +02:00
ed4cc9d1e6
Rename cmd/main/main.go to cmd/thalos/main.go
2023-05-13 13:21:42 +02:00