automerge / hypermerge

Build p2p collaborative applications without any server infrastructure in Node.js
MIT License
1.28k stars 66 forks source link

Enforce minimum block-size for hyperfiles #45

Closed jeffpeterson closed 4 years ago

jeffpeterson commented 4 years ago

Renamed MaxChunkSizeTransform to ChunkSizeTransform. ChunkSizeTransform now handles chunks that are too big or too small.

The result being that all hyperfile blocks in a feed (except the last block) are exactly 62k.