github.com/cheng762/platon-go@v1.8.17-0.20190529111256-7deff2d7be26/core/ticketcache/ticketids_cache.proto (about)

     1  syntax = "proto3";
     2  package ticketcache;
     3  
     4  message TicketIds {
     5    repeated bytes TicketId = 1;
     6  }
     7  
     8  message NodeTicketIds {
     9    map<string, TicketIds> NTickets = 1;
    10  }
    11  
    12  message BlockNodes {
    13    map<string, NodeTicketIds> BNodes = 1;
    14  }
    15  
    16  message NumBlocks {
    17    map<string, BlockNodes> NBlocks = 1;
    18    uint32  BlockCount  = 2;
    19  }
    20  
    21  message SortCalcHash {
    22    repeated string Nodeids = 1;
    23    repeated TicketIds Tids = 2;
    24  }