plebplebpleb on Nostr: Thanks Jestopher since Q2 answer is A What I understand is that if user A have ...
Thanks
Jestopher (npub18yv…lpz3) since Q2 answer is A
What I understand is that if
user A have payment channel opened with user B (channel X),
and user B also have payment channel opened with user C (channel Y)
A can now transfer to user C indirectly using B as the intermediary
but since the payment require 2 payment channel to interact with each other,
1, how are the two different wallet interact with each other? is there some sort of smart contract that calculate and store how much of transfer are there that is related to payment from other channel?
2. how does lightning network figure out if there is a path fro user A to find user C via user B?
3. how does user A know that user B isn't lying by actually paying user C less than what user A is asking him of? since user A doesn't have channel open with user C. does user A TRUST user B with the payment to user C in full?
are those 3 problems, solved and managed by the node? so the node is the brain of lightning network?
if it solved by node. how does it ensure that
1. the node will try to find the best path with the least fee?
2. the node remain honest in case of "paying on behalf of" case. to not underpaid others
Published at
2023-07-14 16:08:50Event JSON
{
"id": "409124ce102e1e9cd8eda1a6d7ff2323a8af8321801587cf09788ca5ac9435de",
"pubkey": "33c47c54d9cca7afe9274cda812297a0d5918faa63fc786207c96b9a924bcd58",
"created_at": 1689350930,
"kind": 1,
"tags": [
[
"e",
"2ebf9b6b442b17620f5263803607a2ae876481de90559b2b1f51d08e28310641",
"",
"root"
],
[
"e",
"86dc91a6bb86b7ad8e805f61f6f225f52972b1861fd583564c08336834c9455e",
"wss://nostr.wine/",
"reply"
],
[
"p",
"391819e2f2f13b90cac7209419eb574ef7c0d1f4e81867fc24c47a3ce5e8a248"
],
[
"p",
"391819e2f2f13b90cac7209419eb574ef7c0d1f4e81867fc24c47a3ce5e8a248"
]
],
"content": "Thanks nostr:npub18yvpnchj7yaepjk8yz2pn66hfmmup505aqvx0lpyc3aree0g5fyq8clpz3 \n\nsince Q2 answer is A\n\nWhat I understand is that if \nuser A have payment channel opened with user B (channel X), \nand user B also have payment channel opened with user C (channel Y)\n\nA can now transfer to user C indirectly using B as the intermediary\n\nbut since the payment require 2 payment channel to interact with each other, \n\n1, how are the two different wallet interact with each other? is there some sort of smart contract that calculate and store how much of transfer are there that is related to payment from other channel?\n\n2. how does lightning network figure out if there is a path fro user A to find user C via user B?\n\n3. how does user A know that user B isn't lying by actually paying user C less than what user A is asking him of? since user A doesn't have channel open with user C. does user A TRUST user B with the payment to user C in full?\n\n\nare those 3 problems, solved and managed by the node? so the node is the brain of lightning network?\n\nif it solved by node. how does it ensure that\n1. the node will try to find the best path with the least fee?\n2. the node remain honest in case of \"paying on behalf of\" case. to not underpaid others",
"sig": "2324e7dbd5d0a0acb64378ef8899b1438f2ada6fd1f928d9c5d7bb81ec6b0a822b713d06ad3b2274185813f6f3f0b108f57df7984afa8d752fd45cc49dbbcb60"
}