save work
This commit is contained in:
parent
ee9889ca91
commit
e87871e2cb
|
@ -2041,7 +2041,13 @@ proc installMessageValidators(node: BeaconNode) =
|
|||
|
||||
# data_column_sidecar_{subnet_id}
|
||||
#
|
||||
for it in 0'u64 ..< DATA_COLUMN_SIDECAR_SUBNET_COUNT:
|
||||
let subnetCount =
|
||||
if node.config.subscribeAllSubnets:
|
||||
DATA_COLUMN_SIDECAR_SUBNET_COUNT.uint64
|
||||
else:
|
||||
CUSTODY_REQUIREMENT.uint64
|
||||
|
||||
for it in 0'u64 ..< subnetCount:
|
||||
closureScope: # Needed for inner `proc`; don't lift it out of loop.
|
||||
let subnet_id = it
|
||||
node.network.addValidator(
|
||||
|
|
|
@ -38,7 +38,7 @@ const
|
|||
BLOB_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000
|
||||
## How long to wait for blobs to arrive over gossip before fetching.
|
||||
|
||||
DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 2 * 1_000_000_000
|
||||
DATA_COLUMN_GOSSIP_WAIT_TIME_NS* = 5 * 1_000_000_000
|
||||
|
||||
POLL_INTERVAL = 1.seconds
|
||||
|
||||
|
|
Loading…
Reference in New Issue