decentralized-identity / decentralized-identity/sidetree-reference-impl

Add compressed file size check in Batch Writer

Open
#27 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
4
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.