If data is inserted into IPLD you need to specify the format as well as the hash that is used. For many formats there's a default hash (often there's even only a single hash type possible). If a format has such a default has, a property on the resolver called defaultHashAlg would be defined.
This way you often won't need to specify the hash type (you might not even know it), but only the format. Examples are:
If data is inserted into IPLD you need to specify the format as well as the hash that is used. For many formats there's a default hash (often there's even only a single hash type possible). If a format has such a default has, a property on the resolver called
defaultHashAlg
would be defined.This way you often won't need to specify the hash type (you might not even know it), but only the format. Examples are:
What do others think of that idea?