Skip to content

Use MAX_PAYLOAD_SIZE in place of GOSSIP_MAX_SIZE #7158

Open
@michaelsproul

Description

@michaelsproul

Per this PR:

The spec has moved from using GOSSIP_MAX_SIZE to MAX_PAYLOAD_SIZE.

While adding Hoodi in this PR (#7145) I opted just to continue using GOSSIP_MAX_SIZE. All these parameters have the default values currently, so it doesn't make any difference.

Eventually we should switch over to using MAX_PAYLOAD_SIZE and the new values. I don't think we need to worry about backwards-compatibility, because these params are relatively unimportant, and the only thing we will be breaking will be local testnet setups using old testnet dirs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Networkingcode-qualityconsensusAn issue/PR that touches consensus code, such as state_processing or block verification.electraRequired for the Electra/Prague fork

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions