mikedilger on Nostr: So that you don't have to construct another buffer to hash, ordered like this: sig, ...
So that you don't have to construct another buffer to hash, ordered like this: sig, Id, pubkey, created_at, kind, (lengths and paddings), tags, content
Published at
2024-05-07 20:09:29Event JSON
{
"id": "dd7f8db63e9b6c285392ce61e4ab27c11ec7c53eb6292e5df75e607039cefc04",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1715112569,
"kind": 1,
"tags": [
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"e",
"f19a120d6e55b1339742aa54b488c54ede4e8bb954dc98687fae663715709d1e",
"wss://nos.lol/",
"root"
],
[
"e",
"9c09ecdf522a069872192c9749dd3f50526922ebb82eccb256036a11f88ef57e",
"wss://nos.lol/",
"reply"
]
],
"content": "So that you don't have to construct another buffer to hash, ordered like this: sig, Id, pubkey, created_at, kind, (lengths and paddings), tags, content",
"sig": "88bdb14c7b7a87609884a24a4fcd13c0ccc1dd323e17646f1518031a2065b506482aa15e0d4a687a2791806923f8a656a37b7053c6fad2893f682682f48e8746"
}