github.com/line/ostracon@v1.0.10-0.20230328032236-7f20145f065d/proto/ostracon/blockchain/types.proto (about) 1 syntax = "proto3"; 2 package ostracon.blockchain; 3 4 option go_package = "github.com/line/ostracon/proto/ostracon/blockchain"; 5 6 import "ostracon/types/block.proto"; 7 import "tendermint/blockchain/types.proto"; 8 9 // BlockResponse returns block to the requested 10 message BlockResponse { 11 ostracon.types.Block block = 1; 12 } 13 14 message Message { 15 oneof sum { 16 tendermint.blockchain.BlockRequest block_request = 1; 17 tendermint.blockchain.NoBlockResponse no_block_response = 2; 18 BlockResponse block_response = 3; 19 tendermint.blockchain.StatusRequest status_request = 4; 20 tendermint.blockchain.StatusResponse status_response = 5; 21 } 22 }