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 /test/util/data/txcreatesignv1.hex | |
| 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 'test/util/data/txcreatesignv1.hex')
| -rw-r--r-- | test/util/data/txcreatesignv1.hex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/data/txcreatesignv1.hex b/test/util/data/txcreatesignv1.hex index a46fcc88c..40039319b 100644 --- a/test/util/data/txcreatesignv1.hex +++ b/test/util/data/txcreatesignv1.hex @@ -1 +1 @@ -01000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008b48304502210096a75056c9e2cc62b7214777b3d2a592cfda7092520126d4ebfcd6d590c99bd8022051bb746359cf98c0603f3004477eac68701132380db8facba19c89dc5ab5c5e201410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 +01000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008a4730440220131432090a6af42da3e8335ff110831b41a44f4e9d18d88f5d50278380696c7202200fc2e48938f323ad13625890c0ea926c8a189c08b8efc38376b20c8a2188e96e01410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 |