assertEquals("Wrong differing ranges", interesting, new HashSet<>(diff.differences));
}
private MerkleTree createInitialTree(RepairJobDesc desc)
{
MerkleTree tree = new MerkleTree(partirioner, desc.range, MerkleTree.RECOMMENDED_DEPTH, (int)Math.pow(2, 15));
tree.init();
for (MerkleTree.TreeRange r : tree.invalids())
{
r.addHash(Validator.EMPTY_ROW);
}
return tree;
}