mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 23:43:07 +00:00
append current version in agentString which is used by the identify protocol (#3057)
This commit is contained in:
parent
711e7db1e9
commit
b688edc079
@ -26,6 +26,9 @@ include ../waku_core/message/default_values
|
|||||||
|
|
||||||
export confTomlDefs, confTomlNet, confEnvvarDefs, confEnvvarNet
|
export confTomlDefs, confTomlNet, confEnvvarDefs, confEnvvarNet
|
||||||
|
|
||||||
|
# Git version in git describe format (defined at compile time)
|
||||||
|
const git_version* {.strdefine.} = "n/a"
|
||||||
|
|
||||||
type ConfResult*[T] = Result[T, string]
|
type ConfResult*[T] = Result[T, string]
|
||||||
|
|
||||||
type EthRpcUrl* = distinct string
|
type EthRpcUrl* = distinct string
|
||||||
@ -157,7 +160,7 @@ type WakuNodeConf* = object
|
|||||||
.}: uint16
|
.}: uint16
|
||||||
|
|
||||||
agentString* {.
|
agentString* {.
|
||||||
defaultValue: "nwaku",
|
defaultValue: "nwaku-" & git_version,
|
||||||
desc: "Node agent string which is used as identifier in network",
|
desc: "Node agent string which is used as identifier in network",
|
||||||
name: "agent-string"
|
name: "agent-string"
|
||||||
.}: string
|
.}: string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user