Author: Andrew Melnychuk Oseen 2022-11-18 21:11:54
Published on: 2022-11-18T21:11:54+00:00
The author is seeking feedback on an idea about mapping output amounts to a tap branch for the purpose of secure partial spends of a single UTXO. The Merkel tree root tweak and tree branch and leaf are defined using tagged hash and left and right hash and relative output amount. The transaction validation involves a negative output amount flagging the transaction as relative amount spends, with the miner fee being the absolute of the output amount. The author poses questions regarding whether this would require a hard fork, if the sum is required in the asset tree, how big a taproot tree can get before it becomes cumbersome, and whether multiple taproot trees can be put inside a tweak. Possible benefits include slightly increased privacy of output amounts and reduced growth rate of UTXOs. Drawbacks may include disabling the ability for output change addresses to be the same as inputs, as the spending amounts are absolute. An example transaction is given, where inputs are [1.5,.3,.1] and outputs are [-.0.001]. Alice's spending example is provided, where she sends to a new address and has a new change address. The author suggests that this idea could provide a way to onboard a lot of lightning channels with a single UTXO output. An exchange could schedule open lightning channels at certain time intervals, with people providing pubkeys and payment to be placed in a tap leaf, similar to selling seats for an aircraft flight.
Updated on: 2023-05-22T22:55:14.658104+00:00