diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-12-07 14:37:09 -0800 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-10 11:37:53 +0100 |
commit | 1caa32e3f2a74cd5700a4afe8ecf650f9020fb5c (patch) | |
tree | 82ab5cc3755857e09a8fc259004df56cc2a079ad /src/qt/test/rpcnestedtests.h | |
parent | 0d3c140c4db051fb33c2935ad9536f0f4aa2a8c5 (diff) |
Improve heuristic hex transaction decoding
Whenever both encodings are permitted, try both, and if only one succeeds,
return that one. Otherwise prefer the one for which the heuristic sanity
check passes. If that is the case for neither or for both, return the
extended-permitting deserialization.
Github-Pull: #20595
Rebased-From: 39c42c442044aef611d03ee7053d2dd6df63deb7
Diffstat (limited to 'src/qt/test/rpcnestedtests.h')
0 files changed, 0 insertions, 0 deletions