Skip to content

Add rate limiting with cooldown for tip submissions#171

Merged
Mosas2000 merged 1 commit intomainfrom
feature/rate-limit-tip-submissions
Feb 26, 2026
Merged

Add rate limiting with cooldown for tip submissions#171
Mosas2000 merged 1 commit intomainfrom
feature/rate-limit-tip-submissions

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Closes #58

Prevents duplicate transactions by adding a 10-second cooldown after each tip submission.

Changes:

  • Button is disabled during the cooldown period with countdown display
  • Cooldown timer starts after a successful transaction broadcast
  • Validation blocks the confirm dialog during cooldown
  • Interval cleans up properly on component unmount

Disable the send button during the cooldown period to prevent accidental
duplicate transactions. Show countdown timer on the button. Validate
cooldown state before opening the confirm dialog.
@Mosas2000 Mosas2000 merged commit e352420 into main Feb 26, 2026
1 of 3 checks passed
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.

No rate limiting or spam protection for tip submissions

1 participant