What is Nostr?
Rusty Russell [ARCHIVE] /
npub1zw7…khpx
2023-06-09 12:44:03
in reply to nevent1q…txrr

Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2015-08-20 📝 Original message: Hi all! So, with some ...

📅 Original date posted:2015-08-20
📝 Original message:
Hi all!

So, with some prompting from AJ who has been working on node
incentives, I realized there's a nasty attack available to the network.
You simply route a payment back to another channel you own, then refuse
to dislose R.

You have to lock up N bitcoins, but so does every node in the path (and
nobody gets paid!). Onion routing means nobody knows who to blame (you
can simply claim there's another hop after you).

I think in this case we need to peel the onion[1]: if a payment takes
too long you tell the previous node where you sent it (and relay where
it sent it, etc.) If you're the last in the queue, you also need to
prove that you closed the channel to the offender[2] (which costs you a
txfee, providing disincentive).

Anyone see any other problems?

Thanks,
Rusty.

[1] Which means exposing a set of hashes corresponding to hashes of the
route steps, and including a nonce inside each route step, so you
can prove you decrypted it.
[2] eg. provide the commitment tx or mutual close tx, and a signature
from that node's key provign that they created it with you.
Author Public Key
npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx