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

[Merged by Bors] - chore(txs): mempool optimization #6185

Closed
wants to merge 6 commits into from
Closed

Conversation

acud
Copy link
Contributor

@acud acud commented Jul 29, 2024

Motivation

Improves some aspects of the mempool handling.

Description

Test Plan

Tests passing

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

@acud
Copy link
Contributor Author

acud commented Jul 29, 2024

bors try

spacemesh-bors bot added a commit that referenced this pull request Jul 29, 2024
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.8%. Comparing base (d8bb919) to head (c2575a1).
Report is 7 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop   #6185     +/-   ##
=========================================
- Coverage     81.8%   81.8%   -0.1%     
=========================================
  Files          301     301             
  Lines        32606   32605      -1     
=========================================
- Hits         26697   26689      -8     
- Misses        4178    4185      +7     
  Partials      1731    1731             

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

Comment on lines 558 to 560
func acceptable(err error) bool {
return err == nil || errors.Is(err, errInsufficientBalance) || errors.Is(err, errTooManyNonce)
return err == nil || errors.Is(err, errTooManyNonce)
}
Copy link
Member

@fasmat fasmat Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain in the PR description from a users perspective what this change will accomplish?

txs/cache.go Show resolved Hide resolved
@spacemesh-bors
Copy link

try

Build failed:

@acud
Copy link
Contributor Author

acud commented Jul 29, 2024

bors try

spacemesh-bors bot added a commit that referenced this pull request Jul 29, 2024
@spacemesh-bors
Copy link

try

Build succeeded:

@acud
Copy link
Contributor Author

acud commented Jul 29, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 29, 2024
## Motivation

Improves some aspects of the mempool handling.
@acud
Copy link
Contributor Author

acud commented Jul 29, 2024

bors cancel

@spacemesh-bors
Copy link

Canceled.

@acud
Copy link
Contributor Author

acud commented Jul 29, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 29, 2024
## Motivation

Improves some aspects of the mempool handling.
@spacemesh-bors
Copy link

Build failed:

  • systest-status

@acud
Copy link
Contributor Author

acud commented Jul 29, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 29, 2024
## Motivation

Improves some aspects of the mempool handling.
@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title chore(txs): mempool optimization [Merged by Bors] - chore(txs): mempool optimization Jul 29, 2024
@spacemesh-bors spacemesh-bors bot closed this Jul 29, 2024
@spacemesh-bors spacemesh-bors bot deleted the tx-optz branch July 29, 2024 23:22
fasmat added a commit that referenced this pull request Jul 30, 2024
* chore: improve mempool

* Cleanup Changelog

---------

Co-authored-by: Matthias <5011972+fasmat@users.noreply.github.com>
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.

3 participants