Skip to content

Don't accept transactions to the mempool during initial block download. #4943

@nuttycom

Description

@nuttycom

A node can't interact as a full network peer until it's able to validate transactions, which requires the node to be fully synced. So the node should ignore transactions which would otherwise enter the mempool until it's able to validate them successfully. In ProcessMessage in the handling of the tx command, zcashd can simply ignore messages until the current chain tip is >= the highest-known network upgrade height.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-chain-syncArea: Chain synchronization / Initial Block Download

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions