Refer to channels busy with funding tx negotiation as "unfunded"
authorDuncan Dean <git@dunxen.dev>
Mon, 17 Jul 2023 13:52:44 +0000 (15:52 +0200)
committerDuncan Dean <git@dunxen.dev>
Wed, 19 Jul 2023 17:10:26 +0000 (19:10 +0200)
commite9001aa0044515f6f14b0c58cf2b8ae0ef31364e
treecee4fb31474e1210d7970f6cb0c57d98cdb958df
parent2e86a5958ac81e97f14e389737ef40c4d1e16046
Refer to channels busy with funding tx negotiation as "unfunded"

We had some inconsistencies so far in referring to channels such as
`OutboundV1Channel` and `InboundV1Channel` as pending and unfunded.
From here we refer to these kinds of channels only as "unfunded".

This is a slight conflation with the term "unfunded" in the contexts
of denial of service mitigation. There, "unfunded" actually refers to
non-0conf, inbound channels that have not had their funding transaction
confirmed. This might warrant changing that usage to "unconfirmed inbound".
lightning/src/ln/channelmanager.rs