mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-09 15:28:03 -05:00
gossipsub: add slack before attempting to re-graft after being pruned.
This commit is contained in:
committed by
Raúl Kripalani
parent
e2f2a4b4d3
commit
5a6e154d7e
@@ -98,7 +98,8 @@ for the action, and penalize the peer through P₇ (see [Peer Scoring](#peer-sco
|
||||
The recommended duration for the backoff period is 1 minute, while the recommended number of peers
|
||||
to exchange is larger than `D_hi` so that the pruned peer can reliably form a full mesh.
|
||||
In order to correctly synchronize the two peers, the pruning peer should include the backoff period
|
||||
in the PRUNE message. The peer has to wait the full backoff period before attempting to graft again,
|
||||
in the PRUNE message. The peer has to wait the full backoff period before attempting to graft again
|
||||
—plus some slack to account for the offset until the next heartbeat that clears the backoff—
|
||||
otherwise it risks getting its graft rejected and being penalized in its score if it attempts to
|
||||
graft too early.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user