0bfcc4e492
Version 0.2.2
2023-12-17 19:38:02 +01:00
578f9e83d7
cmd/tools/mock_publisher.go: fix correct imports.
2023-12-17 19:37:08 +01:00
41ab39d4a3
cmd/thalos/main.go: pass context to cache.
2023-12-17 17:58:42 +01:00
1d5e28a38f
app/abi/manager.go: pass context to cache.
2023-12-17 17:58:06 +01:00
5a5e4bfd2e
app/cache/cache.go: make context aware and pass context down to store.
2023-12-17 17:57:49 +01:00
6106481417
app/cache: implement store interface.
2023-12-17 17:51:50 +01:00
8b3202e4d3
app/cache/store.go: make interface context aware.
2023-12-17 17:51:32 +01:00
22e98f1c37
Merge branch 'cache'
...
# Conflicts:
# app/abi/manager.go
# app/ship_processor.go
# cmd/thalos/main.go
2023-12-06 15:38:34 +01:00
eeab11c44b
app/abi/manager.go: its probably a good thing (tm) to set a context timout when getting the abi from the api.
2023-12-06 15:32:33 +01:00
7b1b500b22
cmd/thalos/main.go: have running variable be set to true on initialization.
...
No point setting it in readerLoop() as its only used to exit the application, as soon as its set to false. the application should exit as soon as possible.
2023-12-06 15:30:09 +01:00
24bf44a175
move writer interface and redis publish from api module as these are for the server side.
2023-11-25 15:14:21 +01:00
a94fbe191a
go mod: update dependencies
2023-11-06 17:13:01 +01:00
1166f3ac5f
go mod: update github.com/eosswedenorg-go/antelope-ship-client to v0.2.7
2023-11-06 16:51:08 +01:00
ba7f117420
.github/workflows/release.yml: use go version 1.21 for ubuntu packages.
2023-11-05 20:40:10 +01:00
2a906e8818
Version 0.2.1
2023-11-04 13:44:01 +01:00
7ee70c00d7
cmd/thalos/main.go: fix help text for version flag.
2023-11-04 13:34:00 +01:00
1daf38bd3d
cmd/thalos/main.go: adding "-n" flag to force current block from config/api.
2023-11-04 13:32:32 +01:00
fa48a79610
cmd/thalos/main.go: adding stateLoader and stateSaver functions for passing to processor.
2023-11-04 13:27:44 +01:00
9946bd59e1
app/ship_processor.go: implement StateLoader and StateSaver.
2023-11-04 13:24:15 +01:00
1ae3da425c
app/state.go: Adding StateLoader and StateSaver function types.
2023-11-04 13:21:30 +01:00
310f96219f
app/ship_processor.go: remove current_block and use state.CurrentBlock instead.
2023-11-01 21:47:21 +01:00
98a49538e2
Adding app/state.go
2023-11-01 21:46:15 +01:00
64459eca10
app/ship_processor.go: typo fix.
2023-11-01 21:46:00 +01:00
2acae14ff8
cmd/thalos/main.go: use new cache struct and abi manager.
2023-11-01 21:30:42 +01:00
424ae2fc40
app/abi: rework manager to use new cache struct.
2023-11-01 21:24:59 +01:00
2eb62db117
Adding app/cache/cache.go
2023-11-01 21:23:48 +01:00
c6cb26d543
Adding app/cache/redis_store.go
2023-10-31 16:59:26 +01:00
ed1009062d
Adding app/cache/memory_store.go
2023-10-31 16:59:08 +01:00
23d05e5512
Adding app/cache/store.go
2023-10-31 16:58:40 +01:00
d6d9fa5ca0
api/go.mod: require at least go 1.20
2023-10-22 20:37:23 +02:00
1bc52d7b3d
go.mod: Require at least go 1.20
2023-10-22 20:35:39 +02:00
c592c35e7c
go.mod: cleanup dependencies.
2023-10-22 20:34:38 +02:00
1ced6146b0
Makefile: fix inclusion of source files for thalos-tools
2023-10-22 20:32:49 +02:00
809f42f5af
Adding cmd/tools/mock_publisher.go
2023-10-22 20:32:25 +02:00
1356b58b55
Drop support for golang 1.18 and 1.19, only support the 2 latest major releases.
2023-10-20 18:24:31 +02:00
7cdf2f113d
Update packages.
2023-10-20 18:00:15 +02:00
cc7ea62487
app/config/config.go: use os.ReadFile instead of ioutil.
2023-10-12 20:51:00 +02:00
b364ce56d8
cmd/thalos/main.go: Add "level" cli flag to make it possible for user to specify log level.
2023-08-30 16:06:57 +02:00
fb6cfb9fa6
app/ship_processor.go: Need to call log.Dup() otherwise things like log.Level will not be copied.
2023-08-30 16:00:09 +02:00
16ab7d1fcf
cmd/thalos/main.go: Fix some log lines to use structured logging.
2023-08-30 15:52:57 +02:00
0f5c94f8de
Adding cmd/tools/redis-acl.go
2023-08-23 11:23:58 +02:00
1ba1422c6f
cmd/tools/bench.go: Support Redis username and password flags.
2023-08-22 16:24:43 +02:00
9f61bbd316
cmd/tools/flags.go: adding Redis User and Password flags.
2023-08-22 16:24:09 +02:00
31c7ba6a4b
Improved code documentation.
2023-08-22 16:22:03 +02:00
96764ef651
Version 0.2.0
2023-08-22 07:56:28 +02:00
02ce76bc75
Cleanup README and refer to the documentation site.
2023-08-22 07:46:06 +02:00
fb9110ec64
Remove documentation as it exists in its own repo.
2023-08-22 07:42:51 +02:00
6c61382f4c
cmd/thalos/main.go: in readerLoop() make sure we set shClient.StartBlock to processor's current block when (re)connecting.
2023-08-21 14:12:07 +02:00
6ef3daeecf
app/ship_processor.go: keep track of current block.
2023-08-21 14:08:33 +02:00
e1dc5f85a0
cmd/thalos/main.go: Make telegram notifications optional
2023-07-18 10:21:14 +02:00