Commit Graph

97 Commits

Author SHA1 Message Date
Emil Ivanichkov a47f562958 feat(waku message): Prepare message based on `noise` option and use correct content topic 2024-05-16 15:14:29 +03:00
Emil Ivanichkov 935e278675 refactor(SNM): Handle `noise` option of `sendMessage` command 2024-05-16 15:14:29 +03:00
Emil Ivanichkov 7f7149ce9c refactor(SNM config): Add `noise` option to `sendMessage` command 2024-05-16 15:14:29 +03:00
Emil Ivanichkov b9fa56ed9b feat(waku utils): Set up default bootstrap node 2024-04-30 19:03:24 +03:00
Emil Ivanichkov dfefa8b852 fix(waku utils): Use correct content topic format 2024-04-30 19:03:24 +03:00
Emil Ivanichkov 3835458412 feat(SNM): Install `waku sendMessage` command 2024-04-26 10:43:27 +03:00
Emil Ivanichkov 289d42a192 feat(waku api): Add waku send message rest api 2024-04-26 10:43:27 +03:00
Emil Ivanichkov 5c3b44449d feat(waku utils): Add functions for sending messages 2024-04-26 10:43:27 +03:00
Emil Ivanichkov a334f2d7f5 feat(SNM config): Add `waku sendMessage` command 2024-04-26 10:43:27 +03:00
Emil Ivanichkov 3082718fce refactor(waku topic): Manage `pubsub` & `content` topics better 2024-04-26 10:43:27 +03:00
Emil Ivanichkov bbb65ccd72 refactor(Waku host): Pass whole config to `WakuHost.init` 2024-04-26 10:43:27 +03:00
Emil Ivanichkov e607afe4cd chore(build): Use `librln v0.3.7` 2024-04-24 13:07:25 +03:00
Emil Ivanichkov 86790ac559 chore(vendor): Bump `zerokit` to version `v0.3.7` 2024-04-24 13:07:25 +03:00
Emil Ivanichkov 97cbf1b198 feat(waku handshake): Save waku handshake data on app shut down 2024-03-22 15:01:00 +02:00
Emil Ivanichkov 5af22793b4 feat(waku handshake): Load saved waku hadnshake data on app start 2024-03-22 15:01:00 +02:00
Emil Ivanichkov 5fb246eecf feat(SNM config): Add `--waku-handshake-file` param to SNM command 2024-03-22 15:01:00 +02:00
Emil Ivanichkov 963c8e4f95 feat(SNM): Handle `Ctr+C` command 2024-03-22 15:01:00 +02:00
Emil Ivanichkov 81a6da009a feat(SNM): Install `waku exportHandshake` command 2024-03-21 20:01:18 +02:00
Emil Ivanichkov 8164d042e6 feat(waku api): Add waku handsake rest api 2024-03-21 20:01:18 +02:00
Emil Ivanichkov 1f9b0e66cb feat(waku handshake): Add export and import functions for waku handshake 2024-03-21 20:01:18 +02:00
Emil Ivanichkov 05220ae3f2 feat(waku handshake): Add `serdes` utils for waku handshake object 2024-03-21 20:01:18 +02:00
Emil Ivanichkov 41392c5fa7 feat(file utils): Add `filepaths.nim` 2024-03-21 20:01:18 +02:00
Emil Ivanichkov d9278b21b7 feat(SNM config): Add `--data-dir` config 2024-03-21 20:01:18 +02:00
Emil Ivanichkov 7efde4011a feat(SNM config): Introduce `waku` command 2024-03-21 20:01:18 +02:00
Emil Ivanichkov 89e8cdde91 build(Makefile): `deps` no longer depends on `libbacktrace` 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 3cf58e439c build(nim config): Add config file for the tests 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 6a6e4e9d33 build(SNM): Add test `task` and `make command` 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 433d00d7fc test(waku api): Add tests for waku api 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 1de5bbfedb feat(SNM): Introduce status monitoring 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 142b559250 feat(SNM): Handle waku pari via waku api call 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 618884c0e2 feat(waku rest): Initial implementation of waku rest api 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 21c3d92aa8 feat(SNM no-command): Run `waku node` on SNM start 2024-03-14 15:40:17 +02:00
Emil Ivanichkov 27f47d3354 refactor(waku utils): Separate waku node start from pairing process 2024-03-14 15:40:17 +02:00
Emil Ivanichkov ed5f30260c refactor(SNM config): Make waku node params part of no-command config 2024-03-14 15:40:17 +02:00
Emil Ivanichkov f54600b17e refactor(SNM config): Move rest config top level 2024-03-14 15:40:17 +02:00
Emil Ivanichkov ab80677ff5 refactor(): Introduce more structured imports 2024-03-08 18:56:44 +02:00
Emil Ivanichkov 1e697e253e feat(SNM): Initial implementation of `doRunStatusNodeManager`
This includes:
- Initial implementation of global state object called `SNM`
- It's corresponding `init` & `run` functions that initialize and start
a rest server
- Formatting improvements in the `import` section of
  `src/status_node_manager.nim`
2024-03-08 18:10:12 +02:00
Emil Ivanichkov e79d36b411 feat(rest): Add common `rest server` utils 2024-03-08 18:10:12 +02:00
Emil Ivanichkov d69a0206a7 feat(rest): Add common `serialization` utils 2024-03-08 18:10:12 +02:00
Emil Ivanichkov 40543e3706 feat(SNM config): Add `rest` config params 2024-03-08 18:10:12 +02:00
Emil Ivanichkov 2ddcb2863f fix(.gitignore): Do not ignore `src/status_node_manager` 2024-03-07 18:40:35 +02:00
Emil Ivanichkov 93de2f4792 fix(build): Fix build after `nwaku` pkg bump 2024-03-05 11:03:16 +02:00
Emil Ivanichkov 6831b73f13 chore(nimble): Bump `nwaku` & `nim-metrics` 2024-03-05 11:03:16 +02:00
Emil Ivanichkov 8f4aaaf95e fix(nims): Fix paths in example tasks 2024-03-05 11:03:16 +02:00
Emil Ivanichkov c1709f8c0c config(git): Use `https` in `.gitmodules` 2024-03-05 10:11:53 +02:00
Emil Ivanichkov ee19a3a443 build(nimble): Add `before build` step 2024-03-05 10:11:53 +02:00
Emil Ivanichkov 67029328e9 build(nimble): Add nim link flags related to rln
This is a temporary solution to ensure that `nimble build` will succeed
2024-03-05 10:11:53 +02:00
Emil Ivanichkov fa6fdc5d53 feat(cli/pair): Implement `pair` CLI command 2024-03-05 10:11:53 +02:00
Emil Ivanichkov b188b19e62 feat(cli/pair): Add configuration for `pair` CLI command 2024-03-05 10:11:53 +02:00
Emil Ivanichkov d150d6d60a build(SNM): Add task and make command for building `status-node-manager` 2024-03-05 10:11:53 +02:00