Expand description
Tree builder with chunking and fanout support
- Large files are split into chunks
- Large directories are split into sub-trees
- Supports streaming appends
- Encryption enabled by default (CHK - Content Hash Key)
Structs§
- Builder
Config - Builder configuration
- Stream
Builder - StreamBuilder - supports incremental appends
- Stream
Stats - Tree
Builder - TreeBuilder - builds content-addressed merkle trees
Enums§
- Builder
Error - Builder error type
Constants§
- BEP52_
CHUNK_ SIZE - BEP52 chunk size: 16KB
- DEFAULT_
CHUNK_ SIZE - Default chunk size: 2MB (optimized for blossom uploads, matches hashtree-ts)
- DEFAULT_
MAX_ LINKS - Default max links per tree node (fanout)