Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
53910494
Topic
5226185
Board
Bitcoin Technical Support
Re: Sign Transaction Bitcoin with Openssl
by
barno
on
25/02/2020, 15:25:14 UTC
Thanks for your reply, I saw that links about that issue "mandatory-script-verify-flag-failed (Non-canonical signature: S value is unnecessarily high) (code 16)".
https://github.com/bitcoin-core/secp256k1/blob/544435fc90a5672d862e2a51f44c10251893b97d/src/ecdsa_impl.h#L310-L315
Do you know If I can check S before signature or If I can do that function
Code:
if (S > N/2) then S = N - S
in bash without use external library?
thanks