Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spamming transactions attack #1232

Closed
b00f opened this issue Apr 20, 2024 · 0 comments
Closed

spamming transactions attack #1232

b00f opened this issue Apr 20, 2024 · 0 comments

Comments

@b00f
Copy link
Collaborator

b00f commented Apr 20, 2024

Description

We recently faced a spamming attack where numerous transactions were broadcasted across the network.
For instance, take a look at block 739070.
The spammer sent many transactions with small or zero amount, hoping to disrupt the blockchain.
This attack significantly impacted block creation and increased block time, as most of the network resources were engaged in validating these spam transactions.

How to Reproduce

This issue can be replicated by scripting transactions with zero or minimal amounts sent to random addresses in Testnet.

What Happened

As a result, some nodes crashed, causing the blockchain to halt for several hours.

Expected Behavior

One straightforward solution to prevent such malicious behavior is to impose a minimum transaction value for inclusion in the transaction pool. This parameter is configurable and does not affect consensus parameters. Each node can set its own threshold; for instance, a default of 0.1 PAC seems reasonable. This measure ensures that attackers must spend money to execute spam transactions, mitigating similar disruptive actions in the future.

@b00f b00f changed the title Spammin transactions spamming transactions attack Apr 20, 2024
@b00f b00f closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant