Fix comment about backpressure handling in verif queue [skip ci] (#2453)
This commit is contained in:
parent
2eacfc4685
commit
596cf3d674
|
@ -160,7 +160,7 @@ proc addBlock*(self: var VerifQueueManager, syncBlock: SyncBlock) {.raises: [Exc
|
||||||
proc addAttestation*(self: var VerifQueueManager, att: Attestation, att_indices: seq[ValidatorIndex]) =
|
proc addAttestation*(self: var VerifQueueManager, att: Attestation, att_indices: seq[ValidatorIndex]) =
|
||||||
## Enqueue a Gossip-validated attestation for consensus verification
|
## Enqueue a Gossip-validated attestation for consensus verification
|
||||||
# Backpressure:
|
# Backpressure:
|
||||||
# no handling
|
# If buffer is full, the oldest attestation is dropped and the newest is enqueued
|
||||||
# Producer:
|
# Producer:
|
||||||
# - Gossip (when synced)
|
# - Gossip (when synced)
|
||||||
while self.attestationsQueue.full():
|
while self.attestationsQueue.full():
|
||||||
|
@ -180,7 +180,7 @@ proc addAttestation*(self: var VerifQueueManager, att: Attestation, att_indices:
|
||||||
proc addAggregate*(self: var VerifQueueManager, agg: SignedAggregateAndProof, att_indices: seq[ValidatorIndex]) =
|
proc addAggregate*(self: var VerifQueueManager, agg: SignedAggregateAndProof, att_indices: seq[ValidatorIndex]) =
|
||||||
## Enqueue a Gossip-validated aggregate attestation for consensus verification
|
## Enqueue a Gossip-validated aggregate attestation for consensus verification
|
||||||
# Backpressure:
|
# Backpressure:
|
||||||
# no handling
|
# If buffer is full, the oldest aggregate is dropped and the newest is enqueued
|
||||||
# Producer:
|
# Producer:
|
||||||
# - Gossip (when synced)
|
# - Gossip (when synced)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue