allow for multiple checksums per filepath

This commit is contained in:
Jeffrey Paul 2021-11-03 10:21:27 +00:00
parent 9de974e88b
commit 149970df95
1 changed files with 6 additions and 4 deletions

View File

@ -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 {