Anthony Towns [ARCHIVE] on Nostr: 📅 Original date posted:2018-10-10 📝 Original message: On Mon, Apr 30, 2018 at ...
📅 Original date posted:2018-10-10
📝 Original message:
On Mon, Apr 30, 2018 at 05:41:38PM +0200, Christian Decker wrote:
> eltoo is a drop-in replacement for the penalty based invalidation
> mechanism that is used today in the Lightning specification. [...]
Maybe this is obvious, but in case it's not, re: the locktime-based
sequencing in eltoo:
"any number above 0.500 billion is interpreted as a UNIX timestamp, and
with a current timestamp of ~1.5 billion, that leaves about 1 billion
numbers that are interpreted as being in the past"
I think if you had a more than a 1B updates to your channel (50 updates
per second for 4 months?) I think you could reset the locktime by rolling
over to use new update keys. When unilaterally closing you'd need to
use an extra transaction on-chain to do that roll-over, but you'd save
a transaction if you did a cooperative close.
ie, rather than:
[funding] -> [coop close / re-fund] -> [update 23M] -> [HTLCs etc]
or
[funding] -> [coop close / re-fund] -> [coop close]
you could have:
[funding] -> [update 1B] -> [update 23,310,561 with key2] -> [HTLCs]
or
[funding] -> [coop close]
You could repeat this when you get another 1B updates, making unilateral
closes more painful, but keeping cooperative closes cheap.
Cheers,
aj
Published at
2023-06-09 12:51:48Event JSON
{
"id": "c27ed2d8b5531439417eb276662b11c91af49aa436047f90192e71e5eef685c8",
"pubkey": "f0feda6ad58ea9f486e469f87b3b9996494363a26982b864667c5d8acb0542ab",
"created_at": 1686315108,
"kind": 1,
"tags": [
[
"e",
"a0b1dd922d42a4ed88aafdc2eb54863b152f6ce85f46a4b9c4ff641a3ece4f23",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "📅 Original date posted:2018-10-10\n📝 Original message:\nOn Mon, Apr 30, 2018 at 05:41:38PM +0200, Christian Decker wrote:\n\u003e eltoo is a drop-in replacement for the penalty based invalidation\n\u003e mechanism that is used today in the Lightning specification. [...]\n\nMaybe this is obvious, but in case it's not, re: the locktime-based\nsequencing in eltoo:\n\n \"any number above 0.500 billion is interpreted as a UNIX timestamp, and\n with a current timestamp of ~1.5 billion, that leaves about 1 billion\n numbers that are interpreted as being in the past\"\n\nI think if you had a more than a 1B updates to your channel (50 updates\nper second for 4 months?) I think you could reset the locktime by rolling\nover to use new update keys. When unilaterally closing you'd need to\nuse an extra transaction on-chain to do that roll-over, but you'd save\na transaction if you did a cooperative close.\n\nie, rather than:\n\n [funding] -\u003e [coop close / re-fund] -\u003e [update 23M] -\u003e [HTLCs etc]\nor\n [funding] -\u003e [coop close / re-fund] -\u003e [coop close]\n\nyou could have:\n [funding] -\u003e [update 1B] -\u003e [update 23,310,561 with key2] -\u003e [HTLCs]\nor\n [funding] -\u003e [coop close]\n\nYou could repeat this when you get another 1B updates, making unilateral\ncloses more painful, but keeping cooperative closes cheap.\n\nCheers,\naj",
"sig": "ba2f7f0e9016c6c9066a60a62a1819d813737f00c5576283a286e9883e95e11b450bd303656cce3196f124830cc6bb49ba727de45a603c9dc4ae8e55009c7006"
}