ZmnSCPxj [ARCHIVE] on Nostr: 📅 Original date posted:2018-12-28 📝 Original message: Good morning Alex, > > Do ...
📅 Original date posted:2018-12-28
📝 Original message:
Good morning Alex,
> > Do you mean, that if you make a swap on Lightning, which *might* be a Bitcoin-to-WJT American Call Option, I will refuse to forward until I also get something that is a WJT-to-Bitcoin call option, similar to a butterfly spread?
> > That implies that in the "normal", non-American-call-option case, the payer has the target asset, which brings up the question: why would the payer even go through the cross-asset broker in a Lightning route if the payer already has the target asset?
>
> No this isn't what I'm suggesting. Let me try to explain again. Apologies if this isn't clear:
>
> Let's assume only two parties are engaging in this interaction, you and me. You offer me the WJT/BTC exchange rate from your mult-chain node and I route an LN payment from my BTC node to my WJT node through your multi-chain node. My understanding is that the main problem with this is the free optionality I get when my WJT node does not return the hash preimage immediately to you and instead waits to see if the market price fluctuates out of my favor until option/HTLC expiry. But what if we could atomically swap this preimage for the final HTLC you sent me? If this magical atomic information swap could happen (I don't get the final HTLC unless I reveal the preimage) the payment would settle immediately (in the two party case, let's assume no other intermediary nodes). A timed commitment approach could potentially be feasible if the time required to brute force the commitment is longer than the life of the "option"/HTLC. I'm not necessarily suggesting this the optimal solution, but I haven't seen the idea mentioned before.
The issue is that it is impossible for the exchange node to determine if it is talking to one other entity, or several distinct self-interested entities.
If you and YAIjbOJO were distinct entities, then this issue would not happen.
Because of Onion routing and the use of pseudonymous public keys, ZmnSCPxj cannot determine if you and YAIjbOJO are different entities.
Thus, your proposal must work both in the case where there is multiple hop nodes, and in the case where you and YAIjbOJO are the same entity actually.
So let us consider the case where you are using BTC to pay a node, randomly named bQqZrrEM, 1.0 WJT.
You have found the below route:
you ->BTC-> ZmnSCPxj ->WJT-> YAIjbOJO ->WJT-> bQqZrrEM
Because ZmnSCPxj is an exchange node, ZmnSCPxj demands a timed commitment so that the payment pushes through.
Now suppose that the following sequence of events occurs.
1. Zeus has an affair.
2. bQqZrrEM generates a random preimage and provides the hash to you.
3. In the domestic argument after Hera finds out about the affair, Zeus randomly throws a lightning bolt that by chance hits and destroys bQqZrrEM.
4. You initiate payment starting with ZmnSCPxj.
What happens then?
If the payment does not push through, then you could instead do:
1. you/YAIjbOJO/bQqZrrEM (really the same entity) generate a preimage and its hash.
2. You delete the bQqZrrEM identity.
3. You inititate payment starting with ZmnSCPxj
This still lets you make an American Call Option by suddenly "reviving" the bQqZrrEM identity later in the "exercise" branch, or deciding to not revive the bQqZrrEM identity in the "not exercise" branch.
On the other hand, if the payment pushes through regardless of whether or not bQqZrrEm survives, then in the world where bQqZrrEm dies of stray lover quarrel lightning bolt, YAIjbOJO gets paid and I get the money from you, and you are sad because you paid for something you will never get.
> If this magical atomic information swap could happen (I don't get the final HTLC unless I reveal the preimage)
What mechanism creates this?
If this mechanism involves timelocks also, then what prevents the same American Call Option from being created using the timelock of this magic mechanism?
The timelocks could be shorter, but it is still the same riskless free-of-premium American Call Option, so rational entities will continuosly spam exchange nodes with such attempts even if the timelock is short.
Does this mechanism require that the exchange know who the final destination will be?
What happens if while negotiating this information, one of the intermediate nodes drops?
If we disallow intermediate nodes, then I know who the final destination will be (it will be the next hop) and I can then exercise my newfound right to censor transactions.
Regards,
ZmnSCPxj
Published at
2023-06-09 12:53:37Event JSON
{
"id": "084064b227bedb23da9d2b77b695c60fa19be26f5a629542dbc4a4f9c77f4cdf",
"pubkey": "4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861",
"created_at": 1686315217,
"kind": 1,
"tags": [
[
"e",
"2cf0f173e79c61db5016952295d26d3125e7525cbe8bdec64d68f3c949e75a64",
"",
"root"
],
[
"e",
"cb18fb0622c94ee6ad4ea8cbaa6daa2bf4efd8efad189d28a7594cfb61bb38ad",
"",
"reply"
],
[
"p",
"1af361caff60ad33901afe7b3c1823449af9239be002d54e242d4632baae6813"
]
],
"content": "📅 Original date posted:2018-12-28\n📝 Original message:\nGood morning Alex,\n\n\u003e \u003e Do you mean, that if you make a swap on Lightning, which *might* be a Bitcoin-to-WJT American Call Option, I will refuse to forward until I also get something that is a WJT-to-Bitcoin call option, similar to a butterfly spread?\n\u003e \u003e That implies that in the \"normal\", non-American-call-option case, the payer has the target asset, which brings up the question: why would the payer even go through the cross-asset broker in a Lightning route if the payer already has the target asset?\n\u003e\n\u003e No this isn't what I'm suggesting. Let me try to explain again. Apologies if this isn't clear:\n\u003e\n\u003e Let's assume only two parties are engaging in this interaction, you and me. You offer me the WJT/BTC exchange rate from your mult-chain node and I route an LN payment from my BTC node to my WJT node through your multi-chain node. My understanding is that the main problem with this is the free optionality I get when my WJT node does not return the hash preimage immediately to you and instead waits to see if the market price fluctuates out of my favor until option/HTLC expiry. But what if we could atomically swap this preimage for the final HTLC you sent me? If this magical atomic information swap could happen (I don't get the final HTLC unless I reveal the preimage) the payment would settle immediately (in the two party case, let's assume no other intermediary nodes). A timed commitment approach could potentially be feasible if the time required to brute force the commitment is longer than the life of the \"option\"/HTLC. I'm not necessarily suggesting this the optimal solution, but I haven't seen the idea mentioned before.\n\n\nThe issue is that it is impossible for the exchange node to determine if it is talking to one other entity, or several distinct self-interested entities.\n\nIf you and YAIjbOJO were distinct entities, then this issue would not happen.\n\nBecause of Onion routing and the use of pseudonymous public keys, ZmnSCPxj cannot determine if you and YAIjbOJO are different entities.\n\nThus, your proposal must work both in the case where there is multiple hop nodes, and in the case where you and YAIjbOJO are the same entity actually.\n\nSo let us consider the case where you are using BTC to pay a node, randomly named bQqZrrEM, 1.0 WJT.\nYou have found the below route:\n\nyou -\u003eBTC-\u003e ZmnSCPxj -\u003eWJT-\u003e YAIjbOJO -\u003eWJT-\u003e bQqZrrEM\n\nBecause ZmnSCPxj is an exchange node, ZmnSCPxj demands a timed commitment so that the payment pushes through.\n\nNow suppose that the following sequence of events occurs.\n\n1. Zeus has an affair.\n2. bQqZrrEM generates a random preimage and provides the hash to you.\n3. In the domestic argument after Hera finds out about the affair, Zeus randomly throws a lightning bolt that by chance hits and destroys bQqZrrEM.\n4. You initiate payment starting with ZmnSCPxj.\n\nWhat happens then?\nIf the payment does not push through, then you could instead do:\n\n1. you/YAIjbOJO/bQqZrrEM (really the same entity) generate a preimage and its hash.\n2. You delete the bQqZrrEM identity.\n3. You inititate payment starting with ZmnSCPxj\n\nThis still lets you make an American Call Option by suddenly \"reviving\" the bQqZrrEM identity later in the \"exercise\" branch, or deciding to not revive the bQqZrrEM identity in the \"not exercise\" branch.\n\nOn the other hand, if the payment pushes through regardless of whether or not bQqZrrEm survives, then in the world where bQqZrrEm dies of stray lover quarrel lightning bolt, YAIjbOJO gets paid and I get the money from you, and you are sad because you paid for something you will never get.\n\n\u003e If this magical atomic information swap could happen (I don't get the final HTLC unless I reveal the preimage)\n\nWhat mechanism creates this?\nIf this mechanism involves timelocks also, then what prevents the same American Call Option from being created using the timelock of this magic mechanism?\nThe timelocks could be shorter, but it is still the same riskless free-of-premium American Call Option, so rational entities will continuosly spam exchange nodes with such attempts even if the timelock is short.\n\nDoes this mechanism require that the exchange know who the final destination will be?\nWhat happens if while negotiating this information, one of the intermediate nodes drops?\n\nIf we disallow intermediate nodes, then I know who the final destination will be (it will be the next hop) and I can then exercise my newfound right to censor transactions.\n\n\nRegards,\nZmnSCPxj",
"sig": "cd44a33e4f9a95762adbf556e5ca42fad467d6e6d21b8c1b048f5ab1feb9930b0f7b29fa851305c6e78ec8ccefb858b8b14919a2e3a05e822ab6e9238a205c92"
}