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

mempool/estimatefee: Fix negative index bug #11

Merged
merged 1 commit into from Dec 22, 2021

Conversation

kcalvinalvin
Copy link
Contributor

@kcalvinalvin kcalvinalvin commented Dec 21, 2021

Fixes a negative index bug that makes the node crash on chain
reorganizations. The bug is detailed in
github.com/btcsuite/btcd/issues/1660.

A better design than just skipping the transaction would make
the fee estimator more accurate and that should implemented
at a later date
paniclog.log

Fixes a negative index bug that makes the node crash on chain
reorganizations.  The bug is detailed in
github.com/btcsuite/btcd/issues/1660.

A better design than just skipping the transaction would make
the fee estimator more accurate and that should implemented
at a later date.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1608119920

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 10 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.01%) to 54.703%

Files with Coverage Reduction New Missed Lines %
mempool/estimatefee.go 1 85.23%
peer/peer.go 2 75.37%
btcec/signature.go 3 92.76%
addrmgr/network.go 4 73.58%
Totals Coverage Status
Change from base Build 1605857687: 0.01%
Covered Lines: 26140
Relevant Lines: 47785

💛 - Coveralls

@kcalvinalvin kcalvinalvin merged commit e5d5bdc into utreexo:main Dec 22, 2021
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.

None yet

2 participants