Commit Graph

120 Commits

Author SHA1 Message Date
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
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
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
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
Evan Feenstra
3f99d27766 broker configurable ws port 2023-07-13 15:47:35 -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
6d1c1424c2 update sphinx-rs, send HELLO, drop alerts API in broker and use hello topic instead 2023-07-07 11:53:44 -07:00
Evan Feenstra
18e6b7af4e let CONTROL msgs fail early 2023-07-03 16:20:38 -07:00
Evan Feenstra
04af0e7c41 do not allow ctrl msgs to fake client id 2023-07-02 17:44:58 -07:00
Evan Feenstra
2c8ba0a26f more solid reconnect dance 2023-06-28 12:45:51 -07:00
Evan Feenstra
49db229f55 Merge pull request #88 from stakwork/fix/frontend-header
Fix/frontend header
2023-06-27 13:31:42 -07:00
irriden
6fc5e0459f add VLS memory management 2023-06-27 20:27:22 +00:00
Evan Feenstra
32d02839d4 increase rumqttd max payload size 2023-06-26 14:10:57 -07:00
Evan Feenstra
5d3c5afb12 add a warning log if topic doesnt match 2023-06-26 14:01:23 -07:00
Evan Feenstra
b0c1721448 share BUSY AtomicBool between looper and chain tracker 2023-06-26 13:56:28 -07:00
Evan Feenstra
3891c15907 include LSS tx in ChainTracker message handler 2023-06-26 13:46:50 -07:00
Evan Feenstra
1b54c5358c chaintracker logs 2023-06-26 10:41:50 -07:00
Evan Feenstra
d407ccfe35 use SerialRequestHeader for frontend msgs 2023-06-26 09:31:32 -07:00
Evan Feenstra
3cf8c8f22b fix topic check 2023-06-22 11:48:56 -07:00
Evan Feenstra
2b1fbc932c separate init topic and thread, vls 0.9.1 2023-06-22 11:01:50 -07:00
Evan Feenstra
78f3661098 bump max_payload_size 2023-06-15 12:39:52 -07:00
irriden
c8b385e8f7 fix broker build 2023-06-06 21:33:45 +00:00
Evan Feenstra
b7b4caac46 new clients are added first 2023-06-06 11:02:21 -07:00
Evan Feenstra
52d21d2cc9 lil fix 2023-06-06 09:29:23 -07:00
Evan Feenstra
11a5bff5f1 sleep before lss reconnect dance, cleaner mqtt sub topics 2023-06-05 21:36:49 -07:00
Evan Feenstra
c19ae08155 retries for client_id-specific sends 2023-06-05 19:45:31 -07:00
Evan Feenstra
d1f2e003c8 fix MqttSignerPort, update deps, start hardware 2023-06-03 10:56:15 -07:00
Evan Feenstra
068d3fdd12 merge master 2023-06-03 09:59:37 -07:00
Evan Feenstra
ea7e91d1c3 make LSS optional if no muts are received 2023-06-02 15:40:11 -07:00
Evan Feenstra
2b1933534d feat/lss 2023-06-02 14:38:10 -07:00
Evan Feenstra
17e5b9eb9f use atomic bool to lock loop erhandler 2023-06-02 13:30:38 -07:00
Evan Feenstra
c380865d1f rm unneeded log 2023-06-02 12:23:53 -07:00
Evan Feenstra
03dc86aed3 update lss-connector dep 2023-06-02 11:29:56 -07:00
Evan Feenstra
bedf7062e1 cleanup lss code 2023-06-01 17:21:21 -07:00
Evan Feenstra
67d988a76f update lss-connector dep 2023-06-01 14:37:16 -07:00
Evan Feenstra
6388daa47e broker side reconnection dance 2023-06-01 11:28:33 -07:00
Evan Feenstra
ea88db3df6 update lss-connector dep rev 2023-05-31 15:00:08 -07:00
Evan Feenstra
b84c3d6d54 handle lss_handle errs, lss-connector master 2023-05-31 13:08:28 -07:00
Evan Feenstra
b8afe22675 broker LSS integration, init, handle vls muts, connect to lss grpc, better chan msgs 2023-05-31 10:44:39 -07:00