Skip to content

mempool: Remove gasWanted from mempoolTx for non-validators #2978

@ValarDragon

Description

@ValarDragon

We should investigate if we can cleanly remove gasWanted from every mempool tx for non-validators. Only validators need to store the gas wanted, since its used when building the block. Its not clear to me that we could just make mempool Tx an interface though, since the type specification data may actually grow the memory usage instead of shrinking it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:mempoolComponent: MempoolT:perfType: Performancestalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions