increase blob quarantine capacity to match block quarantine capacity (#6128)
Blobs are cached from gossip and other sources for all orphans, not just those specifically tagged as `blobless`. `blobless` only means that they are actively fetched from the network. The `MaxBlobs` should be aligned to match `MaxOrphans`. Note that blobs are tiny compared to blocks, so this isn't a huge memory hog.
This commit is contained in:
parent
c5f0d1def3
commit
bedc601903
|
@ -15,7 +15,9 @@ from std/sequtils import mapIt
|
|||
from std/strutils import join
|
||||
|
||||
const
|
||||
MaxBlobs = SLOTS_PER_EPOCH * MAX_BLOBS_PER_BLOCK
|
||||
MaxBlobs = 3 * SLOTS_PER_EPOCH * MAX_BLOBS_PER_BLOCK
|
||||
## Same limit as `MaxOrphans` in `block_quarantine`;
|
||||
## blobs may arrive before an orphan is tagged `blobless`
|
||||
|
||||
type
|
||||
BlobQuarantine* = object
|
||||
|
|
Loading…
Reference in New Issue