decentralized-identity / sidetree-reference-impl

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

Reject create operation at API layer when delta is bad #17

Open isaacJChen opened 3 years ago

isaacJChen commented 3 years ago

Currently, at the API layer, we accept malformed delta when user submits a create operation. The DID will be created with the commit reveal value but won't take the delta. We have an opportunity to gate this "half failed" operation at the API layer. This requires the API to behave differently from observer, but provides a better user experience.