1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
Commit graph

98 commits

Author SHA1 Message Date
8a938c3f9e cmd/thalos/server.go: use factory and config to create cache store 2024-07-23 18:34:30 +02:00
ec40e954f2 internal/abi/manager.go: Use config.AbiCache to configure the manager 2024-07-21 12:52:40 +02:00
1b1e6a1e33 cmd/thalos/server.go: move chainInfoOnce to its own file 2024-07-19 13:43:37 +02:00
20168a9329 implement whitelist option in blacklist 2024-07-16 16:59:01 +02:00
71f9d4d789 gomod: update pnx/antelope-go v0.0.4 to shufflingpixels/antelope-go v0.1.0 2024-07-02 16:53:41 +02:00
32f3f1dfb1 cmd/thalos/server.go: set blacklist in the processor 2024-06-23 14:54:44 +02:00
8b8867394f tools: cleanup and refactor to make code more readable. 2024-06-19 21:45:45 +02:00
63da39f03b Update to use antelope-go instead of eos-go library 2024-04-29 21:00:45 +02:00
bf97f2e97a cmd/tools/redis-acl.go: adding flag for password length. 2024-03-14 00:28:24 +01:00
72b4f0a327 cmd/tools/redis-acl.go: fix correct syntax for cleartext passwords. 2024-03-07 23:29:31 +01:00
69b31eae1a cmd/tools/redis-acl.go: enable ping command for server user. 2024-03-07 23:15:25 +01:00
aeac190c94 Minor fixes. 2024-03-07 18:09:14 +01:00
bc46e516d9 cmd/thalos/server.go: prefix ship connection logs with "ship client" and cleanup the messages abit. 2024-02-18 20:35:23 +01:00
3cb25a5717 cmd/thalos/server.go: Don't log error if we get a (normal) close message from ship. 2024-02-18 20:28:02 +01:00
9dcb8c4f0c cmd/thalos/server.go: move redis connect code to it's own function and log connection attempt. 2024-02-18 20:23:00 +01:00
1658b3ea99 cmd/thalos/server.go: parse config before doing anything else. 2024-02-18 20:07:35 +01:00
fb62e10667 cmd/thalos/server.go: Set context timeout to eos api call. 2024-02-18 20:06:51 +01:00
2382f72e5a Merge branch '32-request-for-more-startup-flags' 2024-02-18 20:03:54 +01:00
432dfab410 cmd/thalos/server.go: only fetch chain info from api once (or zero for code paths that does not need it). 2024-02-18 18:39:55 +01:00
368d3f36bf cmd/thalos/server.go: remove debug call to Println() 2024-02-18 18:10:46 +01:00
fb3b35cbe9 cmd/thalos/server.go: in stateLoader(): set "cli" as source if start block is set via cli flag. 2024-02-18 18:09:57 +01:00
146ea99298 cmd/thalos/server.go: in GetConfig() should override "no-state-cache" flag if "start-block" flag is set. 2024-02-18 18:04:04 +01:00
7f1f186aa0 nternal/config/cli.go: move overrideCliFlags() to cmd/thalos/server.go as its pretty specific code. 2024-02-18 18:00:26 +01:00
53baae8a7f internal/config/cli.go: move flags that are not bound to config to cmd/thalos/main.go 2024-02-18 17:40:04 +01:00
beb5b6cf04 cmd/thalos/main.go: move cli flags to internal/config/cli.go as it is easier to write tests if we can get a hold of the flags. 2024-02-18 14:36:27 +01:00
cb207b2f33 cmd/thalos/main.go: Add start-block and end-block flags. 2024-02-18 11:39:32 +01:00
cad74a4d84 cmd/thalos/server.go: use the new config.Builder 2024-02-18 11:39:32 +01:00
85da219349 Merge branch 'refactor' 2024-02-17 17:32:19 +01:00
59480533d3 refactor cli to use cobra. 2024-02-17 14:34:27 +01:00
b853bc026e cmd/thalos/server.go: remove global variables. 2024-02-14 21:03:37 +01:00
7108299550 cmd/thalos/main.go: minor cleanup in VersionPrinter 2024-02-14 13:01:34 +01:00
9974bfe3fd rename app folder to internal. 2024-02-14 13:00:33 +01:00
afb90af1db cmd/thalos/server.go: in run() set running flag to false before calling shClient.Shutdown() so readerLoop() exists correctly. 2024-02-13 23:14:47 +01:00
775760ec32 cmd/thalos/server.go: get rid of exit channel. its sufficient to just use running flag. 2024-02-13 23:13:51 +01:00
457e0e4eeb cmd/thalos/server.go: define and use ReadConfig() that utilizes Config.ReadFile and Config.ReadCliFlags() methods 2024-02-12 15:14:21 +01:00
a36c3f7853 cmd/thalos/server.go: wrap errors returned to main (to give more context) 2024-02-12 14:55:02 +01:00
e5e15a7645 app/config/config.go: rework api. 2024-02-11 14:29:01 +01:00
655dd730d7 switch github.com/pborman/getopt to github.com/urfave/cli for handling cli flags 2024-02-10 18:52:50 +01:00
729860cf76 cmd/tools/validate.go: log errors from client. 2024-02-07 17:32:03 +01:00
133af980a3 api/client.go: Rework to use a channel instead of callback. 2024-02-04 22:49:49 +01:00
cb14978118 cmd/tools/mock_publisher.go: add log message before starting. 2024-02-02 16:52:50 +01:00
e93cc1d139 tools: rename redis prefix flag to just prefix. 2024-02-02 16:52:31 +01:00
1f3e4a0fd9 cmd/tools/redis-acl.go: Make timestamp used as the random seed have nanoseconds precision. 2024-01-15 22:30:43 +01:00
ebeef44c31 cmd/tools/redis-acl.go: should not call rand.Seed(), instead create a new rand.Rand object. 2024-01-15 22:29:27 +01:00
578f9e83d7 cmd/tools/mock_publisher.go: fix correct imports. 2023-12-17 19:37:08 +01:00
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