Thomas Steenholdt [ARCHIVE] on Nostr: 📅 Original date posted:2018-03-18 📝 Original message: Hi, I've been trying to ...
📅 Original date posted:2018-03-18
📝 Original message:
Hi,
I've been trying to figure out the mechanics of Lightning fees, especially in the case of routed payments. Unfortunately, I haven't had any success in finding a high level description on the topic.
I'm hoping somebody is able to point me in the right direction?
Example:
A multi-hop routed payment where A needs to pay D through B and C. Established channels are A -> B -> C -> D.
What I'm looking for is a high level explanation of how fees are established, announced and ultimately claimed in a payment like this. Some of the questions that come to mind are:
- Does A know ahead of time the fees on B and C, or only when trying to set up the payment? And how?
- How does A know the amount of fees that need to be added to the payment to cover all fees?
- Is D aware of the full amount including fees or is that somehow hidden?
- How are the fees actually claimed (who ends up paying whom)?
Thanks in advance.
/Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180318/1b9879d6/attachment.html>
Published at
2023-06-09 12:49:36Event JSON
{
"id": "836b70db9e1cf996283f44afafafa125c19f65e7c86c971bea7b25f8bb31b465",
"pubkey": "11c0180f1c3f9223db11f8ab888673f1eafd1bad7320cbd9d096656f2db09926",
"created_at": 1686314976,
"kind": 1,
"tags": [
[
"e",
"01941d59a90d906f93914f662a152bffa4b1be43f11f46a599f1163ff1ef58dc",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "📅 Original date posted:2018-03-18\n📝 Original message:\nHi,\n\n\nI've been trying to figure out the mechanics of Lightning fees, especially in the case of routed payments. Unfortunately, I haven't had any success in finding a high level description on the topic.\n\n\nI'm hoping somebody is able to point me in the right direction?\n\n\nExample:\n\nA multi-hop routed payment where A needs to pay D through B and C. Established channels are A -\u003e B -\u003e C -\u003e D.\n\n\nWhat I'm looking for is a high level explanation of how fees are established, announced and ultimately claimed in a payment like this. Some of the questions that come to mind are:\n\n\n- Does A know ahead of time the fees on B and C, or only when trying to set up the payment? And how?\n\n- How does A know the amount of fees that need to be added to the payment to cover all fees?\n\n- Is D aware of the full amount including fees or is that somehow hidden?\n\n- How are the fees actually claimed (who ends up paying whom)?\n\n\nThanks in advance.\n\n\n/Thomas\n\n\n\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180318/1b9879d6/attachment.html\u003e",
"sig": "848677c91a5e094f36ac6f62d7fbef502e4235b334132951452fcda591f3d93ee2b18fa91c0ae13446514d26a3767adebb5be09e188691a9b0500c97ab13ad65"
}