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 13:02:45Event JSON
{
"id": "5c3070b666880c094a0d45015c3e1f08bbdcb11593e5b946d717ab4d908a7583",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686315765,
"kind": 1,
"tags": [
[
"e",
"3799a67fd30858efdd7d44ee6820ce9de24dd896f00c609e7e8a5782f9aa9e6b",
"",
"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": "d710c8acc9cec80da65d179c51cb87146920074f366bcbf57696be978091d8516a8efa7dd58c8750b88972358927b69b327089623ac40b779a5f635b988615bc"
}