Commit Graph

176 Commits

Author SHA1 Message Date
irriden
128a29f298 broker: send a heartbeat message every ten messages in the root loop
prunes extraneous data on the hardware signer
2023-09-07 19:03:33 +00:00
Evan Feenstra
2578792872 Ordering::SeqCst 2023-09-06 09:29:39 -07:00
Evan Feenstra
f5fa7fbe71 add ticketlock to chain_tracker too 2023-09-06 09:25:28 -07:00
Evan Feenstra
452a255c39 fix 2023-09-06 00:33:02 -07:00
Evan Feenstra
d4dc1455f9 ticket lock 2023-09-06 00:31:30 -07:00
Evan Feenstra
7562fc3cfa bump sphinx rs, vls, rust-glithning 2023-08-24 10:03:21 -07:00
Evan Feenstra
9eabc7750f bump signer c5ee97c0 2023-08-23 22:15:43 -07:00
Evan Feenstra
188445f1be msg log broker 2023-08-23 10:03:10 -07:00
irriden
a86640904e Update vls 2023-08-22 18:05:02 +00:00
irriden
fd921955d3 reformat 2023-08-17 16:02:33 +00:00
irriden
7daf11481a broker: add picture 2023-08-17 15:59:58 +00:00
irriden
6cb2a35252 remove unnecessary clone in looper 2023-08-15 20:50:20 +00:00
irriden
5a0b064659 broker: first connection triggers signerloop start
and rocket launch
2023-08-09 16:25:05 +00:00
irriden
564a7534ff broker: rework lss init logic
now the logic for the first connection and subsequent connections is
nearly the same
2023-08-09 16:25:05 +00:00
irriden
46838ad00c broker: cleanup code, remove clones 2023-08-07 21:52:08 +00:00
irriden
cef1570aed broker: check in updated cargo.lock 2023-08-02 15:39:43 +00:00
Evan Feenstra
e371c98463 bump sphinx-rs 2023-07-30 09:38:17 -07:00
irriden
dae0655fde bump sphinx-rs: relax thiserror dependency
this points to a relaxation of the thiserror dependency back to 1.0.44
and up. the memory growth was not due to v1.0.44 of thiserror, but
rather to the increase of the version of thiserror without doing a
complete rebuild from scratch ie. cargo clean + rm -rf .embuild"
2023-07-29 20:14:28 +00:00
irriden
d8c6ac4bd7 bump sphinx-rs
this points to a pin of thiserror to 1.0.43, which results in a
downgrade here. 1.0.44 was eating up 10K bytes upfront of esp32 DRAM.
2023-07-29 05:36:30 +00:00
irriden
a99584cb3c bump sphinx-rs 2023-07-27 20:26:51 +00:00
Evan Feenstra
eed1aa72a5 drop newly attached signer from client list 2023-07-27 11:12:25 -07:00
Evan Feenstra
e722b2cdca little fixes 2023-07-26 22:30:58 -07:00
irriden
39e7c3dab8 broker, sphinx-key: remove variable session id 2023-07-26 23:07:51 +00:00
irriden
58f0f169dd bump sphinx-rs deps 2023-07-26 22:36:20 +00:00
irriden
e408866e73 broker: client list is now a hashmap
the key is the fixed, per-signer id
the value is the session id, generated randomly for each connection
2023-07-26 02:13:44 +00:00
irriden
ea593cfea4 sphinx-key: add a fixed prefix to client id
this prefix is persisted to flash storage
2023-07-26 02:13:44 +00:00
irriden
f9739b0533 broker: nit clarify comment and logging 2023-07-25 19:05:02 +00:00
irriden
44d849dccf broker: switch pub_timeout from 9 to 4 secs 2023-07-25 18:15:49 +00:00
irriden
bf0a0d6ae9 broker: no need to pass connected into the reconn channel 2023-07-25 18:15:49 +00:00
irriden
2cf6fd7c1f broker: add try counter to pub_and_wait
set to none to retry indefinitely until a response is received
closes #96
2023-07-25 18:15:19 +00:00
irriden
1491546f40 broker: add client id to client list only after it has completed the reconnect dance
closes #97
2023-07-25 18:14:54 +00:00
irriden
9d7e8b751f sphinx-key: track sequence numbers, bump sphinx-rs 2023-07-22 01:15:51 +00:00
irriden
4183b655bd broker: add local vls deps comments 2023-07-21 23:47:44 +00:00
irriden
3053a9273a broker: create atomicu16, use as global sequence number 2023-07-20 23:45:27 +00:00
irriden
ad0a2f90ad broker: make done_being_busy ordering::release, not ordering::relaxed
we want to make sure that all operations before this call have completed before
setting BUSY back to false
2023-07-20 18:27:51 +00:00
irriden
6adf9ef144 broker: remove sequence number from individual channel structs
for now broker sets sequence number to 0 across the board
2023-07-20 17:47:19 +00:00
irriden
21ac62c42a point sphinx-rs to better-types merge commit 2023-07-19 17:46:05 +00:00
Evan Feenstra
aebd4e10bb merge 2023-07-17 09:14:29 -07:00
irriden
8c1f9937d3 bump sphinx-rs 2023-07-14 03:01:08 +00:00
Evan Feenstra
3f99d27766 broker configurable ws port 2023-07-13 15:47:35 -07:00
Evan Feenstra
092849cbc2 bump sphinx-rs 2023-07-11 16:25:48 -07:00
Evan Feenstra
140afe2564 bump sphinx-rs 2023-07-11 10:20:39 -07:00
Evan Feenstra
850ca9aaaf bump deps 2023-07-10 20:44:06 -07:00
irriden
9fb78bbc2f bump sphinx-rs deps 2023-07-10 20:59:41 +00:00
Evan Feenstra
e6f8ea8e34 both init_1 and init_2 topics 2023-07-07 13:15:32 -07:00
Evan Feenstra
249c5f9d8e rumqttd::router::routing log off 2023-07-07 12:58:16 -07:00
Evan Feenstra
c8501fdd10 immediate sub to hello and bye 2023-07-07 12:55:58 -07:00
Evan Feenstra
f7f4c9968e merge master 2023-07-07 11:58:50 -07:00
Evan Feenstra
6d1c1424c2 update sphinx-rs, send HELLO, drop alerts API in broker and use hello topic instead 2023-07-07 11:53:44 -07:00
irriden
215efba46c update VLS and sphinx-rs 2023-07-05 04:32:40 +00:00