Skip to content

Incorporate low-R values into estimate signature size #2244

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
merged 1 commit into from
May 2, 2023

Conversation

benthecarman
Copy link
Contributor

Before it was estimating a 73 byte signature which is assuming a high-R value. If the user has the grind_signatures flag on we can assume they will create a low-r value signature and thus estimate with a 72 byte signature.

This PR should make fee estimation slightly better.

@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 🎉

Comparison is base (c182567) 91.56% compared to head (0517b18) 91.58%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2244      +/-   ##
==========================================
+ Coverage   91.56%   91.58%   +0.02%     
==========================================
  Files         104      104              
  Lines       51749    51979     +230     
  Branches    51749    51979     +230     
==========================================
+ Hits        47384    47607     +223     
- Misses       4365     4372       +7     
Impacted Files Coverage Δ
lightning/src/chain/keysinterface.rs 88.82% <100.00%> (+0.06%) ⬆️

... and 17 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wpaulino wpaulino merged commit 2cae6f0 into lightningdevkit:main May 2, 2023
@benthecarman benthecarman deleted the signature-size branch May 2, 2023 19:02
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.

6 participants