diff options
| author | Andrew Chow <[email protected]> | 2018-07-14 16:03:28 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-08-09 18:39:56 -0700 |
| commit | 18dfea0dd082af18dfb02981b7ee1cd44d514388 (patch) | |
| tree | ed176dc1ae965ff650a12c4b81f4da91c35d783e /src/httpserver.cpp | |
| parent | Merge #13812: wallet: sum ancestors rather than taking max in output groups (diff) | |
| download | discoin-18dfea0dd082af18dfb02981b7ee1cd44d514388.tar.xz discoin-18dfea0dd082af18dfb02981b7ee1cd44d514388.zip | |
Always create 70 byte signatures with low R values
When extra entropy is not specified by the caller, CKey::Sign will
now always create a signature that has a low R value and is at most
70 bytes. The resulting signature on the stack will be 71 bytes when
the sighash byte is included.
Using low R signatures means that the resulting DER encoded signature
will never need to have additional padding to account for high R
values.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions