allow for multiple checksums per filepath
This commit is contained in:
parent
9de974e88b
commit
149970df95
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user