Commit Graph

62 Commits

Author SHA1 Message Date
Evan Feenstra
80215821ce broker to new rumqttd (not working) 2023-02-20 11:51:32 -08:00
Evan Feenstra
b91ea599fd print connections status 2023-02-10 14:22:04 -08:00
Evan Feenstra
06043fa60d cmd testing 2023-02-10 13:40:25 -08:00
Evan Feenstra
74285b18e2 debuggin 2023-02-10 12:24:30 -08:00
Evan Feenstra
ae2855d793 update broker to new rumqttd 2023-02-10 10:57:20 -08:00
Evan Feenstra
599fdd3dfa try to update broker to sphinx-rs 2022-10-25 15:55:49 -07:00
Evan Feenstra
0393100d1a collect logs in file 2022-10-21 12:53:08 -07:00
Evan Feenstra
f6c9c5d64f broker logs errors to file 2022-10-21 12:23:26 -07:00
Evan Feenstra
38475eb5c3 broker dont panic on status_tx.send fail 2022-10-20 22:37:29 -07:00
decentclock
a3ca7dd9e5 broker: set rocket server port to http_setting 2022-09-30 22:20:31 +00:00
decentclock
38db744463 broker: add http_port file setting, and BROKER_HTTP_PORT env var 2022-09-30 22:18:50 +00:00
decentclock
a0b388bb1e broker: rename Settings port mqtt_port 2022-09-30 22:12:30 +00:00
decentclock
244b6c9291 broker: make Settings struct Copy, pass copies around 2022-09-30 22:12:25 +00:00
Evan Feenstra
89b4ac45a8 allow env vars to overwrite broker configs 2022-09-28 15:55:20 -07:00
Evan Feenstra
7c886b0f15 refactor tester bin, configurable client id, sdcard root 2022-09-27 12:49:41 -07:00
Evan Feenstra
0002374a7f configurable within time for timestamp auth 2022-09-23 10:43:14 -07:00
Evan Feenstra
aeb48e36c3 tester and esp32 create signed timestamp for auth 2022-09-16 12:30:33 -07:00
Evan Feenstra
cbb262829c handle errors in broker 2022-09-15 12:00:03 -07:00
Evan Feenstra
fad091c413 broker Dockerfile 2022-09-14 15:01:29 -07:00
Evan Feenstra
51659c74ac central topics consts shared between modules 2022-09-12 10:37:04 -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
440cbf2e59 merge master 2022-09-06 14:36:24 -07: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
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
f3f66e8a7e Update to sphinx-key-1.2
Add network parameter to broker
Implement StartingTimeFactory
2022-08-10 18:06:29 -06:00
Evan Feenstra
ffb19e8abb fix config test server localhost, align more close with upstream vls 2022-07-11 20:30:30 -07:00
Evan Feenstra
0c9b9471af Hsmd2 init msg constructed on hardware itself, broker does not wait for init reply to being 2022-07-05 11:03:14 -07:00
Evan Feenstra
7b463d5553 async get_reply in chain tracker, split into its own module 2022-06-28 08:13:34 -07:00
Evan Feenstra
b30b8fe361 cleanup main func 2022-06-27 17:17:19 -07:00
Evan Feenstra
e936d6784a copy SignerPort get_reply from vls 2022-06-27 17:15:26 -07:00
Evan Feenstra
2f92844e62 chain tracker froontend in mqtt broker 2022-06-27 17:02:11 -07:00
Evan Feenstra
f31a3becf0 bump clap, support all networks, cleanup 2022-06-25 08:47:34 -07:00
decentclock
fc442d44ba Add --mainnet argument to the broker to send a fixed random mainnet seed to the signer for initial mainnet testing 2022-06-24 23:09:49 +00:00
decentclock
89e1ee1429 Rename SyncLazy to LazyLock 2022-06-20 09:27:48 -06:00
Evan Feenstra
10f8dd4893 allow broker to wait 10 seconds for esp32 2022-06-16 14:26:19 -07:00
Evan Feenstra
209dda952a fix broker init on release 2022-06-16 09:24:11 -07:00
Evan Feenstra
94f9f8d733 impl internal Event enum, resubscribe if broker restarts 2022-06-12 11:19:06 -07:00
Evan Feenstra
a1ecd05526 use SyncLazy to track client connected state 2022-06-12 09:52:02 -07:00
Evan Feenstra
5a49be61b3 conditional compilation w features, try firmware mqtt reconn loop 2022-06-11 13:15:47 -07:00
Evan Feenstra
da144c355a wait one second for mqtt router to start before sending init 2022-06-10 15:41:03 -07:00
Evan Feenstra
7571d9b8fd fix version log 2022-06-10 15:14:01 -07:00
Evan Feenstra
770c474ea1 auth utils, log setup 2022-06-10 12:39:07 -07:00
Evan Feenstra
8946a4cd8f try connect without async 2022-06-10 10:34:18 -07:00
Evan Feenstra
7ee7ac071c refactor broker metrics conn, single threaded virtual esp, hardcoded config, start auther module 2022-06-10 10:08:11 -07:00