mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 15:33:08 +00:00
doc: clarify max shard value on CLI args
This commit is contained in:
parent
19d79384bb
commit
6a62823273
@ -302,7 +302,7 @@ type WakuNodeConf* = object
|
||||
.}: seq[string]
|
||||
|
||||
shards* {.
|
||||
desc: "Shards index to subscribe to [0..MAX_SHARDS-1]. Argument may be repeated.",
|
||||
desc: "Shards index to subscribe to [0.." & $MaxShardIndex & "]. Argument may be repeated.",
|
||||
defaultValue: @[],
|
||||
name: "shard"
|
||||
.}: seq[uint16]
|
||||
|
||||
@ -15,7 +15,7 @@ import ../common/enr, ../waku_core
|
||||
logScope:
|
||||
topics = "waku enr sharding"
|
||||
|
||||
const MaxShardIndex: uint16 = 1023
|
||||
const MaxShardIndex*: uint16 = 1023
|
||||
|
||||
const
|
||||
ShardingIndicesListEnrField* = "rs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user