Join Nostr
2026-03-02 04:43:01 UTC

Cy on Nostr: Reason I roll my eyes every time I hear "append-only log" is it's completely useless ...

Reason I roll my eyes every time I hear "append-only log" is it's completely useless and unnecessary. We already have things called "hard disks" that can save a log, with no obligation to delete it once saved. And to use an append-only log, you have to sign new updates to it, otherwise anyone could start appending to your log. So why not use the signing key for identification? If you do that, what's the point of the log?

Just reading this code it's like INVALID_PROOF, verifyUpgrade(proof), class TreeProof, settleProof() all to prove that your current log entry refers to all past log entries. Why would you care if someone's latest log refers to all their past logs? What's invalid about them removing a past log, and publishing that as an update? Just...

1. keep a list of root hashes for every log
2. someone sends you a signed root hash for their latest log
3. it's verified. you're done. Add it to the list.
4. download the rest of the latest log later.

Why does no one do that? It's not append-only, because why would it need to be? To keep me from deleting a log entry on my own log? You have all the old root hashes! If I delete a log entry or edit one in my latest log, just look at those old ones.

#programming #rant