mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-28 15:00:57 +00:00
Update toychat default content topic (#583)
This commit is contained in:
parent
2b571e205b
commit
7a2ce51f6e
@ -190,7 +190,7 @@ type
|
|||||||
|
|
||||||
contentTopic* {.
|
contentTopic* {.
|
||||||
desc: "Content topic for chat messages."
|
desc: "Content topic for chat messages."
|
||||||
defaultValue: "/waku/2/huilong/proto"
|
defaultValue: "/toy-chat/2/huilong/proto"
|
||||||
name: "content-topic" }: string
|
name: "content-topic" }: string
|
||||||
|
|
||||||
# NOTE: Keys are different in nim-libp2p
|
# NOTE: Keys are different in nim-libp2p
|
||||||
@ -226,4 +226,4 @@ proc completeCmdArg*(T: type Port, val: TaintedString): seq[string] =
|
|||||||
func defaultListenAddress*(conf: Chat2Conf): ValidIpAddress =
|
func defaultListenAddress*(conf: Chat2Conf): ValidIpAddress =
|
||||||
# TODO: How should we select between IPv4 and IPv6
|
# TODO: How should we select between IPv4 and IPv6
|
||||||
# Maybe there should be a config option for this.
|
# Maybe there should be a config option for this.
|
||||||
(static ValidIpAddress.init("0.0.0.0"))
|
(static ValidIpAddress.init("0.0.0.0"))
|
||||||
|
@ -126,7 +126,7 @@ type
|
|||||||
|
|
||||||
contentTopic* {.
|
contentTopic* {.
|
||||||
desc: "Content topic to bridge chat messages to."
|
desc: "Content topic to bridge chat messages to."
|
||||||
defaultValue: "/waku/2/huilong/proto"
|
defaultValue: "/toy-chat/2/huilong/proto"
|
||||||
name: "content-topic" }: string
|
name: "content-topic" }: string
|
||||||
|
|
||||||
proc parseCmdArg*(T: type keys.KeyPair, p: TaintedString): T =
|
proc parseCmdArg*(T: type keys.KeyPair, p: TaintedString): T =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user