The proof of a dataset: the number of rows and the sum of every row's hash modulo 2^256, as 64
lowercase hex digits. A sum does not depend on order, so a patch moves it by the hashes of the rows
it replaces and adds, and neither side reads the whole collection to check a sync. It detects
corruption, a missed apply and a half-applied patch. It is not a defence against a malicious
server, which can send rows and a digest that agree.
The proof of a dataset: the number of rows and the sum of every row's hash modulo 2^256, as 64 lowercase hex digits. A sum does not depend on order, so a patch moves it by the hashes of the rows it replaces and adds, and neither side reads the whole collection to check a sync. It detects corruption, a missed apply and a half-applied patch. It is not a defence against a malicious server, which can send rows and a digest that agree.