|
|
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 |
|
|
|
58d4538159
|
go.mod: Require a minimum version of go 1.8 as we have dependencies that require it.
|
2022-11-28 17:22:37 +01:00 |
|
|
|
d8cdcfd11b
|
go.mod: upgrade packages.
|
2022-11-28 17:15:35 +01:00 |
|
|
|
10e40bbcc3
|
go.mod: Upgrade github.com/eosswedenorg-go/eos-ship-client to v0.1.3
|
2022-11-28 17:13:43 +01:00 |
|
|
|
46b0db2ff2
|
Switch logging from standard log package to logrus.
|
2022-11-28 17:04:44 +01:00 |
|
|
|
a4caf6c003
|
go.mod: require github.com/sirupsen/logrus
|
2022-11-28 17:04:22 +01:00 |
|
|
|
bcc0fcd7d7
|
main.go: Simplify boolean expression because the linter says so.
|
2022-11-28 15:39:59 +01:00 |
|
|
|
b24d8d1e2c
|
main.go: check return error from shClient.SendCloseMessage()
|
2022-11-28 15:38:59 +01:00 |
|
|
|
462f4c388c
|
abi.go: Use fmt.Errorf() instead of errors.New()
|
2022-11-28 15:27:42 +01:00 |
|
|
|
621aeedbd0
|
config/config.go: fix RedisConfig.DB json tag.
|
2022-11-28 15:26:36 +01:00 |
|
|
|
1e2dda54c8
|
Formatting fix.
|
2022-11-28 15:25:54 +01:00 |
|
|
|
953113b456
|
main.go: give a more descriptive error message when initializing telegram.
|
2022-06-26 21:49:20 +02:00 |
|
|
|
72e1be8944
|
main.go: in readerLoop() add a counter and sent to telegram if we try connecting more than 3 times.
|
2022-06-23 14:36:54 +02:00 |
|
|
|
9a3dac391e
|
main.go: initialize telegram
|
2022-06-23 14:36:54 +02:00 |
|
|
|
d883a8d446
|
Adding telegram/wrapper.go
|
2022-06-23 14:36:54 +02:00 |
|
|
|
f2006dc174
|
require github.com/go-telegram-bot-api/telegram-bot-api/v5
|
2022-06-23 14:36:54 +02:00 |
|
|
|
dbe01ad7ca
|
config/config.go: Adding telegram.
|
2022-06-23 11:32:57 +02:00 |
|
|
|
fdc18e30cb
|
config/config.go: Adding name field
|
2022-06-23 11:26:54 +02:00 |
|
|
|
d05a8c0e03
|
tidy go mod files.
|
2022-03-11 11:41:52 +01:00 |
|
|
|
231b467dbe
|
Also move "redis wrapper" into it's own package.
|
2022-03-11 11:35:33 +01:00 |
|
|
|
8df93439c3
|
convert abi_cache into a proper package.
|
2022-03-11 11:28:16 +01:00 |
|
|
|
97a3f0e2f3
|
Move config into it's own package.
|
2022-03-11 11:26:26 +01:00 |
|
|
|
545474be4e
|
Update github.com/eosswedenorg-go/eos-ship-client to v0.1.0
|
2022-02-02 17:10:16 +01:00 |
|
|
|
0c876cea72
|
abi.go: in GetAbi: wrap error message so we know if api or redis failed.
|
2022-02-02 16:28:31 +01:00 |
|
|
|
c13b2d49c6
|
Merge branch 'performance-fix'
# Conflicts:
# go.mod
# go.sum
# redis.go
|
2022-02-02 16:10:27 +01:00 |
|
|
|
50e3dfd0ce
|
main.go: check redis connection.
|
2022-02-02 15:58:18 +01:00 |
|