|
|
45bf043d8a
|
Adding transport/redis_pubsub publisher
|
2023-01-13 13:31:05 +01:00 |
|
|
|
6b6a375228
|
Adding transport/publisher.go
|
2023-01-13 13:30:11 +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 |
|
|
|
c05b789269
|
move abi.go to abi/manager.go
|
2023-01-12 16:46: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 |
|
|
|
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 |
|
|
|
fb3ed0f976
|
Makefile: add test target.
|
2023-01-06 17:18:25 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
42da179c74
|
internal/redis/wrapper.go: in Key() used "::" as a separator between namespace and channel.
|
2023-01-06 15:38:21 +01:00 |
|
|
|
dcb1e173a2
|
Adding LICENSE file.
|
2023-01-05 17:09:55 +01:00 |
|
|
|
8ebcf70ba1
|
main.go: minor style fixes.
|
2023-01-05 17:08:47 +01:00 |
|
|
|
a9c8bd3a04
|
go.mod: change github.com/eosswedenorg-go/eos-ship-client to github.com/eosswedenorg-go/antelope-ship-client v0.2.0
|
2022-12-01 10:56:46 +01:00 |
|
|
|
433b23b77b
|
main.go: in readerLoop() bail out of function if error returned from shClient.Read is "socket closed".
|
2022-11-29 16:46:34 +01:00 |
|
|
|
7a24e9d684
|
go.mod: Upgrade github.com/eosswedenorg-go/eos-ship-client to v0.1.4
|
2022-11-29 16:39:48 +01:00 |
|
|
|
becd50da9c
|
go.mod: remove unneeded packages.
|
2022-11-29 16:39:11 +01:00 |
|
|
|
6d8c63f958
|
Remove internal/telegram/wrapper.go
|
2022-11-29 16:38:54 +01:00 |
|
|
|
9f1b2f3026
|
main.go: use github.com/nikoksr/notify as notification system instead of calling telegram directly.
|
2022-11-29 16:38:06 +01:00 |
|
|
|
1d350fc5f1
|
Adding docs/messages.md
|
2022-11-29 15:08:57 +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 |
|
|
|
3694bc1c42
|
types.go: adding HearthBeat struct
|
2022-11-29 15:04:29 +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 |
|
|
|
0c91290afb
|
types.go: Adding ActionTrace.HexData field.
|
2022-11-29 14:49:56 +01:00 |
|
|
|
61d9836275
|
config.example.json: Adding redis.prefix
|
2022-11-29 13:45:48 +01:00 |
|
|
|
186983d54f
|
main.go: Pass config.Redis.Prefix to redis.SetPrefix()
|
2022-11-29 13:45:13 +01:00 |
|
|
|
ab7a8f0433
|
config/config.go: Adding RedisConfig.Prefix
|
2022-11-29 13:44:29 +01:00 |
|
|
|
cd9dd6468a
|
redis/wrapper.go: make "prefix" variable internal and provide SetPrefix() function
|
2022-11-29 05:55:13 +01:00 |
|
|
|
c1cdf50975
|
abi_cache/cache_test.go: change require.Error() to assert.Error() and remove the import.
|
2022-11-29 05:41:28 +01:00 |
|
|
|
9d3d5bbafd
|
abi_cache/cache_test.go: Minor code niceness fix.
|
2022-11-29 05:40:50 +01:00 |
|
|
|
f00b755e00
|
ship_processor.go: include TransactionID in action traces.
|
2022-11-29 05:37:11 +01:00 |
|
|
|
4aa929ff16
|
types.go: Add ActionTrace.TxID field.
|
2022-11-29 05:36:39 +01:00 |
|
|
|
4f722342bb
|
main.go: remove unreachable code
|
2022-11-28 17:31:58 +01:00 |
|
|
|
d8c198c24d
|
main.go: in readerLoop() also switch to RS_CONNECT state on shipclient.ErrNotConnected error.
|
2022-11-28 17:29:11 +01:00 |
|