[1.1] Proposed `funding_cancelled` message



Summary:

In an email exchange between ZmnSCPxj and Matt Corallo, the idea of a `funding_cancelled` message was proposed. However, Matt expressed his disapproval, stating that it could lead to unnecessary complexity in the protocol. As there is no specified timeout for funding transactions, fundee nodes may keep track of them until end-of-life. This becomes complicated when implementing replaceable funding transactions because all versions must be monitored on the blockchain. For this reason, the complexity lies in tracking all versions of the funding transaction which can be accomplished by creating a database of transactions to be watched. The funder, who initially owns all coins in the channel, needs to keep track of all versions of the funding transaction it broadcast regardless of their confirmations. If a transaction has deeply confirmed, the funder would delete the entries from its database; sending `funding_cancelled` in this case is simply "being nice", and the fundee ignores this at its own detriment, wasting resources each block to check for a transaction that logically can never confirm.


Updated on: 2023-05-24T18:24:12.495680+00:00