Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2016-07-17 📝 Original message: Ron OHara <ron.ohara54 at ...
📅 Original date posted:2016-07-17
📝 Original message:
Ron OHara <ron.ohara54 at gmail.com> writes:
> Hi .... forgive me if I have missed something obvious.
>
> In the LN whitepaper (like many others) the discussion revolves around
> Alice and Bob interacting ... fine.
>
> IF Alice and Bob interact many times during an interval, there is clear
> chance to optimize that to a single 'settlement' on the block chain.
Yes, that's a simple payment channel, which have existed for some time.
They're very limited.
Lightning adds the ability to trustlessly chain channels, so Alice can
pay Carol via Bob.
> If the interval is a month ... then since I am fairly predictable... ,
> I purchase from the same shops many times in that month... that could be
> optimized. BUT will the merchants be happy with (up to) a months worth
> of revenue still pending inside LN? I dont think so. Visa via the
> banks, allows merchants access to the pending funds, with the proviso
> that they may be reversed in the future. Cashflow is vital to merchants.
Channels are just bitcoins held by a 2 of 2 signature, with a way of
cashing out (with some delay!) if the other side vanishes.
A recipient doesn't have to actually hold that many bitcoins though,
since they mainly receive payments.
(Now, there's another question about whether stores will actually do
this themselves, or outsource to Coinbase etc, just like bitcoin...)
> OK - that is for the Alice and Bob case of interactions. Now for the
> other little problem I see here - which makes things even worse.
>
> With Bitcoin it is NOT 'Alice transacting with Bob'.
> It is Address(1) transacting with Address(2) .... and if both parties
> are following the recommended practice of not re-using addresses, then
> their next interaction is Address(3) transacting with Address(4) -
> removing any possibility of optimization.
>
> As far as I can tell, long running channels, are by definition identical
> to address re-use for the period they are open. That makes them very
> vulnerable to traffic analysis and thus have lower security that native
> Bitcoin transactions. That is probably acceptable for many use cases,
> but it is a tradeoff to gain performance.
Kind of. It's better, and worse. If Alice only has one channel, and
it's to Bob, Bob can see all the amounts Alice spends. It's fairly easy
to make sure Bob can't see the final destination (just the next hop),
but he gets an idea of the amounts. Nobody else can see it unless Bob
shows them though, so it's not quite the same as on-chain.
Having three channels is a good idea; it makes the whole system more
robust, it spreads the information around, *and* because Bob can never
know then if Alice is actually routing a payment for someone else.
Hope that helps!
Rusty.
Published at
2023-06-09 12:46:21Event JSON
{
"id": "a6cfcaa1909ef5c37fd9798818f9751ec90d82f51a6ba737c1b75098a6fbc2b5",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686314781,
"kind": 1,
"tags": [
[
"e",
"c835f8488d8b0c013fff8874676c96a11f2e0a81c20d7cbd43662b7a5f1a1400",
"",
"root"
],
[
"e",
"9fb8cb873d0ec395f3e9fc685c331a8174fdae781827ad60aa0f79cc9c787ce7",
"",
"reply"
],
[
"p",
"0b7d6fa587cf7a9c92e20c717721c6b03fa0aca815e910ad040970afcd61ee31"
]
],
"content": "📅 Original date posted:2016-07-17\n📝 Original message:\nRon OHara \u003cron.ohara54 at gmail.com\u003e writes:\n\u003e Hi .... forgive me if I have missed something obvious.\n\u003e\n\u003e In the LN whitepaper (like many others) the discussion revolves around\n\u003e Alice and Bob interacting ... fine.\n\u003e\n\u003e IF Alice and Bob interact many times during an interval, there is clear\n\u003e chance to optimize that to a single 'settlement' on the block chain.\n\n\nYes, that's a simple payment channel, which have existed for some time.\nThey're very limited.\n\nLightning adds the ability to trustlessly chain channels, so Alice can\npay Carol via Bob.\n\n\u003e If the interval is a month ... then since I am fairly predictable... ,\n\u003e I purchase from the same shops many times in that month... that could be\n\u003e optimized. BUT will the merchants be happy with (up to) a months worth\n\u003e of revenue still pending inside LN? I dont think so. Visa via the\n\u003e banks, allows merchants access to the pending funds, with the proviso\n\u003e that they may be reversed in the future. Cashflow is vital to merchants.\n\nChannels are just bitcoins held by a 2 of 2 signature, with a way of\ncashing out (with some delay!) if the other side vanishes.\n\nA recipient doesn't have to actually hold that many bitcoins though,\nsince they mainly receive payments.\n\n(Now, there's another question about whether stores will actually do\nthis themselves, or outsource to Coinbase etc, just like bitcoin...)\n\n\u003e OK - that is for the Alice and Bob case of interactions. Now for the\n\u003e other little problem I see here - which makes things even worse.\n\u003e\n\u003e With Bitcoin it is NOT 'Alice transacting with Bob'.\n\u003e It is Address(1) transacting with Address(2) .... and if both parties\n\u003e are following the recommended practice of not re-using addresses, then\n\u003e their next interaction is Address(3) transacting with Address(4) -\n\u003e removing any possibility of optimization.\n\u003e\n\u003e As far as I can tell, long running channels, are by definition identical\n\u003e to address re-use for the period they are open. That makes them very\n\u003e vulnerable to traffic analysis and thus have lower security that native\n\u003e Bitcoin transactions. That is probably acceptable for many use cases,\n\u003e but it is a tradeoff to gain performance.\n\nKind of. It's better, and worse. If Alice only has one channel, and\nit's to Bob, Bob can see all the amounts Alice spends. It's fairly easy\nto make sure Bob can't see the final destination (just the next hop),\nbut he gets an idea of the amounts. Nobody else can see it unless Bob\nshows them though, so it's not quite the same as on-chain.\n\nHaving three channels is a good idea; it makes the whole system more\nrobust, it spreads the information around, *and* because Bob can never\nknow then if Alice is actually routing a payment for someone else.\n\nHope that helps!\nRusty.",
"sig": "6cb986bf9a97e01a1816283064ea95d6e7a9b68997f72c7720e6f49f05d5f7ffa4876e4b2666886efd5954bc3926e9963df84769dc1fa498b6698ec2d93a7e85"
}