Commit Graph

411 Commits

Author SHA1 Message Date
Evan Feenstra
8946a4cd8f try connect without async 2022-06-10 10:34:18 -07:00
Evan Feenstra
49ff64024f Merge pull request #27 from stakwork/feat/broker-reconnect
Feat/broker reconnect
2022-06-10 10:08:49 -07:00
Evan Feenstra
7ee7ac071c refactor broker metrics conn, single threaded virtual esp, hardcoded config, start auther module 2022-06-10 10:08:11 -07:00
Evan Feenstra
7a5d4d7042 merge master 2022-06-09 19:26:28 -07:00
Evan Feenstra
f1e8e13dda broker reconnect working 2022-06-09 19:23:40 -07:00
Evan Feenstra
885cac5041 organize the init waiter 2022-06-09 14:41:39 -07:00
Evan Feenstra
ce00673993 try init_hsmd_2 manual seed loading from hsm_secret file 2022-06-09 14:23:51 -07:00
Evan Feenstra
937ff0d8de tokio select reconnect twice, but not more? 2022-06-09 13:31:13 -07:00
Evan Feenstra
895f79f61e broker reconnection loop using tokio::select macro, both tx and rx 2022-06-09 13:07:46 -07:00
Evan Feenstra
e4446f10c6 wait for conn ack to start listener loop 2022-06-09 10:54:18 -07:00
Evan Feenstra
e3db8f2d97 full tester bin 2022-06-09 10:36:04 -07:00
Evan Feenstra
224574141a Merge pull request #26 from stakwork/fix/vls-std-not-needed
the std::Error is not needed
2022-06-09 08:27:56 -07:00
Evan Feenstra
94f052e429 the std::Error is not needed 2022-06-09 08:27:27 -07:00
Jules
31cffcd2f6 Create sphinx key flow diagram (#19)
* first steps

* fix formatting

* more details

* Clarify wifi reset branch, and loop branch on mqtt message listen

* Small nits
2022-06-09 08:45:11 -06:00
Jules Comte
c911f778cf clarify bidirectional communication between modules 2022-06-09 08:36:26 -06:00
Jules
5abc15f3f4 Create architecture diagram (#23)
* first draft

* clarify groups of components

* more architecture

* Improve key components section

* Clarify communication between core ln and hsmd

* Add modules section

Co-authored-by: Evan Feenstra <evanfeenstra@gmail.com>
2022-06-09 08:22:33 -06:00
Evan Feenstra
688f1bd0e8 Merge pull request #22 from stakwork/handle-mqtt-disconnects
[WIP] Handle MQTT disconnects
2022-06-08 11:58:06 -07:00
Evan Feenstra
ef74309dce Merge pull request #24 from stakwork/better-msg-driver
utils for cleaner msg driver parsing and serialization
2022-06-08 11:16:19 -07:00
Evan Feenstra
919b6e571e utils for cleaner msg driver parsing and serialization 2022-06-08 11:15:56 -07:00
Jules Comte
ea7081b0ef Log MQTT connection states 2022-06-07 18:16:29 -06:00
Evan Feenstra
a58a09f099 Merge pull request #21 from stakwork/quick-notes-update
Quick update to notes
2022-06-07 09:03:54 -07:00
Jules Comte
11492a420c Quick update to notes 2022-06-07 10:00:06 -06:00
Evan Feenstra
3b4771241c dummy peer in root handler 2022-06-06 14:54:18 -07:00
Evan Feenstra
8ec7b6c87e Merge pull request #20 from stakwork/mpsc-loop
Mpsc loop
2022-06-06 14:26:23 -07:00
Evan Feenstra
da9e955d44 real signer handler, fix dummy pear 2022-06-06 14:25:05 -07:00
Evan Feenstra
066a44a5b6 VLS ping pong test running on ESP, no Mutex 2022-06-06 14:01:01 -07:00
Evan Feenstra
7b29d16884 signer init and handler, replace BackgroundEventLoop with mpsc channel, msg parse on esp 2022-06-06 13:17:24 -07:00
Evan Feenstra
96af4acb33 Merge pull request #17 from stakwork/real-test
Real test
2022-06-03 12:48:40 -07:00
Evan Feenstra
1537a71925 merge master 2022-06-03 12:47:58 -07:00
Evan Feenstra
d19bb5adc6 broker VLS unix connection, real ping test, clap cli utils, virtual VLS test client, mqtt relay channels 2022-06-03 12:46:19 -07:00
Evan Feenstra
0862e8fd26 Merge pull request #15 from stakwork/parse-ping-esp-demo-fix
two small fixes for the esp32 ping demo
2022-06-02 14:19:10 -07:00
Jules Comte
860794d76e two small fixes for the esp32 ping demo 2022-06-02 16:51:18 -04:00
Evan Feenstra
7f47f2b525 parse package, MsgDriver read/write impl, refactor project to workspace, test_client sending Ping msgs 2022-06-02 11:16:12 -07:00
Evan Feenstra
1872af3687 vls protocol broker and test client 2022-06-01 20:21:10 -07:00
Evan Feenstra
971671c906 Merge pull request #12 from stakwork/blink-on-recv
Blink blue when online, green when receive
2022-05-31 16:23:58 -07:00
Evan Feenstra
b5c1341253 Merge pull request #13 from stakwork/update-notes
Update riscv build notes
2022-05-31 15:41:37 -07:00
Jules Comte
62ecc205be update notes 2022-05-31 10:58:57 -04:00
Jules Comte
6da291545f blink blue when online, blink green when receive message 2022-05-31 09:01:46 -04:00
Evan Feenstra
95d6f3105c everything compiling, start MsgDriver for VLS signer loop 2022-05-30 13:34:30 -07:00
Evan Feenstra
735c005fb7 note 2022-05-28 10:06:37 -07:00
Evan Feenstra
3c21097500 clean notes 2022-05-28 10:01:44 -07:00
Evan Feenstra
e5b53d33e3 building secp256k1-sys for RISCV 2022-05-27 21:33:06 -07:00
Evan Feenstra
ce45eccde3 riscv notes 2022-05-27 10:43:31 -07:00
Evan Feenstra
07a12e9717 try to build VLS on ESP, secp256k1-sys error on RISCV 2022-05-26 17:17:26 -07:00
Evan Feenstra
4f8d901939 broker bin using rumqtt 2022-05-25 16:16:02 -07:00
Evan Feenstra
68eb39ad40 cleaner error 2022-05-25 12:05:56 -07:00
Evan Feenstra
cb3897ccfc length-value encoding for Message impl, new_from_slice 2022-05-25 10:46:17 -07:00
Evan Feenstra
a3f06fb982 extract the msg data from mqtt and put into eventbus as a fixed size byte array 2022-05-25 09:29:07 -07:00
Evan Feenstra
16cd1f5cb1 Merge pull request #8 from stakwork/background-publisher
Background publisher
2022-05-24 21:37:08 -07:00
Evan Feenstra
dda11135be mqtt ping back working 2022-05-24 21:34:43 -07:00