Commit Graph

538 Commits

Author SHA1 Message Date
Evan Feenstra
51659c74ac central topics consts shared between modules 2022-09-12 10:37:04 -07:00
Evan Feenstra
6d566107f6 separate config and seed store, simplify flash access, more methods in FlashPersister 2022-09-10 17:36:07 -07:00
decentclock
3d940ed349 readme fixes 2022-09-09 15:18:59 -04:00
Evan Feenstra
81d436bc42 Merge pull request #60 from stakwork/broker-ctrl
refactor broker to use tokio rather than std::thread
2022-09-09 11:48:07 -07:00
Evan Feenstra
2b1e184395 impl set_nonce for FlashPersister 2022-09-09 11:47:35 -07:00
Evan Feenstra
8c48ebda07 update tester main, Nonce message is the only one with nonce unchecked 2022-09-09 11:40:23 -07:00
Evan Feenstra
13f23f7111 tester ctrl configurable nonce and url 2022-09-09 10:33:09 -07:00
Evan Feenstra
fdd8b54e40 broker rocket.toml 2022-09-09 10:18:19 -07:00
Evan Feenstra
8e48f904ae control persister with flash, ctrl handler func, return mqtt pub 2022-09-08 16:42:44 -07:00
Evan Feenstra
de68957cdf round trip ControlMessage auth test 2022-09-08 14:47:58 -07:00
Evan Feenstra
21ed9f97ea control msg tester, fix mqtt router startup 2022-09-07 17:05:31 -07:00
Evan Feenstra
3992dfe6fe refactor broker to use tokio rather than std::thread 2022-09-07 12:05:54 -07:00
Evan Feenstra
8bf5ca4941 Merge pull request #59 from stakwork/policy-setter
Policy setter
2022-09-07 11:57:59 -07:00
Evan Feenstra
440cbf2e59 merge master 2022-09-06 14:36:24 -07:00
Evan Feenstra
b8090d6c12 start ControlMessage in tester 2022-09-02 17:09:41 -07:00
Evan Feenstra
4698d8bbae controller to parse and validate incoming ControlMessage bytes 2022-09-02 14:39:07 -07:00
Evan Feenstra
7b70bb7580 nonce utils in parser, key derivation utils to get node id from seed 2022-09-02 12:48:09 -07:00
Evan Feenstra
81c3cced36 start control msg validator 2022-09-01 17:52:00 -07:00
Evan Feenstra
adabb4583e Merge pull request #58 from stakwork/event-msgs
Event msgs
2022-09-01 09:38:17 -07:00
Evan Feenstra
272bc567aa policy setter in signer 2022-09-01 09:36:35 -07:00
Evan Feenstra
30ef762605 sub vls, cotrol, and ota topics 2022-08-31 13:39:09 -07:00
Evan Feenstra
bfa13efd70 match topic string 2022-08-31 13:32:06 -07:00
Evan Feenstra
f767aee3dc incoming topic 2022-08-31 13:27:59 -07:00
decentclock
3d7008eacc Merge pull request #57 from stakwork/broker-config-file
Add broker config file with network and port settings
2022-08-31 16:07:17 -04:00
Evan Feenstra
d98af6d7e0 add Control and Ota to the event enum 2022-08-31 13:01:14 -07:00
decentclock
d0b5c4c4c1 Check that broker and signer are on the same network 2022-08-31 14:52:50 -04:00
decentclock
6f81516a60 Check that broker and CLN are on the same network 2022-08-31 14:52:50 -04:00
decentclock
cd465bf084 Cleanup 2022-08-26 17:35:55 +00:00
decentclock
53ea8e365b Add broker config file with network and port settings 2022-08-25 21:51:43 +00:00
decentclock
8be56c7149 Specify that a data-enabled micro-USB is needed to talk to the board 2022-08-24 15:42:05 -06:00
decentclock
7bf3c137a8 broker: set network default to regtest 2022-08-24 20:42:43 +00:00
decentclock
0fd1d06b51 Grab network from environment, not cli 2022-08-24 18:20:20 +00:00
decentclock
e830a68466 cargo fmt 2022-08-23 15:08:30 -06:00
decentclock
39ecb9743d Merge pull request #56 from stakwork/velocity-control
Implement initial velocity control, drop our vls fork in favor of root vls repo
2022-08-23 12:28:33 -06:00
decentclock
aa363b9d65 Relax policy requirements 2022-08-23 12:18:09 -06:00
decentclock
50cb4dcdfb Update Cargo.lock 2022-08-23 12:07:10 -06:00
decentclock
39076e91bc Turn off debug logs by default 2022-08-23 11:48:11 -06:00
decentclock
3ff3c24334 Remove auther module 2022-08-23 11:09:51 -06:00
decentclock
ac94de509c Point all deps to vls master 2022-08-23 08:29:21 -06:00
decentclock
79884ed562 Remove crypter, crypter-ffi modules, point deps to sphinx-rs 2022-08-23 08:16:50 -06:00
decentclock
fa9ed05bd8 Drop sphinx-key vls fork, point all deps to root vls 2022-08-22 15:38:21 -06:00
decentclock
b2fa4ac157 Add debug log level to sdkconfig 2022-08-22 15:31:56 -06:00
decentclock
99a2a87d5b persister: switch to upstream vls, implement NodeState persistence 2022-08-22 12:21:41 -06:00
decentclock
88e312b628 Send initial policy with velocity control to root_handler 2022-08-17 17:48:36 -06:00
decentclock
970ddd2080 Bump vls branch to 1.4 2022-08-17 16:04:55 -06:00
decentclock
b7fa6c3733 Log the time while we connect to MQTT 2022-08-17 12:52:42 -06:00
decentclock
cad19c9cab Ignore warnings on simple_fs_test 2022-08-17 12:40:01 -06:00
decentclock
22eae0c42d Create SyncingTime led state 2022-08-17 12:38:15 -06:00
decentclock
e759eebd6f Add sntp, sync the time on startup 2022-08-17 12:26:47 -06:00
decentclock
4e006b0b16 Send validator_factory, clock to root_handler 2022-08-17 11:54:37 -06:00