pull-merkle
Construct an optimally shallow merkle tree (in memory)
keys are ordered by their hash, so that it's possible to insert new keys, with out recomputing the entire tree,
example
var shasum =var merkle ={var sorted = objectsreturn}
todo
- Exchange protocol for comparing two trees over a duplex stream.
- Insert a new object into the set (of hashes) and only update the hashes that are changed. (do not recompute the
License
MIT