I actually made this naive chunking for encrypted DM attachments larger than 4 MB. Not a merkle tree, but a single list of chunks a bit like torrent v1. Browsers don't have a streaming encryption API so had to chunk em.

We need some standard for chunking of videos and other large files.
That enables
1) verifying what you're getting before you've downloaded the entire large file,
2) downloading simultaneously from multiple servers or peers and
3) saved and scrollable livestreams — just publish the updated merkle root to your stream file every few seconds.
While we're at it, why not use blossom-compatible (sha-256) Bittorrent v2 merkle-trees https://blog.libtorrent.org/2020/09/bittorrent-v2/ — or maybe nostr:npub1h0rnetjp2qka44ayzyjcdh90gs3gzrtq4f94033heng6w34s0pzq2yfv0g soon?
I actually made this naive chunking for encrypted DM attachments larger than 4 MB. Not a merkle tree, but a single list of chunks a bit like torrent v1. Browsers don't have a streaming encryption API so had to chunk em.

No replies yet.