2 ms·
Can someone explain why all of the hashes in this demo appear to start with the same few symbols ("Qm" in this case)? Ordinarily I'd expect this to suggest that
by ohazi 12y ago
Can someone explain why all of the hashes in this demo appear to start with the same few symbols ("Qm" in this case)? Ordinarily I'd expect this to suggest that it isn't actually a hash, but perhaps there's some detail I missed.
- zaroth 12y agoAssuming it's anything like Bitcoin, it's a network ID prefix separate from the hash.
- _prometheus 12y agothat's a base58 encoded multihash: https://github.com/jbenet/multihash/ https://github.com/jbenet/multihash/ and https://github.com/jbenet/go-multihash/ https://github.com/jbenet/go-multihash/