Joseph Poon [ARCHIVE] on Nostr: 📅 Original date posted:2016-08-12 📝 Original message: Hi Rusty, Yeah, ...
📅 Original date posted:2016-08-12
📝 Original message:
Hi Rusty,
Yeah, interesting thoughts!
On Fri, Aug 12, 2016 at 01:17:52PM +0930, Rusty Russell wrote:
> I still don't understand why use an HMAC-of-tx instead of just the txid?
> What does it gain?
I'm presuming you need to index by txid to see if there needs to be a
penalty transaction broadcast, so you can't use that as a secret key.
--
Joseph Poon
Published at
2023-06-09 12:46:38Event JSON
{
"id": "9140b11092e89aff9cb6c92b1491e8860d70559629fc0f1981aff6831d20763f",
"pubkey": "ccb4cc87c455b74febaee5929cfd0726421b2eea64ad2b16440b68e8c7433211",
"created_at": 1686314798,
"kind": 1,
"tags": [
[
"e",
"ccc2d459792b926854b04bc74e6ea324d2314fff88991806647cc195016ae9ae",
"",
"root"
],
[
"e",
"67d0327ddfc1ca4bf7d28a689608cb697ed5bf388dc4cefa101e3080465a20b5",
"",
"reply"
],
[
"p",
"13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425"
]
],
"content": "📅 Original date posted:2016-08-12\n📝 Original message:\nHi Rusty,\n\nYeah, interesting thoughts!\n\nOn Fri, Aug 12, 2016 at 01:17:52PM +0930, Rusty Russell wrote:\n\u003e I still don't understand why use an HMAC-of-tx instead of just the txid?\n\u003e What does it gain?\n\nI'm presuming you need to index by txid to see if there needs to be a\npenalty transaction broadcast, so you can't use that as a secret key.\n\n-- \nJoseph Poon",
"sig": "1bbae7a71546bf32e1f48bfbd4d3cbf32a839493939f0c12fbe33f54841cb8d210c2aa688694cd394a2a259a27d63d047d1b5b9f4ab0e2f37604cbedb4161498"
}