armstrys on Nostr: The more I the I think about storage and referencing back to previous edits I wonder ...
The more I the I think about storage and referencing back to previous edits I wonder if editable nostr events should require the previous event id as part of the metadata. This is akin to how git works and is also similar to the way SSB (which nostr is based on) chains events together. Forks in SSB were always problematic because the user timeline relied on having a single chain of events, but there is still no reason we can’t use this simple mechanism to track a chain of events for version history of editable nostr events.
Then there would be a protocol native method to establish the order of versions, which would make everything you’re trying to do easier (I think)
Published at
2024-07-20 15:08:49Event JSON
{
"id": "5e96a22a5c3c060c8da5925864ea933a58f72324da04d89396764c7282c3deba",
"pubkey": "c80b5248fbe8f392bc3ba45091fb4e6e2b5872387601bf90f53992366b30d720",
"created_at": 1721488129,
"kind": 1,
"tags": [
[
"e",
"39e085350dca87a3a581381ecd317f91503bc82d397b1821b5b21fb4884ed0cd",
"",
"root"
],
[
"e",
"1c6959d2ed8b8d67b3170ef8e84c2270618af0b30bc61e420c33a9a548578307",
"",
"reply"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "The more I the I think about storage and referencing back to previous edits I wonder if editable nostr events should require the previous event id as part of the metadata. This is akin to how git works and is also similar to the way SSB (which nostr is based on) chains events together. Forks in SSB were always problematic because the user timeline relied on having a single chain of events, but there is still no reason we can’t use this simple mechanism to track a chain of events for version history of editable nostr events. \n\nThen there would be a protocol native method to establish the order of versions, which would make everything you’re trying to do easier (I think)",
"sig": "99399ec9bf117b518b07cdb326e8c68a5e3a26b5d726e7a8f6184f290e55b3c1694c5abe162a64e77d983136d22939ac7bac9631af33a9a765510342893e45f4"
}