decentralized-identity / sidetree-reference-impl

Sidetree Reference Implementation
Apache License 2.0
5 stars 7 forks source link

Add compressed file size check in Batch Writer #27

Open thehenrytsai opened 4 years ago

thehenrytsai commented 4 years ago

The Batch Writer should ensure that the compressed CAS files it writes does not exceed protocol limits so that the operation batch is not rejected by the Observer.

Also consider similar size check for decompressed files, if this is done, we can potentially tighten the decompression multiplier (currently set to 3).

csuwildcat commented 3 years ago

I think this is done, right Henry?