-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: lower the EC_SIGNATURE_DER_MAX_LOW_R_LEN constant to 70
This constant is the size of signatures produced by wally when grinding. As wally (and libsecp256k1[-zkp]) always produce low-S signatures, the maximum size is 70 bytes plus the sighash byte for low-R signatures. This affects the dummy witness stack function, making transaction fee estimation more accurate.
1 parent
e443bca
commit 168b676
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters