diff --git a/proto/mf.proto b/proto/mf.proto index d18b46c..41e57fc 100644 --- a/proto/mf.proto +++ b/proto/mf.proto @@ -28,10 +28,12 @@ message MFFile { message MFFilePath { string path = 1; - string ipfsHash = 2; // this is the DAG version that you can `ipfs get` - // more info: https://ethereum.stackexchange.com/questions/44506/ipfs-hash-algorithm/53233 - bytes multiHash = 3; //this must be sha256 for now - optional string mimeType = 4; + optional repeated MFFileChecksum = 2; + optional string mimeType = 3; +} + +message MFFileChecksum { + bytes multiHash = 1; } message MFFileInner {