Skip to content

Use of multihash adds complexity and the decision is not explicitly justified #258

@fulldecent

Description

@fulldecent

Currently the design specifies, and implementation uses, multihash for data security and immutability. It could be that the purpose of choosing multihash is to enable IPFS file storage (i.e. IPLD).

If data will be used on-chain then only the blockchain native hashing format will be useful, and it is unnecessary to specify a hash format and bit length. If a hash will be used off-chain then it doesn’t matter what format and bit length is used because the skeptic will verify the provided content offline.

Recommendation: IPFS compatibility (the design goal) should be explicitly mentioned every time that multihash (implementation detail) is introduced.
References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions