Commit Graph

547 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
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
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
6516b208a5 dont clear flash in clear bin 2023-09-01 16:44:47 -07:00
Evan Feenstra
c2561d1737 wait before switching to wifi clinet 2023-09-01 12:20:53 -07:00
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