Skip to content

[2.6][T3] High incidence of forks on devnet (due to postBlock throttling?) #3349

@alessiodf

Description

@alessiodf

There has been a higher incidence of forks on devnet recently, all of which have been caused by delayed blocks on the network (i.e. delegate A's block is received during delegate B's slot, so both A and B forge at the same height and some parts of the network receive A's block first and disregard B's, whereas other parts receive B's block first so disregard A's).

It looks like the outgoing throttling of postBlock may be to blame as it will keep delaying the propagation by 1 second until the hasExceededRateLimit check is false. Even if it means the block's slot has passed.

It might just be a coincidence, but my logs do show quite a lot of Throttling outgoing requests to x.x.x.x/p2p.peer.postBlock to avoid triggering their rate limit messages and, empirically, there are quite a lot of forks on devnet which are caused by blocks arriving late and encroaching on the next delegate's slot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions