wakoinc on Nostr: I had concerns too, but I haven’t yet seen one complaint about failing/invalid ...
I had concerns too, but I haven’t yet seen one complaint about failing/invalid event ids.
Here is the extract from the NIP-01, which strictly defines how the hash digest must be formed prior to hashing the event id.
Published at
2023-03-10 13:12:40Event JSON
{
"id": "f90425c553ccbd16bddfd26d82411175917b3a8d5af6c229f02c06f7acbb8909",
"pubkey": "b2dd40097e4d04b1a56fb3b65fc1d1aaf2929ad30fd842c74d68b9908744495b",
"created_at": 1678453960,
"kind": 1,
"tags": [
[
"e",
"49c73c74eb537436ffab8128e6b1a1243de442f87f06fbe8dc32eee6687c4887",
"wss://relay.snort.social"
],
[
"e",
"9d3a9bbabcad1817c0386a84332f68a819da208abd7e9b3758fbb7859465e4ac"
],
[
"p",
"67ddca50751581c703c174790588c2cd8b00f80313d0f80a5b9e73d45e48ac20"
]
],
"content": "I had concerns too, but I haven’t yet seen one complaint about failing/invalid event ids. \n\nHere is the extract from the NIP-01, which strictly defines how the hash digest must be formed prior to hashing the event id. \n\nhttps://i.ibb.co/9h1nc18/image.png",
"sig": "70c6af3b0421b85ff92c5ef05664039f017b17eac72f683e5f4d390cad8ba382cbb0a7ef298f70ead0fd345d46503d967e965be3a681e20f923e4ebaa4d6566e"
}