lodestar icon indicating copy to clipboard operation
lodestar copied to clipboard

feat: only subscribe to sampled subnets

Open twoeths opened this issue 7 months ago • 0 comments

Motivation

  • right now we always subscribe to all column subnets which is not necessary because we only need columns that we custody/sample
  • that's why I see 128 logs like this per slot, and this could degrade performance. We only need 8 per slot
 debug: Received gossip dataColumn slot=198378, root=0x9945…49af, curentSlot=198378, peerId=16Uiu2HAm2J4ZRFnf7qWvu8VBRFT66E5XFWnRTwYTahB2oRJom5ji, delaySec=1.5910000801086426, gossipIndex=113, columnIndex=113, pending=data_column, haveColumns=31, expectedColumns=8, recvToValLatency=0.0009999275207519531, recvToValidation=0.0009999275207519531, validationTime=0

Description

  • only subscribe to custody/sampling subnets

twoeths avatar May 22 '25 12:05 twoeths