irriden
13bf35c80d
commit cargo.lock file
2023-09-01 15:13:14 +00:00
Evan Feenstra
d691adf8b4
Merge branch 'master' of https://github.com/stakwork/sphinx-key
2023-08-31 20:32:50 -07:00
Evan Feenstra
f6699eddc0
bump sphinx-rs to skip commit order check
2023-08-31 20:32:42 -07:00
irriden
8241be1e75
nit: resolve warnings
2023-08-31 00:31:58 +00:00
Evan Feenstra
a26810c577
double brackets
2023-08-30 13:07:23 -07:00
Evan Feenstra
a758c32d93
flag in deploy script
2023-08-30 13:05:42 -07:00
Paul Itoi
68b726666f
Update README.md
...
added note to press CTRL R
2023-08-29 10:05:22 -06:00
Evan Feenstra
3d6720f623
fix bin var
2023-08-25 14:26:03 -07:00
Evan Feenstra
ccb6d6e05e
better clear bin
2023-08-25 14:25:44 -07:00
Evan Feenstra
a8259973c6
put tls behind feature flag
2023-08-25 08:51:50 -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
604ec84d24
log more
2023-08-23 14:17:05 -07:00
irriden
0f7e4473e8
log vls messages
2023-08-23 17:06:26 +00:00
Evan Feenstra
188445f1be
msg log broker
2023-08-23 10:03:10 -07:00
Evan Feenstra
594588ba6f
Merge branch 'master' of https://github.com/stakwork/sphinx-key
2023-08-22 12:32:31 -07:00
Evan Feenstra
049e480f9c
deploy bin
2023-08-22 12:32:23 -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
Evan Feenstra
18d86d49ea
Merge pull request #104 from stakwork/rework-init
...
Rework init
2023-08-15 08:42:04 -07: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
cda4de8086
sphinx-key: reorganize flashpersister re-exports
2023-08-07 17:00:06 +00:00
irriden
74843636a3
sphinx-key: adjust lss to remove a clone
2023-08-04 21:55:07 +00:00
irriden
3c6ce1ffa6
sphinx-key: delete standalone heartbeat loop
...
just pulse the hearbeat everytime expected_sequence % 40 == 0
2023-08-03 23:55:08 +00:00
irriden
5b8323e1db
Merge pull request #103 from stakwork/custom-stack-size
...
Custom stack size
2023-08-03 22:34:09 +00:00
irriden
f109e89621
sphinx-key: customize led loop stack size
...
these two previous commits bring the post-startup DRAM usage from
90k to 92k. I thought we were reducing stack sizes from 10k to
1.5k as in this commit, which would yield a similar delta on DRAM
usage, but I might be wrong here.
2023-08-03 21:27:01 +00:00
irriden
d615314d84
sphinx-key: customize button loop stack size
...
go from 10K bytes to 2.5K
2023-08-02 23:04:26 +00:00
irriden
c913d19476
sphinx-key: fixup btn binary, and update button states led colors
2023-08-02 17:14:05 +00:00
irriden
b5b0f3645d
sphinx-key: don't hold flash lock during config server
2023-08-02 16:36:18 +00:00
irriden
07f387b0b6
sphinx-key: only send LED button state updates when state machine transitions
2023-08-02 16:12:06 +00:00
irriden
cef1570aed
broker: check in updated cargo.lock
2023-08-02 15:39:43 +00:00
irriden
fd6b1ff67e
tester: pin sphinx-rs deps
...
txoo 0.4.5 breaks the build so it is currently locked at 0.4.4
by the cargo.lock file
2023-08-02 15:38:18 +00:00
irriden
754cfd771b
tester: add wifi_reset const in config.rs
...
this variable sets whether we just reset wifi or do a full config send
delete extraneous wifi.rs binary
2023-08-02 03:14:40 +00:00
irriden
84ec318450
also drop flash in case wifi access point flow fails
2023-08-02 02:50:55 +00:00
irriden
fe2b518a77
sphinx-key: implement wifi reset
...
additional-author: evan feenstra
this is an access mode that expects just the wifi config params,
without the seed
2023-08-02 02:41:59 +00:00
irriden
af5da5ef60
sphinx-key: button state machine improvements
...
gets rid of counters overflowing and crashing in debug mode
release mode wraps them around
reset state machine if unexpected input at any point in the machine's
lifetime
2023-08-02 02:40:05 +00:00
Evan Feenstra
e371c98463
bump sphinx-rs
2023-07-30 09:38:17 -07:00
irriden
34fac0bce5
sphinx-key: switch button gpio n from 8 to 9
...
the latest edition of sphinx-key hardware has the app button on gpio9
2023-07-29 23:35:00 +00:00
irriden
b6064579ad
sphinx-key: bring back led thread
...
no performance hit noticed
also cleanup a bunch of warnings
2023-07-29 22:07:38 +00: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
irriden
41e74d30ef
sphinx-key: timeout sntp setup and restart
2023-07-27 16:13:57 +00:00
irriden
864f58c53b
sphinx-key: restart esp in case of wifi setup failure
...
this addresses intermittent errors, wifi info typos will be addressed later
2023-07-27 15:18:05 +00:00
irriden
d2510e3b9a
Merge branch 'fixed-prefix'
2023-07-27 15:12:51 +00:00