Skip to content

Pack the Nodes message more tightly  #74

@Nashatyrev

Description

@Nashatyrev

Description

Currently ENRs for Nodes message are packed considering the max ENR size, i.e. max 4 ENRs per packet to fit the max packet size in the worst case.
If ENRs are smaller then more records could be packed into a single message.

Also need to consider that the message can be sent withing both OrdinaryMessage and Handshake packets. However for Nodes message (as a response message) this situation is highly unlikely to occur with a honest remote node, so probably just controlling and dropping outgoing too large message would be enough. (see comment #72 (comment))

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