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

feat(firewall): define rate limit for network topics #1308

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Jun 2, 2024

Description

This PR defines rate limits for network topics.
The rate limit specifies the number of messages per second that are allowed.
If the threshold is exceeded, the message won't be broadcasted.
It also define new topics for block and transactions.

network/gossip.go Outdated Show resolved Hide resolved
network/gossip.go Show resolved Hide resolved
network/gossip.go Outdated Show resolved Hide resolved
network/interface.go Outdated Show resolved Hide resolved
@Ja7ad
Copy link
Contributor

Ja7ad commented Jun 2, 2024

@b00f Thank you

@Ja7ad Ja7ad merged commit e947cb6 into pactus-project:1.1.x Jun 2, 2024
1 check passed
@b00f b00f deleted the rate-limit branch June 10, 2024 02:00
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

Successfully merging this pull request may close these issues.

2 participants