aboutsummaryrefslogtreecommitdiff
path: root/src/primitives/transaction.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2020-03-19 09:35:45 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2020-03-19 09:58:11 +0100
commit67de1ee8bc18afff0f2f9f203803467a2274bfc1 (patch)
tree944e45f31b296c5cd0c439cd7d59a12f9241302a /src/primitives/transaction.cpp
parenta421e0a22f1230abd69b4661a019bed39b72205f (diff)
parenta733ad514a172a77309b84cbc6c81562bdf12e28 (diff)
downloadbitcoin-67de1ee8bc18afff0f2f9f203803467a2274bfc1.tar.xz
Merge #18378: Bugfix & simplify bn2vch using int.to_bytes
a733ad514a172a77309b84cbc6c81562bdf12e28 Add bn2vch test to functional tests (Pieter Wuille) a3ad6459b77e9b7156e486a9e4a37dbfdc35e324 Simplify bn2vch using int.to_bytes (Pieter Wuille) Pull request description: Alternative to #18374, fixing the incorrect padding added sometimes in `bn2vch`. Since we're using Python 3.2+, a much simpler implementation of `bn2vch` is possible using `int.to_bytes`. This also adds a "functional" test for bn2vch, in a new "framework_test_script.py", where the "framework_test_" prefix is intended for tests of the framework itself. ACKs for top commit: laanwj: nice, ACK a733ad514a172a77309b84cbc6c81562bdf12e28 jnewbery: Tested ACK a733ad514a172a77309b84cbc6c81562bdf12e28. Tree-SHA512: aeacc4e7fd84279023d38e8b4a5175fb16d7b3a7f93c61b9dcb59cd9927547732983c76f28564b62e37088399fc0121b38a514d73b0ea38b3983836539e9ca90
Diffstat (limited to 'src/primitives/transaction.cpp')
0 files changed, 0 insertions, 0 deletions