SF proposal: prohibit unspendable outputs with amount=0



Summary:

The email thread discusses the impact of a proposed soft fork on confidential transactions. It is noted that the proposed fork would make these transactions more complicated, as blinding and unblinding transactions would have to be created with minimal output values. This could result in a situation where the fee is equal to the total amount of input. The format of blinding transactions is analyzed, and it is suggested that a change to the blinding scriptPubKey could allow for the use of 0 value outputs. It is proposed that OP_RETURN could be added to the scriptPubKey during blinding, and that the witnessOut data could still be added even if the scriptPubKey is unspendable. The discussion also touches on the issue of 0-value outputs that are spendable and can potentially remain in the UTXO indefinitely. The need for spendable outputs with null amounts is questioned, and it is suggested that creating a BIP to address this issue would be simple if there is no reason or use case to keep allowing them.


Updated on: 2023-06-12T18:07:23.657877+00:00