irriden
90d43c4e70
cargo clippy
2023-11-15 23:11:41 +00:00
irriden
5bef7ab78e
sphinx-key: add tls to default features
2023-11-14 23:40:20 +00:00
irriden
dfe06d6dab
sphinx-key: configs for a 60KB reduction in bin size
...
all related to ssl, see below:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/performance/size.html#minimizing-binary-mbedtls
2023-11-14 23:37:24 +00:00
irriden
ed3c44e94d
sphinx-key: mqtts
...
see here for an explanation of settings - crucial for manageable memory footprint
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/protocols/mbedtls.html#reducing-heap-usage
2023-11-14 19:31:44 +00:00
irriden
b7d20d31ca
sphinx-key: https ota
2023-11-07 20:44:06 +00:00
irriden
4b85a85f0e
broker: increase mqtt timeout from 4s to 10s
2023-10-31 23:46:37 +00:00
irriden
616acc868e
sphinx-key: fetch ota update in the main thread
...
we previously spawned a separate led thread, which caused two problems
1) starved the main thread, preventing any progress on signing
a solution here could have been to sleep the ota fetch thread every so often
2) also increased memory usage
a solution here is much smaller buffer for ota thread
both of these solutions significantly hindered the speed of the ota update
i like much better keeping the ota fetch blocking in the main thread,
and giving it the appropriate resources to perform the ota fetch fast
this commit also only sends a new status into the led_tx-led_rx channel when
necessary - we previously sent new statuses into the channel even if the led
was already at that state
2023-10-30 23:04:09 +00:00
irriden
dde34efbdc
sphinx-key: add the loop back in
2023-10-30 15:38:13 +00:00
irriden
3535ec5d62
tester: add env-example
2023-10-30 15:38:02 +00:00
irriden
d8e9a1e0cc
sphinx-key: update esp-idf from 5.0.2 to 5.0.4
2023-10-30 15:37:49 +00:00
irriden
fd434c3546
sphinx-key: remove embedded-hal, embedded-svc dependencies
...
embedded-svc is only necessary if you want to develop an app for multiple chips
this is not our case
2023-10-30 15:36:52 +00:00
irriden
705caea73e
sphinx-key: bump esp-rs deps
2023-10-30 15:36:20 +00:00
irriden
73d2c76be1
update txoo to 812000 checkpoint
2023-10-30 15:35:49 +00:00
irriden
9773e4bec2
factory: no std
2023-10-30 15:35:49 +00:00
irriden
0c0b59789b
sphinx-key: do a full restart in case of a wifi connection failure
2023-10-23 21:12:41 +00:00
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
66045569ac
sphinx-key: stop storing previous lss msg on sd card
2023-10-18 15:18:38 +00:00
irriden
dce2daa3d0
tester: notes on successful ota update
2023-10-16 22:44:33 +00:00
irriden
b6c8b5a7f1
tester: read command from cmd.json file
2023-10-16 22:13:10 +00:00
irriden
fdb207bf6e
tester: update ctrl post message route
2023-10-16 21:47:28 +00:00
irriden
7caaf5ae36
more concise logging
2023-10-13 17:44:02 +00:00
irriden
c77e20e2b7
sphinx-key: no need to log full msg
2023-10-13 16:44:03 +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
0f0e5b5f9e
factory: use same sdkconfig.defaults settings as sphinx-key
...
very important for the long filenames settings
closes #133
2023-10-05 09:25:25 +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
3c070cfca8
Merge pull request #128 from stakwork/vls-multi-signer
...
Vls multi signer
2023-09-19 11:28:03 -07:00
Evan Feenstra
21915faf5a
bump sphinx-rs
2023-09-19 11:27:35 -07:00
Evan Feenstra
0d25d0c371
only hold server HMAC, drop lss_bytes
2023-09-19 09:47:04 -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
6d9e5305a8
tester: update cargo.lock
2023-09-14 22:53:57 +00: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
56c775c782
Merge pull request #127 from stakwork/sd-save
...
sphinx-key: save previous msgs to sd card
2023-09-14 17:56:38 +00:00
irriden
b39e321f39
sphinx-key: save previous msgs to sd card
2023-09-14 16:37:27 +00:00
Evan Feenstra
26c5f2a9e8
Merge pull request #126 from stakwork/kvv
...
Kvv
2023-09-13 14:51:39 -07:00
irriden
0fcb5f85a8
sphinx-key: configure support for long filenames
2023-09-13 21:15:49 +00:00
irriden
1d59ac2dd8
sphinx-key: bump sphinx-rs
2023-09-12 23:57:09 +00:00
irriden
98fa95fb2a
sphinx-key: commit mutations
2023-09-12 23:55:32 +00:00
Evan Feenstra
8e45596eeb
kvv store in esp32
2023-09-11 15:04:00 -07:00
Evan Feenstra
7ec4a6065b
Merge pull request #125 from stakwork/fix-lss-stepping
...
broker: fix LSS getting out of step when new signer connects
2023-09-08 13:30:10 -07:00
irriden
b550239f6d
sphinx-key: remove unused imports
2023-09-08 18:48:22 +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
irriden
e15e8620e5
sphinx-key: temp fix for lss put conflicts
2023-09-06 19:07:32 +00:00
Evan Feenstra
528f7d7cd6
Merge pull request #123 from stakwork/ticketlock
...
Ticketlock
2023-09-06 09:47:11 -07:00