mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-19 19:09:08 +00:00
add more caveats to has dc
This commit is contained in:
parent
ad699dd389
commit
daa55d8e10
@ -107,12 +107,13 @@ func hasDataColumns*(quarantine: DataColumnQuarantine,
|
||||
if len(blck.message.body.blob_kzg_commitments) != 0:
|
||||
if (blck.root, ColumnIndex i) in quarantine.data_columns:
|
||||
inc counter
|
||||
if counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT) or
|
||||
counter == DATA_COLUMN_SIDECAR_SUBNET_COUNT:
|
||||
return true
|
||||
else:
|
||||
return false
|
||||
false
|
||||
if counter == max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT) or
|
||||
counter == DATA_COLUMN_SIDECAR_SUBNET_COUNT:
|
||||
return true
|
||||
else:
|
||||
false
|
||||
|
||||
func dataColumnFetchRecord*(quarantine: DataColumnQuarantine,
|
||||
blck: deneb.SignedBeaconBlock | electra.SignedBeaconBlock): DataColumnFetchRecord =
|
||||
|
Loading…
x
Reference in New Issue
Block a user