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

28 commits

Author SHA1 Message Date
a9c512d0b0 ship_processor.go: rename struct to ShipProcessor 2023-01-17 21:44:56 +01:00
5c5d7e57a9 ship_processor.go: move encodeMessage to transport/message/encoding.go 2023-01-17 21:03:48 +01:00
f589f5c0ed ship_processor.go: Move decodeAction() to abi/helpers.go 2023-01-17 21:01:09 +01:00
2d369adabf ship_processor.go: refactor to a struct to get rid of global state. 2023-01-17 20:57:09 +01:00
b22118898d move channel stuffs from internal/redis to transport. 2023-01-13 13:38:04 +01:00
d0782c3c7c ship_processor.go: Use publisher instead of redis directly. 2023-01-13 13:36:09 +01:00
45d1a468e8 abi.go: Get rid of global state by defining an AbiManager struct. 2023-01-12 16:44:20 +01:00
0ded3ee6fe abi.go: move DecodeAction to ship_processor. 2023-01-12 16:33:06 +01:00
83a4c9f70f ship_processor.go: encodeQueue should accept and redis.ChannelInterface instead of redis.Channel to make it more generic. 2023-01-06 17:17:01 +01:00
723b0786cb ship_processor.go: make queueMessage() accept an redis.ChannelInterface instead of redis.Key so we can call redisNs.NewKey() as late as possible. 2023-01-06 17:15:31 +01:00
93300f01ea ship_processor.go: in processTraces() make a slice of redis.ChannelInterface instead of redis.Key so we don't have to repeat our self. 2023-01-06 17:12:55 +01:00
4b41718c78 ship_processor.go: Use redis.Namespace.NewKey() 2023-01-06 17:09:41 +01:00
13c8ed7692 Refactor to use the new redis.Key,redis.Namespace and redis.Channel types. 2023-01-06 17:06:27 +01:00
177b715ba4 ship_processor.go: typo fix. hearthbeat should be heartbeat. 2023-01-06 16:39:14 +01:00
73f0ba0555 ship_processor.go: improve channel names for actions. 2023-01-06 15:39:13 +01:00
ddd5d67901 Move internal packages into internal subdirectory 2022-11-29 15:08:23 +01:00
770f0a48ef ship_processor.go: Send hearthbeat every 10'th block. 2022-11-29 15:04:50 +01:00
3ecf4c7c42 ship_processor.go: move some repetitive code into helper functions. 2022-11-29 14:51:51 +01:00
6c9350136c ship_processor.go: Include hex data in action traces. 2022-11-29 14:50:24 +01:00
f00b755e00 ship_processor.go: include TransactionID in action traces. 2022-11-29 05:37:11 +01:00
46b0db2ff2 Switch logging from standard log package to logrus. 2022-11-28 17:04:44 +01:00
1e2dda54c8 Formatting fix. 2022-11-28 15:25:54 +01:00
231b467dbe Also move "redis wrapper" into it's own package. 2022-03-11 11:35:33 +01:00
c13b2d49c6 Merge branch 'performance-fix'
# Conflicts:
#	go.mod
#	go.sum
#	redis.go
2022-02-02 16:10:27 +01:00
ad37945951
ship_processor.go: use redis pipelines for publishing. 2022-01-20 11:52:31 +01:00
6cdb596b41
ship_processor.go: also publish transactions to redis. 2022-01-20 11:24:18 +01:00
bfaaacc3ad
ship_processor.go: Print error when encoding fails. 2022-01-20 11:22:54 +01:00
164d0a4153
Initial commit 2022-01-17 13:45:25 +01:00