refactor(SNM config): Make waku node params part of no-command config

This commit is contained in:
Emil Ivanichkov 2024-03-11 18:17:07 +02:00 committed by Emil Ivanichkov
parent f54600b17e
commit ed5f30260c
1 changed files with 10 additions and 12 deletions

View File

@ -56,18 +56,6 @@ type
defaultValue: SNMStartUpCmd.noCommand .}: SNMStartUpCmd
of SNMStartUpCmd.noCommand:
discard
of SNMStartUpCmd.pair:
qr* {.
desc: "A string representation of the QR code produced by the GUI"
name: "qr" .}: string
qrMessageNameTag* {.
desc: "A string representation of the initial message nametag produced" &
"by the GUI. It is used for the initial hadnshake message"
name: "qr-message-nametag" .}: string
wakuPort* {.
desc: "The port to use for the Waku node"
defaultValue: 60000
@ -83,6 +71,16 @@ type
defaultValue: 2
name: "required-connected-peers" .}: int
of SNMStartUpCmd.pair:
qr* {.
desc: "A string representation of the QR code produced by the GUI"
name: "qr" .}: string
qrMessageNameTag* {.
desc: "A string representation of the initial message nametag produced" &
"by the GUI. It is used for the initial hadnshake message"
name: "qr-message-nametag" .}: string
pubSubTopic* {.
desc: "The topic to subscribe to"
defaultValue: "/waku/2/default-waku/proto"