Ryan Grant [ARCHIVE] on Nostr: š
Original date posted:2016-09-11 š Original message: On Sat, Sep 10, 2016 at ...
š
Original date posted:2016-09-11
š Original message:
On Sat, Sep 10, 2016 at 4:36 PM, Christian Decker
<decker.christian at gmail.com> wrote:
> At least for the implementation using the r-hash to condition the
> release of funds there is nothing special about splitting a
> payment. As long as the recipient knows the total amount it should be
> receiving it can delay the release of the secret until it is
> guaranteed all funds. Collating the partial payments is done with the
> r-hash. I'm pretty sure that the private key release would also work
> the same way.
I understand how to collect partial payments on one channel this way, but
my reading was that the same r-hash cannot be used safely across
multiple channels. Once one channel completes, exposure of the r-hash
to a colluding intermediary in the other channel could allow pulling
funds before sending them onward.
Published at
2023-06-09 12:46:43Event JSON
{
"id": "4ce8ca7daaf06b012f2f81cb07518de3b98fafd312012ee25c4404e93e81df07",
"pubkey": "2f55bf03677afdb15d004a39383afba6220aa6c059cafa7b8827b87934d3c254",
"created_at": 1686314803,
"kind": 1,
"tags": [
[
"e",
"2905ed6450199a5a99fdcaea6ab31a39ae7c96bf9c280d0f2dcb1fa96575a4fc",
"",
"root"
],
[
"e",
"1d7ac40fa81070c65ea8297ac5e3e8fe790b612ac559f72194ea686b9e43b674",
"",
"reply"
],
[
"p",
"72cd40332ec782dd0a7f63acb03e3b6fdafa6d91bd1b6125cd8b7117a1bb8057"
]
],
"content": "š
Original date posted:2016-09-11\nš Original message:\nOn Sat, Sep 10, 2016 at 4:36 PM, Christian Decker\n\u003cdecker.christian at gmail.com\u003e wrote:\n\u003e At least for the implementation using the r-hash to condition the\n\u003e release of funds there is nothing special about splitting a\n\u003e payment. As long as the recipient knows the total amount it should be\n\u003e receiving it can delay the release of the secret until it is\n\u003e guaranteed all funds. Collating the partial payments is done with the\n\u003e r-hash. I'm pretty sure that the private key release would also work\n\u003e the same way.\n\nI understand how to collect partial payments on one channel this way, but\nmy reading was that the same r-hash cannot be used safely across\nmultiple channels. Once one channel completes, exposure of the r-hash\nto a colluding intermediary in the other channel could allow pulling\nfunds before sending them onward.",
"sig": "a06710bb69b3b043179b7c53dd6a818fd2f7ba7335bf9144583bef2dc7cfcb995da1673e5a1ff11bbee307d3d7934686418c8557cad7346eb818ddfe7ce1747a"
}