|
|
|
|
|
by the8472
3241 days ago
|
|
v1: O(path-depth * number of files + number of bytes) v2: O(log(path-depth) * number of files) that is assuming some constantish branching factor in your directory structure > Merkle tree roots will only be unique for each piece length. Merkle trees are independent of piece size, which means you can use them to dedup across torrents. |
|
Presumably clients still reconstruct (and store, somewhere) the full Merkle tree to do incremental validation and support queries.