pkt on Nostr: Why should you have to rigorously store exactly the same string every single time? ...
Why should you have to rigorously store exactly the same string every single time?
The fact that people keep running into this issue shows that not taking round tripping into account is nuts.
Bitcoin does _not_ work this way. Serialization is tightly defined and you can easily and reliably re-serialize data structures reliably.
Published at
2025-04-20 10:50:57Event JSON
{
"id": "c0d7feda9cad5eb7f5d8f8ffc023817fa540b595ccf24f9e5adf101798f7d82c",
"pubkey": "ccaa58e37c99c85bc5e754028a718bd46485e5d3cb3345691ecab83c755d48cc",
"created_at": 1745146257,
"kind": 1,
"tags": [
[
"e",
"af8f774c6e46f19bd7f0aadf9d085638ac7435e62b450dbdb280bcc566928706",
"",
"root"
],
[
"e",
"2f210189886ec070f3881baf640c29aed456fbdf4c25b53b20ef8da8234d66a4"
],
[
"e",
"27c1d6464702a6ed7a3b4bda02602461a3632a9a961e5ad1ad750bdb23224afc",
"",
"reply"
],
[
"p",
"b7ed68b062de6b4a12e51fd5285c1e1e0ed0e5128cda93ab11b4150b55ed32fc"
],
[
"p",
"ccaa58e37c99c85bc5e754028a718bd46485e5d3cb3345691ecab83c755d48cc"
],
[
"p",
"c21b1a6cdb247ccbd938dcb16b15a4fa382d00ffd7b12d5cbbad172a0cd4d170"
]
],
"content": "Why should you have to rigorously store exactly the same string every single time?\n\nThe fact that people keep running into this issue shows that not taking round tripping into account is nuts.\n\nBitcoin does _not_ work this way. Serialization is tightly defined and you can easily and reliably re-serialize data structures reliably.",
"sig": "6e2d4343793ad424869d7d95a8f45497ba901336f35c8b7aacf6ed4209152d52654573d822d8068db20e617b92191bd85859e27249361896d3315bee0f2ad78d"
}