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

Anti-spam measurements against dust attack (#2223) #2244

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

someone235
Copy link
Collaborator

Apply the anti-spam patch to the dev branch

* BlockCandidateTransactions patch

* Fix condition

* Fix fee

* Fix bug

* Reject from mempool

* Fix hasCoinbaseInput

* Fix position

* Bump version to v0.12.14
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 30 lines in your changes are missing coverage. Please review.

Comparison is base (9d1e446) 58.91% compared to head (ea0aaf1) 58.89%.

Files Patch % Lines
domain/miningmanager/mempool/mempool.go 22.85% 25 Missing and 2 partials ⚠️
...main/miningmanager/mempool/validate_transaction.go 66.66% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2244      +/-   ##
==========================================
- Coverage   58.91%   58.89%   -0.03%     
==========================================
  Files         679      679              
  Lines       33198    33241      +43     
==========================================
+ Hits        19558    19576      +18     
- Misses      10795    10818      +23     
- Partials     2845     2847       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@someone235 someone235 merged commit 88bdcb4 into kaspanet:dev Dec 6, 2023
5 checks passed
okilisan pushed a commit to okilisan/karlsend that referenced this pull request Dec 17, 2023
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