dhiway / cord

CORD - Enterprise Blockchain Framework
https://cord.network
GNU General Public License v3.0
161 stars 112 forks source link

statement: Add selective data keypairs as storage #487

Open vatsa287 opened 4 months ago

vatsa287 commented 4 months ago

This PR allows to have selective data as storage in the chain-state. This feature allows to have individual fields of digest in a document, with a maximum of 25 k:v's. The key is custom, and value must be a digest of 32 length.

This implementation allows to check for availability of individual fields of a document has been anchored or not instead of whole document itself. This is crucial when verification is done using a non-digital copy as a reference digest.

Updates:

#

vatsa287 commented 4 months ago

PTAL @smohan-dw @amarts @NiranjanAP