|
|
83d57a09c4
|
Version 1.1.0
|
2024-03-01 16:46:22 +01:00 |
|
|
|
5f2ae2ea52
|
Makefile: make test command also test api.
|
2024-02-29 19:33:24 +01:00 |
|
|
|
cbe791d7df
|
api/message/msgpack/codec_test.go: fix tests.
|
2024-02-29 19:11:25 +01:00 |
|
|
|
212a8c892c
|
api/message/json/codec_test.go: fix tests.
|
2024-02-29 16:15:54 +01:00 |
|
|
|
b3570e7e96
|
internal/server/ship_processor.go: set FirstReceiver on ActionTrace messages.
|
2024-02-29 14:43:23 +01:00 |
|
|
|
700d7d0168
|
api/message/types.go: Adding FirstReceiver to ActionTrace
|
2024-02-29 14:41:56 +01:00 |
|
|
|
79d2496185
|
Version 1.1.0-rc2
|
2024-02-28 23:33:40 +01:00 |
|
|
|
f7d020b094
|
update dependencies
|
2024-02-28 23:26:32 +01:00 |
|
|
|
aaf490456c
|
internal/config: adding --log-file-timestamp flag.
|
2024-02-22 22:35:44 +01:00 |
|
|
|
aa43fc003f
|
internal/log/RotatingFile.go: in NewRotatingFileFromConfig() set timestamp format.
|
2024-02-22 10:08:50 +01:00 |
|
|
|
d6a7bcd2bb
|
internal/log/RotatingFileOptions.go: add WithTimestampFormat function
|
2024-02-21 17:31:29 +01:00 |
|
|
|
a66f1804da
|
internal/log/RotatingFile.go: directories should have 755 as unix permission bits.
|
2024-02-21 17:28:47 +01:00 |
|
|
|
90b10f39ae
|
internal/log/RotatingFile.go: use option functions.
|
2024-02-21 17:22:06 +01:00 |
|
|
|
bcdaa9cea4
|
internal/log/RotatingFileOptions.go: adding implementation for the functional option pattern.
|
2024-02-20 19:43:27 +01:00 |
|
|
|
cd54b770a5
|
internal/log/config.go: adding FileTimestampFormat field
|
2024-02-20 19:28:06 +01:00 |
|
|
|
e046484d9b
|
Version 1.1.0-rc1
|
2024-02-19 15:10:05 +01:00 |
|
|
|
a2a9e106a3
|
.github/workflows/release.yml: use make to build debian package
|
2024-02-19 15:07:17 +01:00 |
|
|
|
39135ab781
|
makefile: adding build-deb target.
|
2024-02-19 15:02:18 +01:00 |
|
|
|
de7c1b160c
|
debian/thalos.postinst: indent fix
|
2024-02-19 13:48:16 +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 |
|
|
|
1799fe4ebf
|
README.md: update build command
|
2024-02-18 20:00:24 +01:00 |
|
|
|
6cc26c269c
|
.github/workflows/release.yml: update actions
|
2024-02-18 19:59:12 +01:00 |
|
|
|
53c7053177
|
.github/workflows/test.yml: update actions
|
2024-02-18 19:57:03 +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 |
|
|
|
69a36e016c
|
internal/config: skip creating a Config struct with default values. those should be set by flags or viper in the builder
|
2024-02-18 16:11:32 +01:00 |
|
|
|
e54a4fa929
|
internal/config: remove shorthand ship config (where it is possible to have "ship" key only contain a url string instead of struct)
It makes parsing harder and i don't think anyone uses it and its not that useful tbh.
|
2024-02-18 16:08:18 +01:00 |
|
|
|
4a4489e2be
|
internal/config/builder_test.go: adding test for config with flags
|
2024-02-18 16:04:02 +01:00 |
|
|
|
2db0a64bd4
|
internal/config: add additional flags for config fields.
|
2024-02-18 15:45:10 +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 |
|
|
|
117f1b50b4
|
internal/config/builder.go: bind start-block, end-block flags to config
|
2024-02-18 11:39:32 +01:00 |
|
|
|
cb207b2f33
|
cmd/thalos/main.go: Add start-block and end-block flags.
|
2024-02-18 11:39:32 +01:00 |
|
|
|
7033240000
|
internal/config/cli.go: Rename Config.ReadCliFlags to ovverideCliFlags and make it a function instead of method.
|
2024-02-18 11:39:32 +01:00 |
|
|
|
b4c305d8ea
|
Remove internal/config/file.go
|
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 |
|
|
|
0d1bec6a62
|
Adding internal/config/builder.go
|
2024-02-18 11:39:32 +01:00 |
|
|
|
85da219349
|
Merge branch 'refactor'
|
2024-02-17 17:32:19 +01:00 |
|
|
|
33efb36901
|
Remove app/config/yaml.go as we use viper and mapstructure to parse.
|
2024-02-17 16:43:57 +01:00 |
|
|
|
a0b88d1991
|
app/config/file.go: define Read() that uses viper to read the config.
|
2024-02-17 16:43:36 +01:00 |
|
|
|
dbaa520160
|
app/config/config.go: adding decodeShorhandShipConfig() for mapstructure decoding.
|
2024-02-17 16:42:39 +01:00 |
|
|
|
b517943fee
|
app/log/config.go: add mapstructure tags
|
2024-02-17 16:31:14 +01:00 |
|