Rusty Russell [ARCHIVE] on Nostr: ๐
Original date posted:2021-06-29 ๐ Original message: Hi all! John Carvalo ...
๐
Original date posted:2021-06-29
๐ Original message:
Hi all!
John Carvalo recently pointed out that not every implementation
accepts zero-conf channels, but they are useful. Roasbeef also recently
noted that they're not spec'd.
How do you all do it? Here's a strawman proposal:
1. Assign a new feature bit "I accept zeroconf channels".
2. If both negotiate this, you can send update_add_htlc (etc) *before*
funding_locked without the peer getting upset.
3. Nodes are advised *not* to forward HTLCs from an unconfirmed channel
unless they have explicit reason to trust that node (they can still
send *out* that channel, because that's not their problem!).
It's a pretty simple change, TBH (this zeroconf feature would also
create a new set of channel_types, altering that PR).
I can draft something this week?
Thanks!
Rusty.
Published at
2023-06-09 12:40:20Event JSON
{
"id": "1d43fd6422742eff9b43ae1fcdaf509d7c748ef13ed168cf883161546aa3f9a0",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686314420,
"kind": 1,
"tags": [
[
"e",
"f29bcfc2ebeea12d8a0d4f6fa878e2b45ab3505a46bbee55d05cf5e50d60c222",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "๐
Original date posted:2021-06-29\n๐ Original message:\nHi all!\n\n John Carvalo recently pointed out that not every implementation\naccepts zero-conf channels, but they are useful. Roasbeef also recently\nnoted that they're not spec'd.\n\nHow do you all do it? Here's a strawman proposal:\n\n1. Assign a new feature bit \"I accept zeroconf channels\".\n2. If both negotiate this, you can send update_add_htlc (etc) *before*\n funding_locked without the peer getting upset.\n3. Nodes are advised *not* to forward HTLCs from an unconfirmed channel\n unless they have explicit reason to trust that node (they can still\n send *out* that channel, because that's not their problem!).\n\nIt's a pretty simple change, TBH (this zeroconf feature would also\ncreate a new set of channel_types, altering that PR).\n\nI can draft something this week?\n\nThanks!\nRusty.",
"sig": "43d954c807e32939930b7ca7ead102dfc89d30fbec9267275c2350a84bdbe618d9f2f8d27a21059b5fcb33b68a143a529fc860ef8816530c648f906df60339f5"
}