github.com/keltia/go-ipfs@v0.3.8-0.20150909044612-210793031c63/exchange/bitswap/message/pb/message.proto (about)

     1  package bitswap.message.pb;
     2  
     3  message Message {
     4  
     5    message Wantlist {
     6  
     7      message Entry {
     8        optional string block = 1; // the block key
     9        optional int32 priority = 2; // the priority (normalized). default to 1
    10        optional bool cancel = 3;  // whether this revokes an entry
    11      }
    12  
    13      repeated Entry entries = 1; // a list of wantlist entries
    14      optional bool full = 2;     // whether this is the full wantlist. default to false
    15    }
    16  
    17    optional Wantlist wantlist = 1;
    18    repeated bytes blocks = 2;
    19  }