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

53 commits

Author SHA1 Message Date
01054fb0bf internal/abi/manager_test.go: update because of antelope-go v0.0.4 2024-06-22 17:02:19 +02:00
ea5b2b8fc2 internal/server/helpers.go fix a bug in isVariant() where v.Elem() was called on non interface/pointer 2024-05-28 13:30:21 +02:00
8bd3736684 internal/server/ship_processor.go: refactor out table delta row proccessing to its own function 2024-05-17 17:08:29 +02:00
cc754ee976 internal/server/ship_processor.go: fix a bug where blockResult.Deltas whas not properly nil checked. Resulting in panic if accessed 2024-05-17 16:57:13 +02:00
c02cff0e05 internal/server/ship_processor.go: fix a bug where TableDeltaRow.Data was not set 2024-05-17 16:54:57 +02:00
59bcc9f19f internal/server/helpers.go: adding parseTableDeltaData() 2024-05-17 16:53:05 +02:00
95365d0c26 internal/server/ship_processor.go: refactor to use MessageQueue struct. 2024-05-12 17:15:03 +02:00
c876875a6e internal/server/message_queue.go: adding MessageQueue struct
This struct will handle the routing to channels aswell as encoding of
the messages.
2024-05-12 17:14:00 +02:00
871f2ae04d internal/server/ship_processor.go: set TransactionTrace.Status again. 2024-05-11 14:57:46 +02:00
63da39f03b Update to use antelope-go instead of eos-go library 2024-04-29 21:00:45 +02:00
8aa93dd078 internal/server/ship_processor.go: break processBlock into smaller functions. 2024-03-14 23:24:31 +01:00
e8f2e79e5b internal/server/ship_processor.go: typo fix. 2024-03-14 00:31:16 +01:00
aeac190c94 Minor fixes. 2024-03-07 18:09:14 +01:00
b3570e7e96 internal/server/ship_processor.go: set FirstReceiver on ActionTrace messages. 2024-02-29 14:43:23 +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
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
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
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
9974bfe3fd rename app folder to internal. 2024-02-14 13:00:33 +01:00
bcf55f1c12 Remove internal/redis/wrapper.go 2023-01-13 13:45:41 +01:00
b22118898d move channel stuffs from internal/redis to transport. 2023-01-13 13:38:04 +01:00
3251c94416 move internal/config to config 2023-01-12 16:49:27 +01:00
92c605c7fa move internal/abi_cache to abi 2023-01-12 16:48:04 +01:00
9c3bd1e879 internal/abi_cache/cache.go: change "this" variable to "cache". 2023-01-12 16:31:51 +01:00
caf7460875 internal/redis/channel.go: Don't need to use fmt.Sprintf() anymore. 2023-01-12 15:37:29 +01:00
51af80d3aa internal/redis/channel.go: Make Append() accept a variadic number of parameters. 2023-01-12 15:37:29 +01:00
0e19f6d146 internal/redis/channel.go: Change delimiter to "/" 2023-01-12 15:37:29 +01:00
dd9bd85801 internal/redis/namespace.go: Change delimiter to "::" 2023-01-12 15:37:14 +01:00
1bc43cc87b internal/redis/namespace.go: Adding Namespace.NewKey() helper function. 2023-01-06 17:07:22 +01:00
13c8ed7692 Refactor to use the new redis.Key,redis.Namespace and redis.Channel types. 2023-01-06 17:06:27 +01:00
61beca435c Adding internal/redis/key.go 2023-01-06 17:05:44 +01:00
15b9a9804f Adding internal/redis/namespace.go 2023-01-06 16:55:36 +01:00
e91951d7ed Adding internal/redis/channel.go 2023-01-06 16:53:04 +01:00
42da179c74 internal/redis/wrapper.go: in Key() used "::" as a separator between namespace and channel. 2023-01-06 15:38:21 +01:00
6d8c63f958 Remove internal/telegram/wrapper.go 2022-11-29 16:38:54 +01:00