Rusty Russell [ARCHIVE] on Nostr: π Original date posted:2015-08-24 π Original message: Anthony Towns <aj at ...
π
Original date posted:2015-08-24
π Original message:
Anthony Towns <aj at erisian.com.au> writes:
> On 24 August 2015 at 02:59, Rusty Russell <rusty at rustcorp.com.au> wrote:
>> 2) Dave starts the HTLC process, but then times out (doesn't resolve
>> HTLC in 20*11 seconds, and doesn't send back a blame
>> packet from Emma, either).
>> In the latter case, Carol dumps the commit tx to the blockchain, and the
>> screwed-up HTLC (and any other casualty HTLCs in progress, sorry). She
>> can include this commit tx + htlc txs in the blame packet back to Bob;
>> there's no reason to name Dave AFAICT[1].
>
> βThe HTLC txn provides Dave's public key id though (assuming you un-P2SH
> it, which you need to to prove that it corresponds with the R you expect),
> which is the only name for Dave that matters, isn't it?β
There's no reason for the two to be connected. You have a pubkey as
your ID for network and routing encryption, but you can offer any
transaction as an anchor, and use any keys you want.
Now, Joseph was suggested that it doesn't *have* to be this way, such
that the blockchain would show all the channels open, but while that's a
cute hack I don't think it's necessary.
Cheers,
Rusty.
π Original message:
Anthony Towns <aj at erisian.com.au> writes:
> On 24 August 2015 at 02:59, Rusty Russell <rusty at rustcorp.com.au> wrote:
>> 2) Dave starts the HTLC process, but then times out (doesn't resolve
>> HTLC in 20*11 seconds, and doesn't send back a blame
>> packet from Emma, either).
>> In the latter case, Carol dumps the commit tx to the blockchain, and the
>> screwed-up HTLC (and any other casualty HTLCs in progress, sorry). She
>> can include this commit tx + htlc txs in the blame packet back to Bob;
>> there's no reason to name Dave AFAICT[1].
>
> βThe HTLC txn provides Dave's public key id though (assuming you un-P2SH
> it, which you need to to prove that it corresponds with the R you expect),
> which is the only name for Dave that matters, isn't it?β
There's no reason for the two to be connected. You have a pubkey as
your ID for network and routing encryption, but you can offer any
transaction as an anchor, and use any keys you want.
Now, Joseph was suggested that it doesn't *have* to be this way, such
that the blockchain would show all the channels open, but while that's a
cute hack I don't think it's necessary.
Cheers,
Rusty.