diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-08-21 18:16:41 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2024-05-03 14:20:45 -0300 |
commit | 53302a09817e5b799d345dfea432546a55a9d727 (patch) | |
tree | 1bf8a9a3794e2cd479b1deb9d97181afc0b8aac5 /src/qt/android/res | |
parent | 9be6065cc03f2408f290a332b203eef9c9cebf24 (diff) |
bugfix: addmultisigaddress, add unsupported operation for redeem scripts over 520 bytes
Due to a bug in the legacy wallet, the p2sh maximum script size limit is also imposed
on 'p2sh-segwit' and 'bech32' redeem scripts.
Although redeem scripts over MAX_SCRIPT_ELEMENT_SIZE bytes are technically valid for
segwit output types, we don't want to enable this feature in legacy wallets for the
following reasons:
1) It introduces a compatibility-breaking change requiring downgrade protection; older
wallets would be unable to interact with these "new" legacy wallets.
2) Considering the ongoing deprecation of the legacy spkm, this issue adds another
good reason to transition towards descriptors.
Diffstat (limited to 'src/qt/android/res')
0 files changed, 0 insertions, 0 deletions