JeffG on Nostr: Apparently I'm one of those morons. Why wouldn't you want to use CBOR? Is your ...
Apparently I'm one of those morons. Why wouldn't you want to use CBOR?
Is your solution just to binary encode most of the json event to squish it down but then keep an id/sig (and maybe a tag) unencoded? I'm not sure I'm following what you're suggesting. There's too much vitriol mixed in with the ideas. 😅
Published at
2024-10-07 18:06:31Event JSON
{
"id": "d594914b91c4b9fa48f0d5107940f3b5c4b1f414fe715e9f4a342c0273d4a3c6",
"pubkey": "1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef",
"created_at": 1728324391,
"kind": 1,
"tags": [
[
"e",
"61d540a890c7b8df120b3c8b6440acb1395ff335ae82b47932dfe61d6f45fd11",
"",
"root"
],
[
"e",
"9eaef81eb9d5af240233cff49998ff65172979ef4db078d48d14072b4a6d51e6",
"",
"reply"
],
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd",
"",
"mention"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef",
"",
"mention"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "Apparently I'm one of those morons. Why wouldn't you want to use CBOR? \n\nIs your solution just to binary encode most of the json event to squish it down but then keep an id/sig (and maybe a tag) unencoded? I'm not sure I'm following what you're suggesting. There's too much vitriol mixed in with the ideas. 😅",
"sig": "b90c35427e85b35fc68a5f094647f8f824a262600f259922b74931a6e06e10b54432cfb276d8e950890be021fdfa80aac052ab5d7e1eb9640dfdc59a46eb3681"
}