feat: remove --agent-string option

Does not need to be configurable on the CLI.
This commit is contained in:
fryorcraken 2024-06-28 21:08:36 +10:00 committed by fryorcraken
parent 3bad64b879
commit 5674377b6f
2 changed files with 1 additions and 7 deletions

View File

@ -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]

View File

@ -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(