Skip to content

Ability to charge extra fee for operational transaction to prevent spam  #1626

@xlc

Description

@xlc

Previous issue: paritytech/substrate#10424

I believe it is currently possible to spam & congest a network by submitting a lot of operational transactions. They will fail but they will be included prior than normal transactions unless a sufficiently high tip is added.

This could also potentially block some critical operational transactions.

A simple solution is modify the transaction fee for any operational transaction to add a high enough base fee, and refund it if the transaction succeeds. This will raise the cost of attack via failing operational transactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.D1-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.I5-enhancementAn additional feature request.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions