What is the rationale for inclusion of previous amount in SegWit signing process?

by Coding Enthusiast   Last Updated May 31, 2019 05:27 AM

When spending a P2PKH output, the "data" we hash only includes the output script from previous transaction but when spending a P2WPKH (the new serialization) we also include the amount field from previous transaction (#6 in BIP-143 specification). Why?



Related Questions


Updated August 14, 2018 20:27 PM

Updated March 01, 2019 15:27 PM

Updated July 13, 2019 20:27 PM

Updated May 10, 2019 20:27 PM