inblockio / aqua-docs

Aqua Documentation (including The Spec)
1 stars 2 forks source link

verification hash calculation: the previous verification should be included at the root level, the same level as other hashes #4

Open rht opened 2 years ago

rht commented 2 years ago

Currently, the verification hash is composed of hash_sum(content_hash + metadata_hash + signature_hash + witness_hash). Where the previous verification hash is an input to calculate metadata_hash.

I think it should be instead hash_sum(previous_verification_hash + content_hash + metadata_hash + signature_hash + witness_hash).