ryanthegentry on Nostr: Correct me if I’m wrong, but in my mind the mass exit attacker controls one or ...
Correct me if I’m wrong, but in my mind the mass exit attacker controls one or several routing nodes. During a full mempool, the attacker closes channels with bad states paying themself all the money in the channels, and prevents counterparties from publishing justice txs, right? So they claim all the funds in all the closed channels, regardless of prior inbound/outbound balance of each channel.
This attack is maximally effective theft-wise if the prior state of all channels is 100% inbound to the attacker, as they’ll go from having a claim on 0% of funds, to owning on-chain 100% of funds. This attack is minimally effective theft-wise if the prior state of all channels is 100% outbound from the attacker, as they’ll go from having a claim on 100% of funds to owning on-chain 100% of funds. So honest nodes can mitigate the damage from such an attack (and collectively lower the potential returns to an attacker) by consistently Looping out received funds from their local balance and realizing them on-chain.
I don’t necessarily consider that “hot potato,” with fees so low it makes sense for funds in LN to be high velocity! For this scenario, I always use the comparison to old timey brick and mortar merchants and their cash registers. During the day, the register fills up with cash. At the end of the day, to avoid theft, the proprietor would physically take their cash to the bank for safekeeping, and leave an empty register in their store. With bitcoin, you ofc can be your own bank by owning funds on-chain, so instead of taking cash to a 3rd party you can just send funds received on LN to an on-chain address you control. Loop or submarine swaps more generally help you do that without closing channels, to reward your liquidity providing peers for their service.
Published at
2023-03-21 12:38:08Event JSON
{
"id": "a7ced875b9ba5f33dab803e1e014110ee105b6bc8757847153350dd7119a8327",
"pubkey": "e75692ec71174e698df1f3d1f5771855bcc4e6e568489d2eaad489d81064ace6",
"created_at": 1679402288,
"kind": 1,
"tags": [
[
"e",
"20eaded1c5f53a2d4905abdf34eba5f78567b85dd851cd40f2a9f2001bb808cf"
],
[
"e",
"2b5a502c5552f19f141868638033ef4938baeaef8d0b4ca9f8d141a7501e5d56"
],
[
"p",
"65594f279a789982b55c02a38c92a99b986f891d2814c5f553d1bbfe3e23853d"
],
[
"p",
"eaf27aa104833bcd16f671488b01d65f6da30163b5848aea99677cc947dd00aa"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"5be6446aa8a31c11b3b453bf8dafc9b346ff328d1fa11a0fa02a1e6461f6a9b1"
],
[
"p",
"5be6446aa8a31c11b3b453bf8dafc9b346ff328d1fa11a0fa02a1e6461f6a9b1"
]
],
"content": "Correct me if I’m wrong, but in my mind the mass exit attacker controls one or several routing nodes. During a full mempool, the attacker closes channels with bad states paying themself all the money in the channels, and prevents counterparties from publishing justice txs, right? So they claim all the funds in all the closed channels, regardless of prior inbound/outbound balance of each channel.\n\nThis attack is maximally effective theft-wise if the prior state of all channels is 100% inbound to the attacker, as they’ll go from having a claim on 0% of funds, to owning on-chain 100% of funds. This attack is minimally effective theft-wise if the prior state of all channels is 100% outbound from the attacker, as they’ll go from having a claim on 100% of funds to owning on-chain 100% of funds. So honest nodes can mitigate the damage from such an attack (and collectively lower the potential returns to an attacker) by consistently Looping out received funds from their local balance and realizing them on-chain.\n\nI don’t necessarily consider that “hot potato,” with fees so low it makes sense for funds in LN to be high velocity! For this scenario, I always use the comparison to old timey brick and mortar merchants and their cash registers. During the day, the register fills up with cash. At the end of the day, to avoid theft, the proprietor would physically take their cash to the bank for safekeeping, and leave an empty register in their store. With bitcoin, you ofc can be your own bank by owning funds on-chain, so instead of taking cash to a 3rd party you can just send funds received on LN to an on-chain address you control. Loop or submarine swaps more generally help you do that without closing channels, to reward your liquidity providing peers for their service.",
"sig": "34688c3574fcd93bede7270c61cca3034bb37f709f9cc7e75bfe1cd2071bf4ca1e23127e1a4e4b62bf4f4180d8b3e712e076238a8ec442b08dff3e10487c81ca"
}