irriden
52ea111ea6
sphinx-key: tune configs to solve OOM on mainnet addblock msgs
...
also pulls vls memory optimizations on these addblock msgs
2023-10-19 23:12:18 +00:00
irriden
7caaf5ae36
more concise logging
2023-10-13 17:44:02 +00:00
irriden
9ab7fa1b73
broker: launch the frontend
...
bumps sphinx-rs to include tracker_size_workaround feature from vls
otherwise the frontend eats up too much memory on esp32
uses the blocking handle::handle_message fn for impl SignerPort via
tokio::task::spawn_blocking
removes hard coded heartbeats, as these are now sent by the frontend
2023-10-12 18:57:28 +00:00
irriden
9d8031d962
bump sphinx-rs: nits
2023-10-03 14:47:36 +00:00
irriden
2761acb464
bump sphinx-rs: don't store invoices issued for keysend receives
2023-10-03 10:19:35 +00:00
Evan Feenstra
80a23cb5f0
conns refactor
2023-09-23 00:28:28 +00:00
Evan Feenstra
21915faf5a
bump sphinx-rs
2023-09-19 11:27:35 -07:00
Evan Feenstra
bf4113d990
bump vls, writer-based multisigner, new id format, conflict topics and restarts
2023-09-18 14:26:17 -07:00
Evan Feenstra
ad2f63d898
bump
2023-09-15 17:11:16 -07:00
Evan Feenstra
258ecbe3f8
put conflict topics
2023-09-15 14:27:49 -07:00
Evan Feenstra
c7f44bb856
multisigner broker
2023-09-15 12:05:47 -07:00
irriden
8bc042d1a4
broker: fix counter overflows
2023-09-14 22:53:27 +00:00
irriden
03ad37fbc9
bump sphinx-rs: pull vls multi fork
2023-09-14 19:13:48 +00:00
irriden
1b00559424
broker: fix LSS getting out of step when new signer connects
2023-09-08 17:27:43 +00:00
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