Author: Richard Myers 2020-08-07 15:34:43
Published on: 2020-08-07T15:34:43+00:00
In the context of ANYPREVOUT*, a special relay network could potentially be more intelligent about replacement. This would involve relaying only the higher up-front fee-rate transactions from a lower total fee package (Package B) which get spent by the high absolute fee child transactions from a higher total fee package (Package A). The result is Package A', which includes the higher fee rate versions of the ANYPREVOUT* transactions from Package B, but with an overall lower total fee. However, implementing this solution requires nodes to be "smart" about replacement when they see a SIGHASH_NOINPUT spend which can spend an output that something else in the mempool already spends. While this complexity may not be feasible to push into the Bitcoin P2P network, it could potentially be handled by a relay network of lightning nodes doing the calculation and passing the transactions to their local full nodes. Overall, using SIGHASH_NOINPUT would greatly simplify these issues if nodes can handle the necessary replacements intelligently.
Updated on: 2023-06-14T02:52:26.453271+00:00