diskrsync
diskrsync copied to clipboard
Increasing order or depth of tree?
I would like to increase the tree size so that I can achieve a smaller block size on a 1 TiB transfer. Before I simply do so (and add a command line option), are there any specific challenges of which I should be aware? An 8x increase in number of blocks would be sufficient to meet my needs.
Specifically, would there be a concern to making the value at sync.go:206 (1048576) parameterized as something like maxBlocks? This wouldn't increase the depth, but would increase order beyond the current max of 7. Obviously this would proportionally increase the memory requirements for the Merkle tree.
Should be fine