fixes
This commit is contained in:
parent
0b9c48cadb
commit
2ecdb078b9
|
@ -24,7 +24,7 @@ const
|
||||||
## Allow syncing ~64 blocks/sec (minus request costs)
|
## Allow syncing ~64 blocks/sec (minus request costs)
|
||||||
blobResponseCost = allowedOpsPerSecondCost(1000)
|
blobResponseCost = allowedOpsPerSecondCost(1000)
|
||||||
## Multiple can exist per block, they are much smaller than blocks
|
## Multiple can exist per block, they are much smaller than blocks
|
||||||
dataColumnResponseCost = allowedOpsPerSecondCost(250)
|
dataColumnResponseCost = allowedOpsPerSecondCost(4000)
|
||||||
## 1 blob has an equivalent memory of 8 data columns
|
## 1 blob has an equivalent memory of 8 data columns
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -478,7 +478,6 @@ p2pProtocol BeaconSync(version = 1,
|
||||||
bytes: seq[byte]
|
bytes: seq[byte]
|
||||||
|
|
||||||
for i in startIndex..endIndex:
|
for i in startIndex..endIndex:
|
||||||
for j in 0..<MAX_REQUEST_DATA_COLUMNS:
|
|
||||||
for k in reqColumns:
|
for k in reqColumns:
|
||||||
if dag.db.getDataColumnSidecarSZ(blockIds[i].root, ColumnIndex(k), bytes):
|
if dag.db.getDataColumnSidecarSZ(blockIds[i].root, ColumnIndex(k), bytes):
|
||||||
if blockIds[i].slot.epoch >= dag.cfg.DENEB_FORK_EPOCH and
|
if blockIds[i].slot.epoch >= dag.cfg.DENEB_FORK_EPOCH and
|
||||||
|
|
Loading…
Reference in New Issue