1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00
Commit graph

76 commits

Author SHA1 Message Date
4bf589647c internal/server/helpers.go: add a comment in empty for loop (as i almost removed it because it was empty) 2024-08-11 13:03:55 +02:00
ecdde63f68 internal/config/cli.go: set description for abi-cache-api-timeout flag 2024-07-28 14:45:33 +02:00
ebbaf6e2c1 internal/config: Adding cache configuration 2024-07-23 16:46:02 +02:00
d1d4bf58b1 cache: adding factory method for redis 2024-07-23 16:32:36 +02:00
2f31eb47d4 cache: adding factory 2024-07-23 16:31:18 +02:00
ec40e954f2 internal/abi/manager.go: Use config.AbiCache to configure the manager 2024-07-21 12:52:40 +02:00
b60436c48a config: adding AbiCache 2024-07-21 12:50:41 +02:00
dccd7c0520 internal/config/builder_test.go: fix syntax error 2024-07-19 13:48:59 +02:00
ad90966e24 internal/abi/manager_test.go: remove call to fmt.Println() 2024-07-18 21:42:35 +02:00
22896f8859 internal/config/builder_test.go: rewrite ConfigWithFlags to WithDefaultConfig as we already have a test for flags 2024-07-18 21:35:23 +02:00
621f9ceeea internal/server/helpers_test.go: set large untyped int constants to int64. 2024-07-16 20:44:36 +02:00
20168a9329 implement whitelist option in blacklist 2024-07-16 16:59:01 +02:00
4f27307c70 internal/types/blacklist.go: add isWhitelist field 2024-07-15 23:02:29 +02:00
0aee0a97aa internal/types/blacklist.go: adding Empty() 2024-07-15 22:58:14 +02:00
cbd3196cf9 internal/types/blacklist.go: change Lookup to IsAllowed and add IsDenied 2024-07-13 19:23:49 +02:00
a9a129e418 internal/abi/manager_test.go: update action and table names to chain.Name types 2024-07-03 18:16:14 +02:00
ef6329d1b7 internal/server/ship_processor.go: updateAbiFromAction() should not hex decode abi as it is in binary format
only when encoding the action to json it is in hex, but from ship =
always binary
2024-07-03 18:01:31 +02:00
e0f598eba4 internal/server/ship_processor.go: in updateAbiFromAction() fix field order in set_abi struct 2024-07-02 19:46:24 +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
dfa370a462 internal/server/ship_processor.go: adding some debug logging. 2024-07-02 11:26:26 +02:00
0bc70f82d1 internal/server/ship_processor.go: implement blacklist 2024-06-23 14:53:58 +02:00
6d14591f6b internal/config: adding blacklist field to Ship config 2024-06-23 14:52:05 +02:00
93a816cb2c Adding internal/types/blacklist.go 2024-06-23 14:46:38 +02:00
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