gitee.com/lh-her-team/common@v1.5.1/birdsnest/pb/serialize.proto (about)

     1  syntax = "proto3";
     2  
     3  package pb;
     4  
     5  // Chain table structure
     6  message CuckooFilter {
     7    // The field "cuckoo" is used to hold the serialized data of the cuckoo
     8    // Pb limit: The size of bytes cannot be larger than 4 GB
     9    bytes cuckoo = 1;
    10    // Carries the ID of the time
    11    bytes extension = 2;
    12    // cuckoo configuration
    13    bytes config = 3;
    14    // cuckoo configuration
    15    bool full = 4;
    16  }
    17  
    18  // Bird's Nest
    19  message BirdsNest {
    20    // Bird's Nest config
    21    bytes config = 1;
    22    // The final height
    23    uint64 height = 2;
    24    // current index
    25    uint32 currentIndex = 3;
    26    // A group of cuckoos filter
    27    repeated CuckooFilter filters = 4;
    28  }