github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/proto/tendermint/dbsync/types.proto (about) 1 syntax = "proto3"; 2 package seitendermint.dbsync; 3 4 option go_package = "github.com/ari-anchor/sei-tendermint/proto/tendermint/dbsync"; 5 6 import "gogoproto/gogo.proto"; 7 import "tendermint/types/types.proto"; 8 import "tendermint/types/params.proto"; 9 10 message Message { 11 oneof sum { 12 MetadataRequest metadata_request = 1; 13 MetadataResponse metadata_response = 2; 14 FileRequest file_request = 3; 15 FileResponse file_response = 4; 16 LightBlockRequest light_block_request = 5; 17 LightBlockResponse light_block_response = 6; 18 ParamsRequest params_request = 7; 19 ParamsResponse params_response = 8; 20 } 21 } 22 23 message MetadataRequest {} 24 25 message MetadataResponse { 26 uint64 height = 1; 27 bytes hash = 2; 28 repeated string filenames = 3; 29 repeated bytes md5checksum = 4; 30 } 31 32 message FileRequest { 33 uint64 height = 1; 34 string filename = 2; 35 } 36 37 message FileResponse { 38 uint64 height = 1; 39 string filename = 2; 40 bytes data = 3; 41 } 42 43 message LightBlockRequest { 44 uint64 height = 1; 45 } 46 47 message LightBlockResponse { 48 seitendermint.types.LightBlock light_block = 1; 49 } 50 51 message ParamsRequest { 52 uint64 height = 1; 53 } 54 55 message ParamsResponse { 56 uint64 height = 1; 57 seitendermint.types.ConsensusParams consensus_params = 2 58 [(gogoproto.nullable) = false]; 59 }