1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-10-17 03:36:45 +02:00
Commit graph

97 commits

Author SHA1 Message Date
86e3d82c91 fix(config): propagate config setup errors 2026-08-29 13:49:11 +02:00
8fa7f79496 fix(server): handle message queue write errors 2026-08-29 13:36:14 +02:00
3d26a3e821 ship: add action and transaction posting toggles 2026-08-28 14:24:43 +02:00
7bb3aba097 chore: add golangci-lint CI and fix lint violations 2026-08-28 13:32:39 +02:00
b9ec306c7a refactor: migrate blacklist to internal/filter list 2026-08-28 10:08:01 +02:00
09284231ed internal/types/blacklist: fix IsDenied semantics 2026-08-27 23:13:50 +02:00
90a8de15fe ship: add table delta whitelist filtering 2026-08-27 20:01:19 +02:00
2006da6a19 internal/types/blacklist.go: add BlacklistWildcard constant 2024-12-04 15:15:22 +01:00
eb2032e233 internal/types/blacklist.go: implement wildcard for contracts 2024-12-04 15:14:10 +01:00
120c2acdc6 internal/server/ship_processor.go: refactor processDeltaRows() to reduce nested blocks 2024-11-26 06:52:14 +01:00
33c983f6c5 internal/server/ship_processor.go: adding FetchDeltas() 2024-10-21 12:27:29 +02:00
bedb8a92e8 config: adding Ship.EnableTableDeltas and table_deltas cli flag 2024-10-21 12:24:29 +02:00
7197720350 small fix to cli descriptions and flag help texts 2024-08-26 13:14:00 +02:00
c769b6a700 typo fixes and added comments 2024-08-26 13:11:32 +02:00
fa6508ba90 internal/server/ship_processor.go: try decoding table data for contract_row table deltas 2024-08-11 17:04:06 +02:00
6d7d004b2b internal/ship/contract_row.go: adding DecodeContractRow that actually decodes data from abi 2024-08-11 17:03:42 +02:00
a892b40cde internal/ship/contract_row.go: rename DecodeContractRow to ParseContractRow 2024-08-11 17:03:14 +02:00
14a498d7d6 internal/server/ship_processor.go: add WithError() to a logging call 2024-08-11 16:59:23 +02:00
67d33a280e move internal/server/helpers.go to internal/ship/action.go 2024-08-11 16:56:55 +02:00
2ed9518635 internal/server/helpers.go: refactor some functions to internal/ship 2024-08-11 16:52:58 +02:00
0e75fb869b adding internal/ship/contract_row.go 2024-08-11 16:14:15 +02:00
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