|
August 24, 2018, 03:27:13 PM |
|
The signature encompasses the output script and the amount too. Essentially, the signature will contain all of the transaction data (except the scriptsig and the signature itself), the output script is not excluded. The signature basically proves the ability of the transaction to spend the UTXO as well as the transaction outputs. If the transaction output is modified, the signature will not validate and thus the transaction would become invalid.
|