Skip to content

Align reactor max msg sizes with relevant max data sizes #2381

@ebuchman

Description

@ebuchman

Each reactor has hard coded msg size maximums checked in decodeMessage, called from Receive.

We should align these (ie. make them functions of) the maximum size of underlying data being sent in each reactor. Eg.

  • blockchain: max block size
  • consensus: max block part size
  • mempool: max block data size
  • evidence: max evidence size
  • pex: max size of X addresses ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:p2pComponent: P2P pkgT:bugType Bug (Confirmed)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions