Damus
SatsAndSports · 2w
"Merkle roots can be published to get mutable npub/tree/path addresses" Cool! So a query to that will return a signature of the hash by that npub, perhaps in a header in the response?
Sirius profile picture
Yes, it uses kind 30078 events with tags:

d Tree name (replaceable event key)
l "hashtree" label for discovery
hash Merkle root SHA256 (64 hex chars)
key Decryption key (public trees)
encryptedKey XOR'd key (link-visible trees)
selfEncryptedKey NIP-44 encrypted (private/link-visible)
1
SatsAndSports · 2w
And the merkle root is of a tree of equally-size blobs? I ask because that might make it easy to skip to the relevant part of the video. Do we know the depth of the tree? Although, I guess you have this size (and runtime?) metadata somewhere in the nodes of the tree?