github.com/pokt-network/tendermint@v0.32.11-0.20230426215212-59310158d3e9/proto/statesync/types.proto (about)

     1  syntax = "proto3";
     2  package tendermint.proto.statesync;
     3  
     4  option go_package = "github.com/tendermint/tendermint/proto/statesync";
     5  
     6  message Message {
     7    oneof sum {
     8      SnapshotsRequest  snapshots_request  = 1;
     9      SnapshotsResponse snapshots_response = 2;
    10      ChunkRequest      chunk_request      = 3;
    11      ChunkResponse     chunk_response     = 4;
    12    }
    13  }
    14  
    15  message SnapshotsRequest {}
    16  
    17  message SnapshotsResponse {
    18    uint64 height   = 1;
    19    uint32 format   = 2;
    20    uint32 chunks   = 3;
    21    bytes  hash     = 4;
    22    bytes  metadata = 5;
    23  }
    24  
    25  message ChunkRequest {
    26    uint64 height = 1;
    27    uint32 format = 2;
    28    uint32 index  = 3;
    29  }
    30  
    31  message ChunkResponse {
    32    uint64 height  = 1;
    33    uint32 format  = 2;
    34    uint32 index   = 3;
    35    bytes  chunk   = 4;
    36    bool   missing = 5;
    37  }