Skip to content

mempool: disconnect from faulty peers #6523

@alexanderbez

Description

@alexanderbez

Summary

We should consider explicitly disconnecting, via a peer update, from peers that consistently send us transactions that fail CheckTx. We may have to type check against the errors for added granularity, i.e. ErrTxTooLarge. And we should also have a threshold per peer, i.e. not disconnect at first sight of an error.

ref: #6468 (comment)

/cc @cmwaters


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:mempoolComponent: Mempoolstalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions