1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
Commit graph

227 commits

Author SHA1 Message Date
637ec74a2a app/ship_processor.go: Adding ShipProcessor.syscontract field 2023-05-12 09:20:08 +02:00
80448ddd32 app/abi/manager.go: Adding SetAbi() 2023-05-12 09:06:29 +02:00
2f215d121d Merge branch '10-actiontrace-message-encoding' 2023-05-11 14:56:08 +02:00
57a31996d3 app/ship_processor.go: Make sure we set act.Data to a go object and not json byte slice. 2023-05-09 17:04:00 +02:00
6e47fc1a3c go.mod: update indirect dependancies 2023-05-09 16:48:29 +02:00
f925692354 api/message/types.go: Change ActionTrace.Data from []byte to interface{} 2023-05-09 16:46:12 +02:00
df840da128 api/message/json/codec.go: alias json_codec.Marshal/Unmarshal as encoder/decoder. so that implementation can change and tests uses the correct functions automatically. 2023-05-09 15:05:03 +02:00
12d2837218 api/message/json/codec.go: switch from github.com/liamylian/jsontime to github.com/eosswedenorg-go/jsontime 2023-05-09 14:58:58 +02:00
af6d72946f api/go.mod: wwitch github.com/shamaton/msgpack/v2 to github.com/ugorji/go/codec 2023-05-09 13:13:03 +02:00
ba05d3d7de api/message/types.go: remove ActionTrace.HexData 2023-05-08 17:07:01 +02:00
f7bf1da56f
Merge pull request #8 from eosswedenorg:blocknum-and-timestamp
Adding Blocknum and timestamp to ActionTrace
2023-05-08 16:17:13 +02:00
ef3a0159c0 app/ship_processor.go: remove processTraces(). not used. 2023-05-05 18:57:55 +02:00
6116e6fd7a
Merge pull request #9 from eosswedenorg/py-example
python example for the live-reader
2023-05-05 09:53:24 +02:00
213daa1e46 api/message/json/codec.go: fix timestamps, skip "Z" (always UTC) and use 3 decimals for milliseconds. 2023-05-05 09:20:35 +02:00
1a75286240 Adding api/message/json/codec_test.go 2023-05-05 09:16:29 +02:00
coachbjork
caa4f3c842 added a python example for the reader 2023-05-05 08:37:30 +02:00
4ec78c38df app/ship_processor.go: Include Blocknum and Timestamp in ActionTrace messages. 2023-05-05 07:32:39 +02:00
ae6f3f11a9 api/message/types.go: Adding Blocknum and Timestamp to ActionTrace struct 2023-05-05 07:29:37 +02:00
e2b19b7404
Merge pull request #7 from eosswedenorg/log 2023-05-03 15:10:32 +02:00
e3db1cf5b3 app/config/config_test.go: tests broke because of LogConfig 2023-05-03 15:08:00 +02:00
5bfd73d5a5 Merge branch 'deb-pkg' 2023-05-03 13:28:46 +02:00
df51060fcc api/message/msgpack/codec_test.go: test for new fields in ActionTrace 2023-05-03 13:28:13 +02:00
668b3b62d8 api/message/types.go: Adding Except,Error and Return fields to ActionTrace 2023-05-03 13:28:13 +02:00
22404dcb8b cmd/main/main.go: sort import statements. 2023-05-03 13:19:49 +02:00
6729985002 cmd/main/main.go: implement logrotation. 2023-05-03 13:17:40 +02:00
e44dc2f4f1 Adding app/log/RotatingFile.go 2023-05-03 13:15:40 +02:00
de266da33c app/config/config.go: add logging config 2023-05-03 13:15:16 +02:00
19a84b77fb Adding app/log/config.go 2023-05-03 13:14:27 +02:00
12f78d23ce Adding app/types/size.go 2023-05-02 18:08:53 +02:00
1cd741c610 cmd/main/main.go: Add support for logging to file via cli flag. 2023-05-02 16:44:39 +02:00
df8cb62fea Adding debhelper scripts. 2023-04-30 15:30:17 +02:00
1294537734 Makefile: Add install target 2023-04-28 18:31:39 +02:00
8b927ed366 app/ship_processor.go: include authorization in ActionTrace 2023-04-26 15:00:57 +02:00
c8944ea18b api/message/types.go: Adding Authorization field to ActionTrace 2023-04-26 15:00:25 +02:00
ffb5a10788 Adding docs/redis-channels.md 2023-04-26 14:31:54 +02:00
5fc83635be api/channel.go: change transaction channel from "transaction" to "transactions" 2023-04-26 14:30:31 +02:00
76464c5b7d config.example.yml: ship.url should have "ws://" 2023-04-26 14:17:14 +02:00
dd562b4231 Adding README.md 2023-04-26 12:30:59 +02:00
8798428b62 install.sh: fix config path 2023-04-26 12:12:22 +02:00
bd84a1c019 Generate new api/message/msgpack/msgpack.go 2023-04-26 11:42:34 +02:00
0e60e604bb api/message/msgpack/codec.go: fix go:generate command 2023-04-26 11:41:29 +02:00
903317ba61 Remove app/abi/helpers.go: unused 2023-04-26 11:40:07 +02:00
0650845a0c api/message/types.go: Change ActionTrace.Data to a byte slice and provide GetData() function that unmarshalls.
Only the client code should care about the content. So just transmit it as
a byte slice containing json data.
2023-04-26 11:39:58 +02:00
d5adb71bf2 .github/workflows/test.yml: also test api module. 2023-04-25 17:02:50 +02:00
b832697419 cmd/main/main.go: support msgpack as message encoder 2023-04-25 16:59:20 +02:00
2e8c228076 Adding api/message/msgpack 2023-04-25 16:58:31 +02:00
f3900bc262 api/message/types.go: add msgpack tags 2023-04-25 16:57:28 +02:00
9533e3499a go.mod: downgrade go.uber.org/multierr to v1.6.0 as newer versions requires go v1.19 2023-04-24 18:27:05 +02:00
e4c852c99e app/config/config.go: Move from json format to yaml. 2023-04-24 17:45:31 +02:00
bbf63e447d cmd/main/main.go: Load message codec from config and pass to SpawnProccessor 2023-04-24 16:08:47 +02:00