mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-20 14:53:07 +00:00
feat: remove --agent-string option
Does not need to be configurable on the CLI.
This commit is contained in:
parent
3bad64b879
commit
5674377b6f
@ -141,12 +141,6 @@ type WakuNodeConf* = object
|
||||
name: "cluster-id"
|
||||
.}: uint16
|
||||
|
||||
agentString* {.
|
||||
defaultValue: "nwaku",
|
||||
desc: "Node agent string which is used as identifier in network",
|
||||
name: "agent-string"
|
||||
.}: string
|
||||
|
||||
nodekey* {.desc: "P2P node private key as 64 char hex string.", name: "nodekey".}:
|
||||
Option[PrivateKey]
|
||||
|
||||
|
||||
@ -96,7 +96,7 @@ proc initNode(
|
||||
nameResolver = dnsResolver,
|
||||
sendSignedPeerRecord = conf.relayPeerExchange,
|
||||
# We send our own signed peer record when peer exchange enabled
|
||||
agentString = some(conf.agentString),
|
||||
agentString = some("nwaku"),
|
||||
)
|
||||
builder.withColocationLimit(conf.colocationLimit)
|
||||
builder.withPeerManagerConfig(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user