move repeated attributes into Claim directly, added ClaimList #31

Merged
eukreign merged 7 commits from claim_list_etc into master 2019-04-15 20:18:13 +02:00
Showing only changes of commit c6bb771463 - Show all commits

View file

@ -17,13 +17,6 @@ message Claim {
repeated Location locations = 13;
}
message Channel {
bytes public_key = 1;
string contact_email = 2;
string homepage_url = 3;
Source cover = 4;
}
message Stream {
Source source = 1;
string author = 2;
@ -39,6 +32,13 @@ message Stream {
}
}
message Channel {
bytes public_key = 1;
string contact_email = 2;
string homepage_url = 3;
Source cover = 4;
}
message ClaimReference {
bytes claim_hash = 1;
}
@ -50,7 +50,7 @@ message ClaimList {
DERIVATION = 2; // movie in multiple languages, software for different OSes
}
ListType list_type = 1;
repeated ClaimReference claim_references = 1;
repeated ClaimReference claim_references = 2;
}
message Source {
@ -58,11 +58,10 @@ message Source {
string name = 2;
uint64 size = 3;
string media_type = 4;
oneof source {
string url = 5;
bytes sd_hash = 6;
//Torrent bittorrent = 7;
}
string url = 5;
bytes sd_hash = 6;
//Torrent bittorrent = 7;
}
message Fee {