allow for multiple checksums per filepath
This commit is contained in:
parent
9de974e88b
commit
149970df95
@ -28,10 +28,12 @@ message MFFile {
|
|||||||
|
|
||||||
message MFFilePath {
|
message MFFilePath {
|
||||||
string path = 1;
|
string path = 1;
|
||||||
string ipfsHash = 2; // this is the DAG version that you can `ipfs get`
|
optional repeated MFFileChecksum = 2;
|
||||||
// more info: https://ethereum.stackexchange.com/questions/44506/ipfs-hash-algorithm/53233
|
optional string mimeType = 3;
|
||||||
bytes multiHash = 3; //this must be sha256 for now
|
}
|
||||||
optional string mimeType = 4;
|
|
||||||
|
message MFFileChecksum {
|
||||||
|
bytes multiHash = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message MFFileInner {
|
message MFFileInner {
|
||||||
|
Loading…
Reference in New Issue
Block a user