Commit a85d2fe3 authored by vicotor's avatar vicotor

update gen pb.go

parent ab305b59
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/batchtx.proto
package basev1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/anypb"
_ "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// BatchTx include one batchHash and all original tx contained in batch.
// it will broadcast to nebula over p2p module, and then save in p2p module.
// Amount metaprooftx make a batch tx, and generate a batch_hash,
type BatchTx struct {
BatchHash *Hash `protobuf:"bytes,1,opt,name=batch_hash,json=batchHash,proto3" json:"batch_hash,omitempty"`
Txs []*MetaProofTx `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchTx) Reset() { *m = BatchTx{} }
func (m *BatchTx) String() string { return proto.CompactTextString(m) }
func (*BatchTx) ProtoMessage() {}
func (*BatchTx) Descriptor() ([]byte, []int) {
return fileDescriptor_c9fefc07327b2629, []int{0}
}
func (m *BatchTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchTx.Unmarshal(m, b)
}
func (m *BatchTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchTx.Marshal(b, m, deterministic)
}
func (m *BatchTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchTx.Merge(m, src)
}
func (m *BatchTx) XXX_Size() int {
return xxx_messageInfo_BatchTx.Size(m)
}
func (m *BatchTx) XXX_DiscardUnknown() {
xxx_messageInfo_BatchTx.DiscardUnknown(m)
}
var xxx_messageInfo_BatchTx proto.InternalMessageInfo
func (m *BatchTx) GetBatchHash() *Hash {
if m != nil {
return m.BatchHash
}
return nil
}
func (m *BatchTx) GetTxs() []*MetaProofTx {
if m != nil {
return m.Txs
}
return nil
}
func init() {
proto.RegisterType((*BatchTx)(nil), "base.v1.BatchTx")
}
func init() { proto.RegisterFile("base/v1/batchtx.proto", fileDescriptor_c9fefc07327b2629) }
var fileDescriptor_c9fefc07327b2629 = []byte{
// 304 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0xcf, 0x4a, 0xc3, 0x40,
0x10, 0xc6, 0x49, 0x0a, 0x56, 0x37, 0x7a, 0x89, 0x7f, 0xa8, 0xbd, 0x58, 0x3c, 0x48, 0x0f, 0x92,
0x65, 0xeb, 0xad, 0xde, 0xd6, 0x83, 0x5e, 0x0a, 0xa1, 0x94, 0x50, 0xa4, 0x50, 0x36, 0xdb, 0x69,
0x52, 0x68, 0x3a, 0x21, 0xbb, 0x09, 0xf1, 0x75, 0xbc, 0x08, 0x3e, 0x8a, 0x8f, 0xe1, 0xd1, 0xa7,
0x90, 0xdd, 0x24, 0x1e, 0x3c, 0x65, 0xf2, 0xdb, 0x1f, 0x33, 0xdf, 0x47, 0x2e, 0x63, 0xa1, 0x80,
0x56, 0x8c, 0xc6, 0x42, 0xcb, 0x54, 0xd7, 0x41, 0x5e, 0xa0, 0x46, 0xbf, 0x6f, 0x70, 0x50, 0xb1,
0xe1, 0x4d, 0x82, 0x98, 0xec, 0x81, 0x5a, 0x1c, 0x97, 0x5b, 0xaa, 0x77, 0x19, 0x28, 0x2d, 0xb2,
0xbc, 0x31, 0x87, 0xd7, 0xff, 0x05, 0x71, 0x78, 0x6b, 0x9f, 0xae, 0xba, 0xdd, 0x05, 0x28, 0x2c,
0x0b, 0x09, 0x2d, 0xf7, 0x3b, 0x9e, 0x81, 0x16, 0x0d, 0xbb, 0x5d, 0x93, 0x3e, 0x37, 0x09, 0x16,
0xb5, 0x7f, 0x4f, 0x88, 0x0d, 0xb3, 0x4e, 0x85, 0x4a, 0x07, 0xce, 0xc8, 0x19, 0x7b, 0x93, 0xb3,
0xa0, 0x0d, 0x14, 0xbc, 0x08, 0x95, 0xce, 0x4f, 0xac, 0x60, 0x46, 0xff, 0x8e, 0xf4, 0x74, 0xad,
0x06, 0xee, 0xa8, 0x37, 0xf6, 0x26, 0x17, 0x7f, 0xda, 0x0c, 0xb4, 0x08, 0x0b, 0xc4, 0xed, 0xa2,
0x9e, 0x1b, 0x81, 0x7f, 0x38, 0xc4, 0x93, 0x98, 0x75, 0x02, 0x3f, 0xe5, 0x4d, 0xe1, 0xd0, 0x9c,
0x0f, 0x9d, 0xd7, 0x59, 0xb2, 0xd3, 0x69, 0x19, 0x07, 0x12, 0x33, 0xfa, 0x24, 0x36, 0xa5, 0x84,
0x52, 0x99, 0x25, 0x15, 0x14, 0x0a, 0xac, 0x24, 0x71, 0x6f, 0x13, 0xe7, 0xdd, 0x4f, 0x02, 0x87,
0xa6, 0x36, 0x4d, 0x90, 0xb6, 0x9d, 0x1e, 0xcd, 0xb7, 0x62, 0xef, 0x6e, 0x8f, 0x2f, 0x97, 0x9f,
0x6e, 0x9f, 0x9b, 0x73, 0x11, 0xfb, 0x6a, 0xa6, 0x55, 0xc4, 0xbe, 0xdd, 0xf3, 0x76, 0x5a, 0x3d,
0x87, 0xdc, 0x5c, 0xd8, 0x08, 0x2d, 0x7e, 0xdc, 0x63, 0x43, 0xa7, 0xd3, 0x88, 0xc5, 0x47, 0x76,
0xe7, 0xc3, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, 0xd6, 0x3e, 0x1f, 0x9b, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/eth.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/anypb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Receipt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
}
func (x *Receipt) Reset() {
*x = Receipt{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_eth_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Receipt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Receipt) ProtoMessage() {}
func (x *Receipt) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_eth_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Receipt.ProtoReflect.Descriptor instead.
func (*Receipt) Descriptor() ([]byte, []int) {
return file_base_v1_eth_proto_rawDescGZIP(), []int{0}
}
func (x *Receipt) GetType() uint32 {
if x != nil {
return x.Type
}
return 0
}
type BlockHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ParentHash *Hash `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
BlockHash *Hash `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
Miner *Address `protobuf:"bytes,3,opt,name=miner,proto3" json:"miner,omitempty"`
StateRoot *Hash `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
TxRoot *Hash `protobuf:"bytes,5,opt,name=tx_root,json=txRoot,proto3" json:"tx_root,omitempty"`
ReceiptRoot *Hash `protobuf:"bytes,6,opt,name=receipt_root,json=receiptRoot,proto3" json:"receipt_root,omitempty"`
BlockNumber *BigInt `protobuf:"bytes,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
GasLimit uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Extra []byte `protobuf:"bytes,11,opt,name=extra,proto3" json:"extra,omitempty"`
}
func (x *BlockHeader) Reset() {
*x = BlockHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_eth_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BlockHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BlockHeader) ProtoMessage() {}
func (x *BlockHeader) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_eth_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.
func (*BlockHeader) Descriptor() ([]byte, []int) {
return file_base_v1_eth_proto_rawDescGZIP(), []int{1}
}
func (x *BlockHeader) GetParentHash() *Hash {
if x != nil {
return x.ParentHash
}
return nil
}
func (x *BlockHeader) GetBlockHash() *Hash {
if x != nil {
return x.BlockHash
}
return nil
}
func (x *BlockHeader) GetMiner() *Address {
if x != nil {
return x.Miner
}
return nil
}
func (x *BlockHeader) GetStateRoot() *Hash {
if x != nil {
return x.StateRoot
}
return nil
}
func (x *BlockHeader) GetTxRoot() *Hash {
if x != nil {
return x.TxRoot
}
return nil
}
func (x *BlockHeader) GetReceiptRoot() *Hash {
if x != nil {
return x.ReceiptRoot
}
return nil
}
func (x *BlockHeader) GetBlockNumber() *BigInt {
if x != nil {
return x.BlockNumber
}
return nil
}
func (x *BlockHeader) GetGasLimit() uint64 {
if x != nil {
return x.GasLimit
}
return 0
}
func (x *BlockHeader) GetGasUsed() uint64 {
if x != nil {
return x.GasUsed
}
return 0
}
func (x *BlockHeader) GetTimestamp() uint64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *BlockHeader) GetExtra() []byte {
if x != nil {
return x.Extra
}
return nil
}
type BlockBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *BlockBody) Reset() {
*x = BlockBody{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_eth_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BlockBody) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BlockBody) ProtoMessage() {}
func (x *BlockBody) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_eth_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BlockBody.ProtoReflect.Descriptor instead.
func (*BlockBody) Descriptor() ([]byte, []int) {
return file_base_v1_eth_proto_rawDescGZIP(), []int{2}
}
var File_base_v1_eth_proto protoreflect.FileDescriptor
var file_base_v1_eth_proto_rawDesc = []byte{
0x0a, 0x11, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x74, 0x68, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76,
0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0x1d, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74,
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22,
0xbb, 0x03, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
0x2e, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48,
0x61, 0x73, 0x68, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12,
0x2c, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61,
0x73, 0x68, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a,
0x05, 0x6d, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x05,
0x6d, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72,
0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x61, 0x73, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52,
0x6f, 0x6f, 0x74, 0x12, 0x26, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48,
0x61, 0x73, 0x68, 0x52, 0x06, 0x74, 0x78, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x30, 0x0a, 0x0c, 0x72,
0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68,
0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x32, 0x0a,
0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69,
0x67, 0x49, 0x6e, 0x74, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65,
0x72, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08,
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x67, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19,
0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04,
0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x0b, 0x0a,
0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x42, 0xa3, 0x01, 0x0a, 0x0b, 0x63,
0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x45, 0x74, 0x68, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76,
0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74,
0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62,
0x61, 0x73, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61,
0x73, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2,
0x02, 0x13, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_base_v1_eth_proto_rawDescOnce sync.Once
file_base_v1_eth_proto_rawDescData = file_base_v1_eth_proto_rawDesc
)
func file_base_v1_eth_proto_rawDescGZIP() []byte {
file_base_v1_eth_proto_rawDescOnce.Do(func() {
file_base_v1_eth_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_v1_eth_proto_rawDescData)
})
return file_base_v1_eth_proto_rawDescData
}
var file_base_v1_eth_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_base_v1_eth_proto_goTypes = []interface{}{
(*Receipt)(nil), // 0: base.v1.Receipt
(*BlockHeader)(nil), // 1: base.v1.BlockHeader
(*BlockBody)(nil), // 2: base.v1.BlockBody
(*Hash)(nil), // 3: base.v1.Hash
(*Address)(nil), // 4: base.v1.Address
(*BigInt)(nil), // 5: base.v1.BigInt
}
var file_base_v1_eth_proto_depIdxs = []int32{
3, // 0: base.v1.BlockHeader.parent_hash:type_name -> base.v1.Hash
3, // 1: base.v1.BlockHeader.block_hash:type_name -> base.v1.Hash
4, // 2: base.v1.BlockHeader.miner:type_name -> base.v1.Address
3, // 3: base.v1.BlockHeader.state_root:type_name -> base.v1.Hash
3, // 4: base.v1.BlockHeader.tx_root:type_name -> base.v1.Hash
3, // 5: base.v1.BlockHeader.receipt_root:type_name -> base.v1.Hash
5, // 6: base.v1.BlockHeader.block_number:type_name -> base.v1.BigInt
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_base_v1_eth_proto_init() }
func file_base_v1_eth_proto_init() {
if File_base_v1_eth_proto != nil {
return
}
file_base_v1_resource_proto_init()
if !protoimpl.UnsafeEnabled {
file_base_v1_eth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Receipt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_eth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_eth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockBody); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_eth_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_base_v1_eth_proto_goTypes,
DependencyIndexes: file_base_v1_eth_proto_depIdxs,
MessageInfos: file_base_v1_eth_proto_msgTypes,
}.Build()
File_base_v1_eth_proto = out.File
file_base_v1_eth_proto_rawDesc = nil
file_base_v1_eth_proto_goTypes = nil
file_base_v1_eth_proto_depIdxs = nil
}
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/eth_blocks.proto
package basev1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/anypb"
_ "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type EthBlockHeader struct {
ParentHash *Hash `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
UncleHash *Hash `protobuf:"bytes,2,opt,name=uncle_hash,json=uncleHash,proto3" json:"uncle_hash,omitempty"`
BlockHash *Hash `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
Miner *Address `protobuf:"bytes,4,opt,name=miner,proto3" json:"miner,omitempty"`
StateRoot *Hash `protobuf:"bytes,5,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
TxsRoot *Hash `protobuf:"bytes,6,opt,name=txs_root,json=txsRoot,proto3" json:"txs_root,omitempty"`
ReceiptsRoot *Hash `protobuf:"bytes,7,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"`
BlockNumber *BigInt `protobuf:"bytes,8,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockBloom *Bloom `protobuf:"bytes,9,opt,name=block_bloom,json=blockBloom,proto3" json:"block_bloom,omitempty"`
Difficulty *BigInt `protobuf:"bytes,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
GasLimit uint64 `protobuf:"varint,11,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
GasUsed uint64 `protobuf:"varint,12,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
Timestamp uint64 `protobuf:"varint,13,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Extra []byte `protobuf:"bytes,14,opt,name=extra,proto3" json:"extra,omitempty"`
MixHash *Hash `protobuf:"bytes,15,opt,name=mix_hash,json=mixHash,proto3" json:"mix_hash,omitempty"`
BlockNonce *BigInt `protobuf:"bytes,16,opt,name=block_nonce,json=blockNonce,proto3" json:"block_nonce,omitempty"`
BaseFee *BigInt `protobuf:"bytes,17,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthBlockHeader) Reset() { *m = EthBlockHeader{} }
func (m *EthBlockHeader) String() string { return proto.CompactTextString(m) }
func (*EthBlockHeader) ProtoMessage() {}
func (*EthBlockHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_a7bd231ebd1789e6, []int{0}
}
func (m *EthBlockHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthBlockHeader.Unmarshal(m, b)
}
func (m *EthBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthBlockHeader.Marshal(b, m, deterministic)
}
func (m *EthBlockHeader) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthBlockHeader.Merge(m, src)
}
func (m *EthBlockHeader) XXX_Size() int {
return xxx_messageInfo_EthBlockHeader.Size(m)
}
func (m *EthBlockHeader) XXX_DiscardUnknown() {
xxx_messageInfo_EthBlockHeader.DiscardUnknown(m)
}
var xxx_messageInfo_EthBlockHeader proto.InternalMessageInfo
func (m *EthBlockHeader) GetParentHash() *Hash {
if m != nil {
return m.ParentHash
}
return nil
}
func (m *EthBlockHeader) GetUncleHash() *Hash {
if m != nil {
return m.UncleHash
}
return nil
}
func (m *EthBlockHeader) GetBlockHash() *Hash {
if m != nil {
return m.BlockHash
}
return nil
}
func (m *EthBlockHeader) GetMiner() *Address {
if m != nil {
return m.Miner
}
return nil
}
func (m *EthBlockHeader) GetStateRoot() *Hash {
if m != nil {
return m.StateRoot
}
return nil
}
func (m *EthBlockHeader) GetTxsRoot() *Hash {
if m != nil {
return m.TxsRoot
}
return nil
}
func (m *EthBlockHeader) GetReceiptsRoot() *Hash {
if m != nil {
return m.ReceiptsRoot
}
return nil
}
func (m *EthBlockHeader) GetBlockNumber() *BigInt {
if m != nil {
return m.BlockNumber
}
return nil
}
func (m *EthBlockHeader) GetBlockBloom() *Bloom {
if m != nil {
return m.BlockBloom
}
return nil
}
func (m *EthBlockHeader) GetDifficulty() *BigInt {
if m != nil {
return m.Difficulty
}
return nil
}
func (m *EthBlockHeader) GetGasLimit() uint64 {
if m != nil {
return m.GasLimit
}
return 0
}
func (m *EthBlockHeader) GetGasUsed() uint64 {
if m != nil {
return m.GasUsed
}
return 0
}
func (m *EthBlockHeader) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *EthBlockHeader) GetExtra() []byte {
if m != nil {
return m.Extra
}
return nil
}
func (m *EthBlockHeader) GetMixHash() *Hash {
if m != nil {
return m.MixHash
}
return nil
}
func (m *EthBlockHeader) GetBlockNonce() *BigInt {
if m != nil {
return m.BlockNonce
}
return nil
}
func (m *EthBlockHeader) GetBaseFee() *BigInt {
if m != nil {
return m.BaseFee
}
return nil
}
type EthBlockBody struct {
Txs []*EthTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
Uncles []*EthBlockHeader `protobuf:"bytes,2,rep,name=uncles,proto3" json:"uncles,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthBlockBody) Reset() { *m = EthBlockBody{} }
func (m *EthBlockBody) String() string { return proto.CompactTextString(m) }
func (*EthBlockBody) ProtoMessage() {}
func (*EthBlockBody) Descriptor() ([]byte, []int) {
return fileDescriptor_a7bd231ebd1789e6, []int{1}
}
func (m *EthBlockBody) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthBlockBody.Unmarshal(m, b)
}
func (m *EthBlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthBlockBody.Marshal(b, m, deterministic)
}
func (m *EthBlockBody) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthBlockBody.Merge(m, src)
}
func (m *EthBlockBody) XXX_Size() int {
return xxx_messageInfo_EthBlockBody.Size(m)
}
func (m *EthBlockBody) XXX_DiscardUnknown() {
xxx_messageInfo_EthBlockBody.DiscardUnknown(m)
}
var xxx_messageInfo_EthBlockBody proto.InternalMessageInfo
func (m *EthBlockBody) GetTxs() []*EthTransaction {
if m != nil {
return m.Txs
}
return nil
}
func (m *EthBlockBody) GetUncles() []*EthBlockHeader {
if m != nil {
return m.Uncles
}
return nil
}
type EthBlock struct {
Header *EthBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Uncles []*EthBlockHeader `protobuf:"bytes,2,rep,name=uncles,proto3" json:"uncles,omitempty"`
Txs []*EthTransaction `protobuf:"bytes,3,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthBlock) Reset() { *m = EthBlock{} }
func (m *EthBlock) String() string { return proto.CompactTextString(m) }
func (*EthBlock) ProtoMessage() {}
func (*EthBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_a7bd231ebd1789e6, []int{2}
}
func (m *EthBlock) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthBlock.Unmarshal(m, b)
}
func (m *EthBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthBlock.Marshal(b, m, deterministic)
}
func (m *EthBlock) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthBlock.Merge(m, src)
}
func (m *EthBlock) XXX_Size() int {
return xxx_messageInfo_EthBlock.Size(m)
}
func (m *EthBlock) XXX_DiscardUnknown() {
xxx_messageInfo_EthBlock.DiscardUnknown(m)
}
var xxx_messageInfo_EthBlock proto.InternalMessageInfo
func (m *EthBlock) GetHeader() *EthBlockHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *EthBlock) GetUncles() []*EthBlockHeader {
if m != nil {
return m.Uncles
}
return nil
}
func (m *EthBlock) GetTxs() []*EthTransaction {
if m != nil {
return m.Txs
}
return nil
}
func init() {
proto.RegisterType((*EthBlockHeader)(nil), "base.v1.EthBlockHeader")
proto.RegisterType((*EthBlockBody)(nil), "base.v1.EthBlockBody")
proto.RegisterType((*EthBlock)(nil), "base.v1.EthBlock")
}
func init() { proto.RegisterFile("base/v1/eth_blocks.proto", fileDescriptor_a7bd231ebd1789e6) }
var fileDescriptor_a7bd231ebd1789e6 = []byte{
// 637 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcd, 0x6e, 0xd3, 0x4c,
0x14, 0x86, 0xe5, 0x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0xfa, 0xbb, 0x1c, 0x7f, 0x6e, 0x34, 0xbd, 0xf3, 0xf3, 0xaf, 0x8d, 0xb6, 0xa7, 0x0b, 0x9e, 0x8d,
0xbf, 0xd9, 0xe8, 0xe2, 0x6c, 0xfc, 0xa3, 0xf1, 0x7f, 0x19, 0x5d, 0xbc, 0x3c, 0xf5, 0x74, 0x85,
0x90, 0x23, 0xff, 0xd9, 0xe8, 0xe8, 0xec, 0xe1, 0xe1, 0xd9, 0x78, 0xba, 0x6e, 0xe6, 0x7c, 0xf2,
0x2b, 0x00, 0x00, 0xff, 0xff, 0x36, 0x5e, 0x12, 0x5c, 0x24, 0x05, 0x00, 0x00,
}
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/eth_tx.proto
package basev1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
anypb "google.golang.org/protobuf/types/known/anypb"
_ "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type EthTxParam struct {
From *Address `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To *Address `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Gas uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`
GasPrice *BigInt `protobuf:"bytes,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
MaxFeePerGas *BigInt `protobuf:"bytes,5,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"`
MaxPriorityFeePerGas *BigInt `protobuf:"bytes,6,opt,name=max_priority_fee_per_gas,json=maxPriorityFeePerGas,proto3" json:"max_priority_fee_per_gas,omitempty"`
Value *BigInt `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
Nonce uint64 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"`
Input []byte `protobuf:"bytes,9,opt,name=input,proto3" json:"input,omitempty"`
Accesslist *AccessList `protobuf:"bytes,10,opt,name=accesslist,proto3" json:"accesslist,omitempty"`
ChainId *BigInt `protobuf:"bytes,11,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthTxParam) Reset() { *m = EthTxParam{} }
func (m *EthTxParam) String() string { return proto.CompactTextString(m) }
func (*EthTxParam) ProtoMessage() {}
func (*EthTxParam) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{0}
}
func (m *EthTxParam) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthTxParam.Unmarshal(m, b)
}
func (m *EthTxParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthTxParam.Marshal(b, m, deterministic)
}
func (m *EthTxParam) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthTxParam.Merge(m, src)
}
func (m *EthTxParam) XXX_Size() int {
return xxx_messageInfo_EthTxParam.Size(m)
}
func (m *EthTxParam) XXX_DiscardUnknown() {
xxx_messageInfo_EthTxParam.DiscardUnknown(m)
}
var xxx_messageInfo_EthTxParam proto.InternalMessageInfo
func (m *EthTxParam) GetFrom() *Address {
if m != nil {
return m.From
}
return nil
}
func (m *EthTxParam) GetTo() *Address {
if m != nil {
return m.To
}
return nil
}
func (m *EthTxParam) GetGas() uint64 {
if m != nil {
return m.Gas
}
return 0
}
func (m *EthTxParam) GetGasPrice() *BigInt {
if m != nil {
return m.GasPrice
}
return nil
}
func (m *EthTxParam) GetMaxFeePerGas() *BigInt {
if m != nil {
return m.MaxFeePerGas
}
return nil
}
func (m *EthTxParam) GetMaxPriorityFeePerGas() *BigInt {
if m != nil {
return m.MaxPriorityFeePerGas
}
return nil
}
func (m *EthTxParam) GetValue() *BigInt {
if m != nil {
return m.Value
}
return nil
}
func (m *EthTxParam) GetNonce() uint64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *EthTxParam) GetInput() []byte {
if m != nil {
return m.Input
}
return nil
}
func (m *EthTxParam) GetAccesslist() *AccessList {
if m != nil {
return m.Accesslist
}
return nil
}
func (m *EthTxParam) GetChainId() *BigInt {
if m != nil {
return m.ChainId
}
return nil
}
type EthLegacyTx struct {
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
GasPrice *BigInt `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
Gas uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`
To *Address `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
Value *BigInt `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
V *BigInt `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"`
R *BigInt `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"`
S *BigInt `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthLegacyTx) Reset() { *m = EthLegacyTx{} }
func (m *EthLegacyTx) String() string { return proto.CompactTextString(m) }
func (*EthLegacyTx) ProtoMessage() {}
func (*EthLegacyTx) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{1}
}
func (m *EthLegacyTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthLegacyTx.Unmarshal(m, b)
}
func (m *EthLegacyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthLegacyTx.Marshal(b, m, deterministic)
}
func (m *EthLegacyTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthLegacyTx.Merge(m, src)
}
func (m *EthLegacyTx) XXX_Size() int {
return xxx_messageInfo_EthLegacyTx.Size(m)
}
func (m *EthLegacyTx) XXX_DiscardUnknown() {
xxx_messageInfo_EthLegacyTx.DiscardUnknown(m)
}
var xxx_messageInfo_EthLegacyTx proto.InternalMessageInfo
func (m *EthLegacyTx) GetNonce() uint64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *EthLegacyTx) GetGasPrice() *BigInt {
if m != nil {
return m.GasPrice
}
return nil
}
func (m *EthLegacyTx) GetGas() uint64 {
if m != nil {
return m.Gas
}
return 0
}
func (m *EthLegacyTx) GetTo() *Address {
if m != nil {
return m.To
}
return nil
}
func (m *EthLegacyTx) GetValue() *BigInt {
if m != nil {
return m.Value
}
return nil
}
func (m *EthLegacyTx) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *EthLegacyTx) GetV() *BigInt {
if m != nil {
return m.V
}
return nil
}
func (m *EthLegacyTx) GetR() *BigInt {
if m != nil {
return m.R
}
return nil
}
func (m *EthLegacyTx) GetS() *BigInt {
if m != nil {
return m.S
}
return nil
}
type EthAccessListTx struct {
ChainId *BigInt `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
GasPrice *BigInt `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
To *Address `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
Value *BigInt `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
AccessList *AccessList `protobuf:"bytes,8,opt,name=access_list,json=accessList,proto3" json:"access_list,omitempty"`
V *BigInt `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"`
R *BigInt `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"`
S *BigInt `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthAccessListTx) Reset() { *m = EthAccessListTx{} }
func (m *EthAccessListTx) String() string { return proto.CompactTextString(m) }
func (*EthAccessListTx) ProtoMessage() {}
func (*EthAccessListTx) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{2}
}
func (m *EthAccessListTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthAccessListTx.Unmarshal(m, b)
}
func (m *EthAccessListTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthAccessListTx.Marshal(b, m, deterministic)
}
func (m *EthAccessListTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthAccessListTx.Merge(m, src)
}
func (m *EthAccessListTx) XXX_Size() int {
return xxx_messageInfo_EthAccessListTx.Size(m)
}
func (m *EthAccessListTx) XXX_DiscardUnknown() {
xxx_messageInfo_EthAccessListTx.DiscardUnknown(m)
}
var xxx_messageInfo_EthAccessListTx proto.InternalMessageInfo
func (m *EthAccessListTx) GetChainId() *BigInt {
if m != nil {
return m.ChainId
}
return nil
}
func (m *EthAccessListTx) GetNonce() uint64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *EthAccessListTx) GetGasPrice() *BigInt {
if m != nil {
return m.GasPrice
}
return nil
}
func (m *EthAccessListTx) GetGas() uint64 {
if m != nil {
return m.Gas
}
return 0
}
func (m *EthAccessListTx) GetTo() *Address {
if m != nil {
return m.To
}
return nil
}
func (m *EthAccessListTx) GetValue() *BigInt {
if m != nil {
return m.Value
}
return nil
}
func (m *EthAccessListTx) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *EthAccessListTx) GetAccessList() *AccessList {
if m != nil {
return m.AccessList
}
return nil
}
func (m *EthAccessListTx) GetV() *BigInt {
if m != nil {
return m.V
}
return nil
}
func (m *EthAccessListTx) GetR() *BigInt {
if m != nil {
return m.R
}
return nil
}
func (m *EthAccessListTx) GetS() *BigInt {
if m != nil {
return m.S
}
return nil
}
type EthDynamicFeeTx struct {
ChainId *BigInt `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
GasTipCap *BigInt `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3" json:"gas_tip_cap,omitempty"`
GasFeeCap *BigInt `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3" json:"gas_fee_cap,omitempty"`
Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"`
To *Address `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
Value *BigInt `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
AccessList *AccessList `protobuf:"bytes,9,opt,name=access_list,json=accessList,proto3" json:"access_list,omitempty"`
V *BigInt `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"`
R *BigInt `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"`
S *BigInt `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthDynamicFeeTx) Reset() { *m = EthDynamicFeeTx{} }
func (m *EthDynamicFeeTx) String() string { return proto.CompactTextString(m) }
func (*EthDynamicFeeTx) ProtoMessage() {}
func (*EthDynamicFeeTx) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{3}
}
func (m *EthDynamicFeeTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthDynamicFeeTx.Unmarshal(m, b)
}
func (m *EthDynamicFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthDynamicFeeTx.Marshal(b, m, deterministic)
}
func (m *EthDynamicFeeTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthDynamicFeeTx.Merge(m, src)
}
func (m *EthDynamicFeeTx) XXX_Size() int {
return xxx_messageInfo_EthDynamicFeeTx.Size(m)
}
func (m *EthDynamicFeeTx) XXX_DiscardUnknown() {
xxx_messageInfo_EthDynamicFeeTx.DiscardUnknown(m)
}
var xxx_messageInfo_EthDynamicFeeTx proto.InternalMessageInfo
func (m *EthDynamicFeeTx) GetChainId() *BigInt {
if m != nil {
return m.ChainId
}
return nil
}
func (m *EthDynamicFeeTx) GetNonce() uint64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *EthDynamicFeeTx) GetGasTipCap() *BigInt {
if m != nil {
return m.GasTipCap
}
return nil
}
func (m *EthDynamicFeeTx) GetGasFeeCap() *BigInt {
if m != nil {
return m.GasFeeCap
}
return nil
}
func (m *EthDynamicFeeTx) GetGas() uint64 {
if m != nil {
return m.Gas
}
return 0
}
func (m *EthDynamicFeeTx) GetTo() *Address {
if m != nil {
return m.To
}
return nil
}
func (m *EthDynamicFeeTx) GetValue() *BigInt {
if m != nil {
return m.Value
}
return nil
}
func (m *EthDynamicFeeTx) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *EthDynamicFeeTx) GetAccessList() *AccessList {
if m != nil {
return m.AccessList
}
return nil
}
func (m *EthDynamicFeeTx) GetV() *BigInt {
if m != nil {
return m.V
}
return nil
}
func (m *EthDynamicFeeTx) GetR() *BigInt {
if m != nil {
return m.R
}
return nil
}
func (m *EthDynamicFeeTx) GetS() *BigInt {
if m != nil {
return m.S
}
return nil
}
type EthTransaction struct {
Tx *anypb.Any `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthTransaction) Reset() { *m = EthTransaction{} }
func (m *EthTransaction) String() string { return proto.CompactTextString(m) }
func (*EthTransaction) ProtoMessage() {}
func (*EthTransaction) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{4}
}
func (m *EthTransaction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthTransaction.Unmarshal(m, b)
}
func (m *EthTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthTransaction.Marshal(b, m, deterministic)
}
func (m *EthTransaction) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthTransaction.Merge(m, src)
}
func (m *EthTransaction) XXX_Size() int {
return xxx_messageInfo_EthTransaction.Size(m)
}
func (m *EthTransaction) XXX_DiscardUnknown() {
xxx_messageInfo_EthTransaction.DiscardUnknown(m)
}
var xxx_messageInfo_EthTransaction proto.InternalMessageInfo
func (m *EthTransaction) GetTx() *anypb.Any {
if m != nil {
return m.Tx
}
return nil
}
// EthTxLog reference ethereum Log struct.
type EthTxLog struct {
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Topics []*Hash `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
TxHash *Hash `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxIndex uint32 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
BlockHash *Hash `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
LogIndex uint32 `protobuf:"varint,8,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthTxLog) Reset() { *m = EthTxLog{} }
func (m *EthTxLog) String() string { return proto.CompactTextString(m) }
func (*EthTxLog) ProtoMessage() {}
func (*EthTxLog) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{5}
}
func (m *EthTxLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthTxLog.Unmarshal(m, b)
}
func (m *EthTxLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthTxLog.Marshal(b, m, deterministic)
}
func (m *EthTxLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthTxLog.Merge(m, src)
}
func (m *EthTxLog) XXX_Size() int {
return xxx_messageInfo_EthTxLog.Size(m)
}
func (m *EthTxLog) XXX_DiscardUnknown() {
xxx_messageInfo_EthTxLog.DiscardUnknown(m)
}
var xxx_messageInfo_EthTxLog proto.InternalMessageInfo
func (m *EthTxLog) GetAddress() *Address {
if m != nil {
return m.Address
}
return nil
}
func (m *EthTxLog) GetTopics() []*Hash {
if m != nil {
return m.Topics
}
return nil
}
func (m *EthTxLog) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *EthTxLog) GetBlockNumber() uint64 {
if m != nil {
return m.BlockNumber
}
return 0
}
func (m *EthTxLog) GetTxHash() *Hash {
if m != nil {
return m.TxHash
}
return nil
}
func (m *EthTxLog) GetTxIndex() uint32 {
if m != nil {
return m.TxIndex
}
return 0
}
func (m *EthTxLog) GetBlockHash() *Hash {
if m != nil {
return m.BlockHash
}
return nil
}
func (m *EthTxLog) GetLogIndex() uint32 {
if m != nil {
return m.LogIndex
}
return 0
}
func (m *EthTxLog) GetRemoved() bool {
if m != nil {
return m.Removed
}
return false
}
type EthReceipt struct {
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
Status uint64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
CululativeGasUsed uint64 `protobuf:"varint,4,opt,name=cululative_gas_used,json=cululativeGasUsed,proto3" json:"cululative_gas_used,omitempty"`
Bloom *Bloom `protobuf:"bytes,5,opt,name=bloom,proto3" json:"bloom,omitempty"`
Logs []*EthTxLog `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
TxHash *Hash `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
ContractAddress *Address `protobuf:"bytes,8,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
BlockHash *Hash `protobuf:"bytes,10,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
BlockNumber *BigInt `protobuf:"bytes,11,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
TxIndex uint32 `protobuf:"varint,12,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EthReceipt) Reset() { *m = EthReceipt{} }
func (m *EthReceipt) String() string { return proto.CompactTextString(m) }
func (*EthReceipt) ProtoMessage() {}
func (*EthReceipt) Descriptor() ([]byte, []int) {
return fileDescriptor_bccd389cdcf04d98, []int{6}
}
func (m *EthReceipt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EthReceipt.Unmarshal(m, b)
}
func (m *EthReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EthReceipt.Marshal(b, m, deterministic)
}
func (m *EthReceipt) XXX_Merge(src proto.Message) {
xxx_messageInfo_EthReceipt.Merge(m, src)
}
func (m *EthReceipt) XXX_Size() int {
return xxx_messageInfo_EthReceipt.Size(m)
}
func (m *EthReceipt) XXX_DiscardUnknown() {
xxx_messageInfo_EthReceipt.DiscardUnknown(m)
}
var xxx_messageInfo_EthReceipt proto.InternalMessageInfo
func (m *EthReceipt) GetType() uint32 {
if m != nil {
return m.Type
}
return 0
}
func (m *EthReceipt) GetRoot() []byte {
if m != nil {
return m.Root
}
return nil
}
func (m *EthReceipt) GetStatus() uint64 {
if m != nil {
return m.Status
}
return 0
}
func (m *EthReceipt) GetCululativeGasUsed() uint64 {
if m != nil {
return m.CululativeGasUsed
}
return 0
}
func (m *EthReceipt) GetBloom() *Bloom {
if m != nil {
return m.Bloom
}
return nil
}
func (m *EthReceipt) GetLogs() []*EthTxLog {
if m != nil {
return m.Logs
}
return nil
}
func (m *EthReceipt) GetTxHash() *Hash {
if m != nil {
return m.TxHash
}
return nil
}
func (m *EthReceipt) GetContractAddress() *Address {
if m != nil {
return m.ContractAddress
}
return nil
}
func (m *EthReceipt) GetGasUsed() uint64 {
if m != nil {
return m.GasUsed
}
return 0
}
func (m *EthReceipt) GetBlockHash() *Hash {
if m != nil {
return m.BlockHash
}
return nil
}
func (m *EthReceipt) GetBlockNumber() *BigInt {
if m != nil {
return m.BlockNumber
}
return nil
}
func (m *EthReceipt) GetTxIndex() uint32 {
if m != nil {
return m.TxIndex
}
return 0
}
func init() {
proto.RegisterType((*EthTxParam)(nil), "base.v1.EthTxParam")
proto.RegisterType((*EthLegacyTx)(nil), "base.v1.EthLegacyTx")
proto.RegisterType((*EthAccessListTx)(nil), "base.v1.EthAccessListTx")
proto.RegisterType((*EthDynamicFeeTx)(nil), "base.v1.EthDynamicFeeTx")
proto.RegisterType((*EthTransaction)(nil), "base.v1.EthTransaction")
proto.RegisterType((*EthTxLog)(nil), "base.v1.EthTxLog")
proto.RegisterType((*EthReceipt)(nil), "base.v1.EthReceipt")
}
func init() { proto.RegisterFile("base/v1/eth_tx.proto", fileDescriptor_bccd389cdcf04d98) }
var fileDescriptor_bccd389cdcf04d98 = []byte{
// 1012 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6b, 0xdc, 0xc6,
0x1f, 0xc7, 0x91, 0xf6, 0x41, 0xda, 0x9f, 0xd6, 0xb1, 0x33, 0x36, 0x41, 0xc9, 0x9f, 0x3f, 0x75,
0x8d, 0x5d, 0x4c, 0x08, 0xbb, 0xac, 0x53, 0x72, 0x48, 0x4e, 0xd9, 0xd4, 0x76, 0x0d, 0x4e, 0x59,
0x84, 0x6b, 0x42, 0x09, 0x88, 0xd9, 0xd1, 0x58, 0x2b, 0x2a, 0x69, 0x84, 0x66, 0xb4, 0x68, 0xcf,
0x7d, 0x1d, 0xbd, 0x14, 0x7a, 0xe9, 0x1b, 0xe8, 0xa5, 0xe7, 0x42, 0xfb, 0x32, 0x7a, 0xec, 0xab,
0x28, 0x33, 0x92, 0xf6, 0xc1, 0x59, 0xad, 0xb7, 0xd0, 0x93, 0x66, 0x7e, 0x4f, 0xa3, 0xf9, 0x7e,
0x7e, 0xa3, 0x11, 0x1c, 0x8c, 0x31, 0xa7, 0xfd, 0xe9, 0xa0, 0x4f, 0xc5, 0xc4, 0x15, 0x79, 0x2f,
0x49, 0x99, 0x60, 0xc8, 0x90, 0xd6, 0xde, 0x74, 0xf0, 0xec, 0x33, 0x9f, 0x31, 0x3f, 0xa4, 0x7d,
0x65, 0x1e, 0x67, 0x77, 0x7d, 0x11, 0x44, 0x94, 0x0b, 0x1c, 0x25, 0x45, 0xe4, 0xb3, 0xa7, 0xf7,
0x03, 0x70, 0x3c, 0x2b, 0x5d, 0x4f, 0xaa, 0xd2, 0x29, 0xe5, 0x2c, 0x4b, 0x09, 0x2d, 0xec, 0x47,
0x7f, 0x34, 0x00, 0xce, 0xc5, 0xe4, 0x26, 0x1f, 0xe1,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, 0x5c, 0x46, 0xda, 0x77, 0xef, 0xfd, 0x40, 0x4c, 0xb2,
0x71, 0x8f, 0xb0, 0xa8, 0xff, 0x0e, 0x7b, 0x19, 0xa1, 0x19, 0x7f, 0x4f, 0x05, 0x9e, 0xd2, 0x94,
0x53, 0x15, 0x44, 0x58, 0xd8, 0x8f, 0xa8, 0xc0, 0x49, 0x35, 0xf1, 0x69, 0x5c, 0xfc, 0xeb, 0xf5,
0x7d, 0xd6, 0x2f, 0x7f, 0xf0, 0xde, 0xc8, 0xe7, 0x74, 0xf0, 0x93, 0xde, 0x18, 0x7e, 0xf8, 0xf0,
0x8b, 0x6e, 0x0c, 0xe5, 0x62, 0xb7, 0x83, 0x3f, 0x8b, 0xd1, 0xc7, 0xdb, 0xc1, 0x5f, 0xfa, 0x7e,
0x39, 0xfa, 0x78, 0x39, 0x1a, 0xca, 0x15, 0xe4, 0x81, 0xf9, 0x5b, 0x37, 0xa5, 0xf5, 0xf5, 0xeb,
0xdb, 0xc1, 0xb8, 0xad, 0x6a, 0xbe, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff, 0xca, 0xb5, 0x00, 0x44,
0x8f, 0x0a, 0x00, 0x00,
}
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/meta.proto
package basev1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
anypb "google.golang.org/protobuf/types/known/anypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type MetaProof struct {
Rset []byte `protobuf:"bytes,1,opt,name=rset,proto3" json:"rset,omitempty"`
Wset []byte `protobuf:"bytes,2,opt,name=wset,proto3" json:"wset,omitempty"`
Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
StateBlockNum int64 `protobuf:"varint,4,opt,name=state_block_num,json=stateBlockNum,proto3" json:"state_block_num,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaProof) Reset() { *m = MetaProof{} }
func (m *MetaProof) String() string { return proto.CompactTextString(m) }
func (*MetaProof) ProtoMessage() {}
func (*MetaProof) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{0}
}
func (m *MetaProof) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaProof.Unmarshal(m, b)
}
func (m *MetaProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaProof.Marshal(b, m, deterministic)
}
func (m *MetaProof) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaProof.Merge(m, src)
}
func (m *MetaProof) XXX_Size() int {
return xxx_messageInfo_MetaProof.Size(m)
}
func (m *MetaProof) XXX_DiscardUnknown() {
xxx_messageInfo_MetaProof.DiscardUnknown(m)
}
var xxx_messageInfo_MetaProof proto.InternalMessageInfo
func (m *MetaProof) GetRset() []byte {
if m != nil {
return m.Rset
}
return nil
}
func (m *MetaProof) GetWset() []byte {
if m != nil {
return m.Wset
}
return nil
}
func (m *MetaProof) GetProof() []byte {
if m != nil {
return m.Proof
}
return nil
}
func (m *MetaProof) GetStateBlockNum() int64 {
if m != nil {
return m.StateBlockNum
}
return 0
}
type MetaTxBase struct {
// tx_type 用于指示当前的交易类型.
TxType uint32 `protobuf:"varint,1,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
ChainId *BigInt `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
GasPrice *BigInt `protobuf:"bytes,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"`
To *Address `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
Value *BigInt `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
AccessList *AccessList `protobuf:"bytes,9,opt,name=access_list,json=accessList,proto3" json:"access_list,omitempty"`
V *BigInt `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"`
R *BigInt `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"`
S *BigInt `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"`
From *Address `protobuf:"bytes,13,opt,name=from,proto3" json:"from,omitempty"`
ReceiveTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"`
// expire block 用于指定当区块超过此高度后,交易即使被打包也不执行.
ExpiredBlock *BigInt `protobuf:"bytes,15,opt,name=expired_block,json=expiredBlock,proto3" json:"expired_block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaTxBase) Reset() { *m = MetaTxBase{} }
func (m *MetaTxBase) String() string { return proto.CompactTextString(m) }
func (*MetaTxBase) ProtoMessage() {}
func (*MetaTxBase) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{1}
}
func (m *MetaTxBase) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaTxBase.Unmarshal(m, b)
}
func (m *MetaTxBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaTxBase.Marshal(b, m, deterministic)
}
func (m *MetaTxBase) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaTxBase.Merge(m, src)
}
func (m *MetaTxBase) XXX_Size() int {
return xxx_messageInfo_MetaTxBase.Size(m)
}
func (m *MetaTxBase) XXX_DiscardUnknown() {
xxx_messageInfo_MetaTxBase.DiscardUnknown(m)
}
var xxx_messageInfo_MetaTxBase proto.InternalMessageInfo
func (m *MetaTxBase) GetTxType() uint32 {
if m != nil {
return m.TxType
}
return 0
}
func (m *MetaTxBase) GetChainId() *BigInt {
if m != nil {
return m.ChainId
}
return nil
}
func (m *MetaTxBase) GetNonce() uint64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *MetaTxBase) GetGasPrice() *BigInt {
if m != nil {
return m.GasPrice
}
return nil
}
func (m *MetaTxBase) GetGas() uint64 {
if m != nil {
return m.Gas
}
return 0
}
func (m *MetaTxBase) GetTo() *Address {
if m != nil {
return m.To
}
return nil
}
func (m *MetaTxBase) GetValue() *BigInt {
if m != nil {
return m.Value
}
return nil
}
func (m *MetaTxBase) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *MetaTxBase) GetAccessList() *AccessList {
if m != nil {
return m.AccessList
}
return nil
}
func (m *MetaTxBase) GetV() *BigInt {
if m != nil {
return m.V
}
return nil
}
func (m *MetaTxBase) GetR() *BigInt {
if m != nil {
return m.R
}
return nil
}
func (m *MetaTxBase) GetS() *BigInt {
if m != nil {
return m.S
}
return nil
}
func (m *MetaTxBase) GetFrom() *Address {
if m != nil {
return m.From
}
return nil
}
func (m *MetaTxBase) GetReceiveTime() *timestamppb.Timestamp {
if m != nil {
return m.ReceiveTime
}
return nil
}
func (m *MetaTxBase) GetExpiredBlock() *BigInt {
if m != nil {
return m.ExpiredBlock
}
return nil
}
type MetaProofTx struct {
Base *MetaTxBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Proof *MetaProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaProofTx) Reset() { *m = MetaProofTx{} }
func (m *MetaProofTx) String() string { return proto.CompactTextString(m) }
func (*MetaProofTx) ProtoMessage() {}
func (*MetaProofTx) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{2}
}
func (m *MetaProofTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaProofTx.Unmarshal(m, b)
}
func (m *MetaProofTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaProofTx.Marshal(b, m, deterministic)
}
func (m *MetaProofTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaProofTx.Merge(m, src)
}
func (m *MetaProofTx) XXX_Size() int {
return xxx_messageInfo_MetaProofTx.Size(m)
}
func (m *MetaProofTx) XXX_DiscardUnknown() {
xxx_messageInfo_MetaProofTx.DiscardUnknown(m)
}
var xxx_messageInfo_MetaProofTx proto.InternalMessageInfo
func (m *MetaProofTx) GetBase() *MetaTxBase {
if m != nil {
return m.Base
}
return nil
}
func (m *MetaProofTx) GetProof() *MetaProof {
if m != nil {
return m.Proof
}
return nil
}
type MetaTransaction struct {
Tx *anypb.Any `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaTransaction) Reset() { *m = MetaTransaction{} }
func (m *MetaTransaction) String() string { return proto.CompactTextString(m) }
func (*MetaTransaction) ProtoMessage() {}
func (*MetaTransaction) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{3}
}
func (m *MetaTransaction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaTransaction.Unmarshal(m, b)
}
func (m *MetaTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaTransaction.Marshal(b, m, deterministic)
}
func (m *MetaTransaction) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaTransaction.Merge(m, src)
}
func (m *MetaTransaction) XXX_Size() int {
return xxx_messageInfo_MetaTransaction.Size(m)
}
func (m *MetaTransaction) XXX_DiscardUnknown() {
xxx_messageInfo_MetaTransaction.DiscardUnknown(m)
}
var xxx_messageInfo_MetaTransaction proto.InternalMessageInfo
func (m *MetaTransaction) GetTx() *anypb.Any {
if m != nil {
return m.Tx
}
return nil
}
type MetaBlockHeader struct {
ParentHash *Hash `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
BlockHash *Hash `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
Miner *Address `protobuf:"bytes,3,opt,name=miner,proto3" json:"miner,omitempty"`
StateRoot *Hash `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
TxsRoot *Hash `protobuf:"bytes,5,opt,name=txs_root,json=txsRoot,proto3" json:"txs_root,omitempty"`
ReceiptsRoot *Hash `protobuf:"bytes,6,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"`
BlockNumber *BigInt `protobuf:"bytes,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockBloom *Bloom `protobuf:"bytes,8,opt,name=block_bloom,json=blockBloom,proto3" json:"block_bloom,omitempty"`
GasLimit uint64 `protobuf:"varint,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
GasUsed uint64 `protobuf:"varint,10,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
Timestamp uint64 `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Extra []byte `protobuf:"bytes,12,opt,name=extra,proto3" json:"extra,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaBlockHeader) Reset() { *m = MetaBlockHeader{} }
func (m *MetaBlockHeader) String() string { return proto.CompactTextString(m) }
func (*MetaBlockHeader) ProtoMessage() {}
func (*MetaBlockHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{4}
}
func (m *MetaBlockHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaBlockHeader.Unmarshal(m, b)
}
func (m *MetaBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaBlockHeader.Marshal(b, m, deterministic)
}
func (m *MetaBlockHeader) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaBlockHeader.Merge(m, src)
}
func (m *MetaBlockHeader) XXX_Size() int {
return xxx_messageInfo_MetaBlockHeader.Size(m)
}
func (m *MetaBlockHeader) XXX_DiscardUnknown() {
xxx_messageInfo_MetaBlockHeader.DiscardUnknown(m)
}
var xxx_messageInfo_MetaBlockHeader proto.InternalMessageInfo
func (m *MetaBlockHeader) GetParentHash() *Hash {
if m != nil {
return m.ParentHash
}
return nil
}
func (m *MetaBlockHeader) GetBlockHash() *Hash {
if m != nil {
return m.BlockHash
}
return nil
}
func (m *MetaBlockHeader) GetMiner() *Address {
if m != nil {
return m.Miner
}
return nil
}
func (m *MetaBlockHeader) GetStateRoot() *Hash {
if m != nil {
return m.StateRoot
}
return nil
}
func (m *MetaBlockHeader) GetTxsRoot() *Hash {
if m != nil {
return m.TxsRoot
}
return nil
}
func (m *MetaBlockHeader) GetReceiptsRoot() *Hash {
if m != nil {
return m.ReceiptsRoot
}
return nil
}
func (m *MetaBlockHeader) GetBlockNumber() *BigInt {
if m != nil {
return m.BlockNumber
}
return nil
}
func (m *MetaBlockHeader) GetBlockBloom() *Bloom {
if m != nil {
return m.BlockBloom
}
return nil
}
func (m *MetaBlockHeader) GetGasLimit() uint64 {
if m != nil {
return m.GasLimit
}
return 0
}
func (m *MetaBlockHeader) GetGasUsed() uint64 {
if m != nil {
return m.GasUsed
}
return 0
}
func (m *MetaBlockHeader) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *MetaBlockHeader) GetExtra() []byte {
if m != nil {
return m.Extra
}
return nil
}
type MetaBlockBody struct {
Txs []*MetaTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaBlockBody) Reset() { *m = MetaBlockBody{} }
func (m *MetaBlockBody) String() string { return proto.CompactTextString(m) }
func (*MetaBlockBody) ProtoMessage() {}
func (*MetaBlockBody) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{5}
}
func (m *MetaBlockBody) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaBlockBody.Unmarshal(m, b)
}
func (m *MetaBlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaBlockBody.Marshal(b, m, deterministic)
}
func (m *MetaBlockBody) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaBlockBody.Merge(m, src)
}
func (m *MetaBlockBody) XXX_Size() int {
return xxx_messageInfo_MetaBlockBody.Size(m)
}
func (m *MetaBlockBody) XXX_DiscardUnknown() {
xxx_messageInfo_MetaBlockBody.DiscardUnknown(m)
}
var xxx_messageInfo_MetaBlockBody proto.InternalMessageInfo
func (m *MetaBlockBody) GetTxs() []*MetaTransaction {
if m != nil {
return m.Txs
}
return nil
}
type MetaBlock struct {
Header *MetaBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Txs []*MetaTransaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MetaBlock) Reset() { *m = MetaBlock{} }
func (m *MetaBlock) String() string { return proto.CompactTextString(m) }
func (*MetaBlock) ProtoMessage() {}
func (*MetaBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_bdc8166c9acdb440, []int{6}
}
func (m *MetaBlock) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MetaBlock.Unmarshal(m, b)
}
func (m *MetaBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MetaBlock.Marshal(b, m, deterministic)
}
func (m *MetaBlock) XXX_Merge(src proto.Message) {
xxx_messageInfo_MetaBlock.Merge(m, src)
}
func (m *MetaBlock) XXX_Size() int {
return xxx_messageInfo_MetaBlock.Size(m)
}
func (m *MetaBlock) XXX_DiscardUnknown() {
xxx_messageInfo_MetaBlock.DiscardUnknown(m)
}
var xxx_messageInfo_MetaBlock proto.InternalMessageInfo
func (m *MetaBlock) GetHeader() *MetaBlockHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *MetaBlock) GetTxs() []*MetaTransaction {
if m != nil {
return m.Txs
}
return nil
}
func init() {
proto.RegisterType((*MetaProof)(nil), "base.v1.MetaProof")
proto.RegisterType((*MetaTxBase)(nil), "base.v1.MetaTxBase")
proto.RegisterType((*MetaProofTx)(nil), "base.v1.MetaProofTx")
proto.RegisterType((*MetaTransaction)(nil), "base.v1.MetaTransaction")
proto.RegisterType((*MetaBlockHeader)(nil), "base.v1.MetaBlockHeader")
proto.RegisterType((*MetaBlockBody)(nil), "base.v1.MetaBlockBody")
proto.RegisterType((*MetaBlock)(nil), "base.v1.MetaBlock")
}
func init() { proto.RegisterFile("base/v1/meta.proto", fileDescriptor_bdc8166c9acdb440) }
var fileDescriptor_bdc8166c9acdb440 = []byte{
// 873 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdf, 0x8f, 0xdb, 0x44,
0x10, 0xc7, 0x15, 0xe7, 0xf7, 0x38, 0xe9, 0x55, 0xdb, 0x0a, 0xdc, 0x02, 0xe2, 0x14, 0x95, 0x12,
0x55, 0x95, 0x43, 0x8e, 0x4a, 0x48, 0xad, 0x78, 0x68, 0x78, 0xa0, 0x95, 0x5a, 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, 0x7d, 0x23, 0xe2, 0x32,
0xc2, 0x52, 0xdb, 0xf8, 0x16, 0x95, 0x46, 0x82, 0x22, 0xb9, 0xa1, 0xc7, 0xa8, 0x68, 0x16, 0x09,
0xe6, 0xee, 0x81, 0x99, 0x25, 0x72, 0x56, 0xbf, 0x2a, 0xcf, 0xec, 0xef, 0x76, 0xfe, 0xab, 0xd7,
0x5e, 0xbc, 0x79, 0xf3, 0xbb, 0xd7, 0xb7, 0x03, 0x18, 0x5e, 0xce, 0xff, 0x74, 0xd6, 0xdb, 0xcb,
0xf9, 0x5f, 0xde, 0x9d, 0xda, 0x7a, 0xfb, 0xed, 0xf9, 0xc2, 0x76, 0xb0, 0x77, 0xe0, 0xdf, 0xde,
0xc0, 0x7a, 0x9f, 0x3e, 0xbd, 0x9c, 0xaf, 0x7a, 0x54, 0xf3, 0xcb, 0x7f, 0x03, 0x00, 0x00, 0xff,
0xff, 0x00, 0x41, 0x1e, 0xa8, 0x02, 0x07, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/options.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var file_base_v1_options_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*uint32)(nil),
Field: 50000,
Name: "base.v1.bytes_size",
Tag: "varint,50000,opt,name=bytes_size",
Filename: "base/v1/options.proto",
},
}
// Extension fields to descriptorpb.FieldOptions.
var (
// optional uint32 bytes_size = 50000;
E_BytesSize = &file_base_v1_options_proto_extTypes[0] // define bytes data size.
)
var File_base_v1_options_proto protoreflect.FileDescriptor
var file_base_v1_options_proto_rawDesc = []byte{
0x0a, 0x15, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x3a, 0x3e, 0x0a, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65,
0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
0xd0, 0x86, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x69,
0x7a, 0x65, 0x42, 0xa7, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
0x76, 0x31, 0x42, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x56,
0x31, 0xca, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x42, 0x61,
0x73, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x08, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var E_BytesSize = &proto.ExtensionDesc{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*uint32)(nil),
Field: 50000,
Name: "base.v1.bytes_size",
Tag: "varint,50000,opt,name=bytes_size",
Filename: "base/v1/options.proto",
}
var file_base_v1_options_proto_goTypes = []interface{}{
(*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions
}
var file_base_v1_options_proto_depIdxs = []int32{
0, // 0: base.v1.bytes_size:extendee -> google.protobuf.FieldOptions
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
0, // [0:1] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
func init() {
proto.RegisterExtension(E_BytesSize)
}
func init() { file_base_v1_options_proto_init() }
func file_base_v1_options_proto_init() {
if File_base_v1_options_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_options_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 1,
NumServices: 0,
},
GoTypes: file_base_v1_options_proto_goTypes,
DependencyIndexes: file_base_v1_options_proto_depIdxs,
ExtensionInfos: file_base_v1_options_proto_extTypes,
}.Build()
File_base_v1_options_proto = out.File
file_base_v1_options_proto_rawDesc = nil
file_base_v1_options_proto_goTypes = nil
file_base_v1_options_proto_depIdxs = nil
func init() { proto.RegisterFile("base/v1/options.proto", fileDescriptor_35190a910ebf5bf3) }
var fileDescriptor_35190a910ebf5bf3 = []byte{
// 257 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x4a, 0x2c, 0x4e,
0xd5, 0x2f, 0x33, 0xd4, 0xcf, 0x2f, 0x28, 0xc9, 0xcc, 0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f,
0xc9, 0x17, 0x62, 0x07, 0x09, 0xeb, 0x95, 0x19, 0x4a, 0x29, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4,
0xea, 0x83, 0x85, 0x93, 0x4a, 0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 0x99, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x32, 0x5f, 0x14, 0x34, 0x01, 0x00,
0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/request_response.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type RLPData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *RLPData) Reset() {
*x = RLPData{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_request_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RLPData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RLPData) ProtoMessage() {}
func (x *RLPData) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_request_response_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RLPData.ProtoReflect.Descriptor instead.
func (*RLPData) Descriptor() ([]byte, []int) {
return file_base_v1_request_response_proto_rawDescGZIP(), []int{0}
}
func (x *RLPData) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
type Account struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
Balance []byte `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
StateRoot *Hash `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
}
func (x *Account) Reset() {
*x = Account{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_request_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Account) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Account) ProtoMessage() {}
func (x *Account) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_request_response_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
func (*Account) Descriptor() ([]byte, []int) {
return file_base_v1_request_response_proto_rawDescGZIP(), []int{1}
}
func (x *Account) GetAddress() *Address {
if x != nil {
return x.Address
}
return nil
}
func (x *Account) GetNonce() []byte {
if x != nil {
return x.Nonce
}
return nil
}
func (x *Account) GetBalance() []byte {
if x != nil {
return x.Balance
}
return nil
}
func (x *Account) GetStateRoot() *Hash {
if x != nil {
return x.StateRoot
}
return nil
}
var File_base_v1_request_response_proto protoreflect.FileDescriptor
var file_base_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x1e, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f,
0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x1d, 0x0a, 0x07, 0x52, 0x4c, 0x50, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x22, 0x93, 0x01, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x07,
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52,
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74,
0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x09, 0x73, 0x74, 0x61,
0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x42, 0xaf, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d,
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63,
0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62,
0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03,
0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07,
0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08,
0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_base_v1_request_response_proto_rawDescOnce sync.Once
file_base_v1_request_response_proto_rawDescData = file_base_v1_request_response_proto_rawDesc
)
func file_base_v1_request_response_proto_rawDescGZIP() []byte {
file_base_v1_request_response_proto_rawDescOnce.Do(func() {
file_base_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_v1_request_response_proto_rawDescData)
})
return file_base_v1_request_response_proto_rawDescData
}
var file_base_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_base_v1_request_response_proto_goTypes = []interface{}{
(*RLPData)(nil), // 0: base.v1.RLPData
(*Account)(nil), // 1: base.v1.Account
(*Address)(nil), // 2: base.v1.Address
(*Hash)(nil), // 3: base.v1.Hash
}
var file_base_v1_request_response_proto_depIdxs = []int32{
2, // 0: base.v1.Account.address:type_name -> base.v1.Address
3, // 1: base.v1.Account.state_root:type_name -> base.v1.Hash
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_base_v1_request_response_proto_init() }
func file_base_v1_request_response_proto_init() {
if File_base_v1_request_response_proto != nil {
return
}
file_base_v1_resource_proto_init()
if !protoimpl.UnsafeEnabled {
file_base_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RLPData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Account); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_base_v1_request_response_proto_goTypes,
DependencyIndexes: file_base_v1_request_response_proto_depIdxs,
MessageInfos: file_base_v1_request_response_proto_msgTypes,
}.Build()
File_base_v1_request_response_proto = out.File
file_base_v1_request_response_proto_rawDesc = nil
file_base_v1_request_response_proto_goTypes = nil
file_base_v1_request_response_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/resource.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/anypb"
_ "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Bytes32 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *Bytes32) Reset() {
*x = Bytes32{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Bytes32) String() string {
return protoimpl.X.MessageStringOf(x)
}
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
func (*Bytes32) ProtoMessage() {}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (x *Bytes32) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type Bytes32 struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use Bytes32.ProtoReflect.Descriptor instead.
func (m *Bytes32) Reset() { *m = Bytes32{} }
func (m *Bytes32) String() string { return proto.CompactTextString(m) }
func (*Bytes32) ProtoMessage() {}
func (*Bytes32) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{0}
return fileDescriptor_fc4a30c7a1e70305, []int{0}
}
func (x *Bytes32) GetData() []byte {
if x != nil {
return x.Data
}
return nil
func (m *Bytes32) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Bytes32.Unmarshal(m, b)
}
type BigInt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
func (m *Bytes32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Bytes32.Marshal(b, m, deterministic)
}
func (x *BigInt) Reset() {
*x = BigInt{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *Bytes32) XXX_Merge(src proto.Message) {
xxx_messageInfo_Bytes32.Merge(m, src)
}
func (x *BigInt) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Bytes32) XXX_Size() int {
return xxx_messageInfo_Bytes32.Size(m)
}
func (*BigInt) ProtoMessage() {}
func (x *BigInt) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *Bytes32) XXX_DiscardUnknown() {
xxx_messageInfo_Bytes32.DiscardUnknown(m)
}
// Deprecated: Use BigInt.ProtoReflect.Descriptor instead.
func (*BigInt) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{1}
}
var xxx_messageInfo_Bytes32 proto.InternalMessageInfo
func (x *BigInt) GetData() []byte {
if x != nil {
return x.Data
func (m *Bytes32) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type Hash struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (x *Hash) Reset() {
*x = Hash{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Hash) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Hash) ProtoMessage() {}
func (x *Hash) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type BigInt struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use Hash.ProtoReflect.Descriptor instead.
func (*Hash) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{2}
func (m *BigInt) Reset() { *m = BigInt{} }
func (m *BigInt) String() string { return proto.CompactTextString(m) }
func (*BigInt) ProtoMessage() {}
func (*BigInt) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{1}
}
func (x *Hash) GetHash() []byte {
if x != nil {
return x.Hash
}
return nil
func (m *BigInt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BigInt.Unmarshal(m, b)
}
type Address struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
func (m *BigInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BigInt.Marshal(b, m, deterministic)
}
func (x *Address) Reset() {
*x = Address{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BigInt) XXX_Merge(src proto.Message) {
xxx_messageInfo_BigInt.Merge(m, src)
}
func (x *Address) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BigInt) XXX_Size() int {
return xxx_messageInfo_BigInt.Size(m)
}
func (*Address) ProtoMessage() {}
func (x *Address) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BigInt) XXX_DiscardUnknown() {
xxx_messageInfo_BigInt.DiscardUnknown(m)
}
// Deprecated: Use Address.ProtoReflect.Descriptor instead.
func (*Address) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{3}
}
var xxx_messageInfo_BigInt proto.InternalMessageInfo
func (x *Address) GetAddress() []byte {
if x != nil {
return x.Address
func (m *BigInt) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type EthTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Inner *EthTxData `protobuf:"bytes,1,opt,name=Inner,proto3" json:"Inner,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
}
func (x *EthTx) Reset() {
*x = EthTx{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EthTx) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EthTx) ProtoMessage() {}
func (x *EthTx) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EthTx.ProtoReflect.Descriptor instead.
func (*EthTx) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{4}
}
func (x *EthTx) GetInner() *EthTxData {
if x != nil {
return x.Inner
}
return nil
type Hash struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *EthTx) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
}
return nil
func (m *Hash) Reset() { *m = Hash{} }
func (m *Hash) String() string { return proto.CompactTextString(m) }
func (*Hash) ProtoMessage() {}
func (*Hash) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{2}
}
type EthTxData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountNonce uint64 `protobuf:"varint,1,opt,name=account_nonce,json=accountNonce,proto3" json:"account_nonce,omitempty"`
Price []byte `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
Recipient *Address `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"`
R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"`
S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"`
// This is only used when marshaling to JSON.
Hash *Hash `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty"`
From []byte `protobuf:"bytes,11,opt,name=from,proto3" json:"from,omitempty"`
func (m *Hash) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Hash.Unmarshal(m, b)
}
func (x *EthTxData) Reset() {
*x = EthTxData{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Hash.Marshal(b, m, deterministic)
}
func (x *EthTxData) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Hash) XXX_Merge(src proto.Message) {
xxx_messageInfo_Hash.Merge(m, src)
}
func (*EthTxData) ProtoMessage() {}
func (x *EthTxData) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *Hash) XXX_Size() int {
return xxx_messageInfo_Hash.Size(m)
}
// Deprecated: Use EthTxData.ProtoReflect.Descriptor instead.
func (*EthTxData) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{5}
func (m *Hash) XXX_DiscardUnknown() {
xxx_messageInfo_Hash.DiscardUnknown(m)
}
func (x *EthTxData) GetAccountNonce() uint64 {
if x != nil {
return x.AccountNonce
}
return 0
}
var xxx_messageInfo_Hash proto.InternalMessageInfo
func (x *EthTxData) GetPrice() []byte {
if x != nil {
return x.Price
func (m *Hash) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (x *EthTxData) GetGasLimit() uint64 {
if x != nil {
return x.GasLimit
}
return 0
type Address struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *EthTxData) GetRecipient() *Address {
if x != nil {
return x.Recipient
}
return nil
func (m *Address) Reset() { *m = Address{} }
func (m *Address) String() string { return proto.CompactTextString(m) }
func (*Address) ProtoMessage() {}
func (*Address) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{3}
}
func (x *EthTxData) GetAmount() []byte {
if x != nil {
return x.Amount
}
return nil
func (m *Address) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Address.Unmarshal(m, b)
}
func (x *EthTxData) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Address.Marshal(b, m, deterministic)
}
func (x *EthTxData) GetV() []byte {
if x != nil {
return x.V
}
return nil
func (m *Address) XXX_Merge(src proto.Message) {
xxx_messageInfo_Address.Merge(m, src)
}
func (x *EthTxData) GetR() []byte {
if x != nil {
return x.R
}
return nil
func (m *Address) XXX_Size() int {
return xxx_messageInfo_Address.Size(m)
}
func (x *EthTxData) GetS() []byte {
if x != nil {
return x.S
}
return nil
func (m *Address) XXX_DiscardUnknown() {
xxx_messageInfo_Address.DiscardUnknown(m)
}
func (x *EthTxData) GetHash() *Hash {
if x != nil {
return x.Hash
}
return nil
}
var xxx_messageInfo_Address proto.InternalMessageInfo
func (x *EthTxData) GetFrom() []byte {
if x != nil {
return x.From
func (m *Address) GetAddress() []byte {
if m != nil {
return m.Address
}
return nil
}
type StdTxData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountNonce uint64 `protobuf:"varint,1,opt,name=account_nonce,json=accountNonce,proto3" json:"account_nonce,omitempty"`
Price []byte `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
Recipient *Address `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"`
R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"`
S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"`
// This is only used when marshaling to JSON.
Hash *Hash `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty"`
From []byte `protobuf:"bytes,11,opt,name=from,proto3" json:"from,omitempty"`
type RLPData struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *StdTxData) Reset() {
*x = StdTxData{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *RLPData) Reset() { *m = RLPData{} }
func (m *RLPData) String() string { return proto.CompactTextString(m) }
func (*RLPData) ProtoMessage() {}
func (*RLPData) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{4}
}
func (x *StdTxData) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *RLPData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RLPData.Unmarshal(m, b)
}
func (*StdTxData) ProtoMessage() {}
func (x *StdTxData) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *RLPData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RLPData.Marshal(b, m, deterministic)
}
// Deprecated: Use StdTxData.ProtoReflect.Descriptor instead.
func (*StdTxData) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{6}
func (m *RLPData) XXX_Merge(src proto.Message) {
xxx_messageInfo_RLPData.Merge(m, src)
}
func (x *StdTxData) GetAccountNonce() uint64 {
if x != nil {
return x.AccountNonce
}
return 0
func (m *RLPData) XXX_Size() int {
return xxx_messageInfo_RLPData.Size(m)
}
func (x *StdTxData) GetPrice() []byte {
if x != nil {
return x.Price
}
return nil
func (m *RLPData) XXX_DiscardUnknown() {
xxx_messageInfo_RLPData.DiscardUnknown(m)
}
func (x *StdTxData) GetGasLimit() uint64 {
if x != nil {
return x.GasLimit
}
return 0
}
var xxx_messageInfo_RLPData proto.InternalMessageInfo
func (x *StdTxData) GetRecipient() *Address {
if x != nil {
return x.Recipient
func (m *RLPData) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (x *StdTxData) GetAmount() []byte {
if x != nil {
return x.Amount
}
return nil
type Account struct {
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
Balance []byte `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
StateRoot *Hash `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *StdTxData) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
func (m *Account) Reset() { *m = Account{} }
func (m *Account) String() string { return proto.CompactTextString(m) }
func (*Account) ProtoMessage() {}
func (*Account) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{5}
}
func (x *StdTxData) GetV() []byte {
if x != nil {
return x.V
}
return nil
func (m *Account) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Account.Unmarshal(m, b)
}
func (x *StdTxData) GetR() []byte {
if x != nil {
return x.R
}
return nil
func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Account.Marshal(b, m, deterministic)
}
func (x *StdTxData) GetS() []byte {
if x != nil {
return x.S
}
return nil
func (m *Account) XXX_Merge(src proto.Message) {
xxx_messageInfo_Account.Merge(m, src)
}
func (x *StdTxData) GetHash() *Hash {
if x != nil {
return x.Hash
}
return nil
func (m *Account) XXX_Size() int {
return xxx_messageInfo_Account.Size(m)
}
func (x *StdTxData) GetFrom() []byte {
if x != nil {
return x.From
}
return nil
}
type StdTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Inner *StdTxData `protobuf:"bytes,1,opt,name=Inner,proto3" json:"Inner,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
}
func (x *StdTx) Reset() {
*x = StdTx{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StdTx) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Account) XXX_DiscardUnknown() {
xxx_messageInfo_Account.DiscardUnknown(m)
}
func (*StdTx) ProtoMessage() {}
var xxx_messageInfo_Account proto.InternalMessageInfo
func (x *StdTx) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StdTx.ProtoReflect.Descriptor instead.
func (*StdTx) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{7}
}
func (x *StdTx) GetInner() *StdTxData {
if x != nil {
return x.Inner
func (m *Account) GetAddress() *Address {
if m != nil {
return m.Address
}
return nil
}
func (x *StdTx) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
func (m *Account) GetNonce() []byte {
if m != nil {
return m.Nonce
}
return nil
}
type TxProof struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Rset []byte `protobuf:"bytes,1,opt,name=rset,proto3" json:"rset,omitempty"`
Wset []byte `protobuf:"bytes,2,opt,name=wset,proto3" json:"wset,omitempty"`
Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
StateBlockNum int64 `protobuf:"varint,4,opt,name=state_block_num,json=stateBlockNum,proto3" json:"state_block_num,omitempty"`
}
func (x *TxProof) Reset() {
*x = TxProof{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TxProof) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TxProof) ProtoMessage() {}
func (x *TxProof) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TxProof.ProtoReflect.Descriptor instead.
func (*TxProof) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{8}
}
func (x *TxProof) GetRset() []byte {
if x != nil {
return x.Rset
func (m *Account) GetBalance() []byte {
if m != nil {
return m.Balance
}
return nil
}
func (x *TxProof) GetWset() []byte {
if x != nil {
return x.Wset
func (m *Account) GetStateRoot() *Hash {
if m != nil {
return m.StateRoot
}
return nil
}
func (x *TxProof) GetProof() []byte {
if x != nil {
return x.Proof
}
return nil
type Bloom struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *TxProof) GetStateBlockNum() int64 {
if x != nil {
return x.StateBlockNum
}
return 0
func (m *Bloom) Reset() { *m = Bloom{} }
func (m *Bloom) String() string { return proto.CompactTextString(m) }
func (*Bloom) ProtoMessage() {}
func (*Bloom) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{6}
}
// 1. any eth--> proto3 eth tx --> grpc --->proto3 eth tx --> eth
type Transaction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxProof *TxProof `protobuf:"bytes,1,opt,name=tx_proof,json=txProof,proto3" json:"tx_proof,omitempty"`
TimeoutBlockNum int64 `protobuf:"varint,2,opt,name=timeout_block_num,json=timeoutBlockNum,proto3" json:"timeout_block_num,omitempty"`
Tx *anypb.Any `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // EthTx StdTx
func (m *Bloom) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Bloom.Unmarshal(m, b)
}
func (x *Transaction) Reset() {
*x = Transaction{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Transaction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Transaction) ProtoMessage() {}
func (x *Transaction) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{9}
}
func (x *Transaction) GetTxProof() *TxProof {
if x != nil {
return x.TxProof
}
return nil
}
func (x *Transaction) GetTimeoutBlockNum() int64 {
if x != nil {
return x.TimeoutBlockNum
}
return 0
}
func (x *Transaction) GetTx() *anypb.Any {
if x != nil {
return x.Tx
}
return nil
func (m *Bloom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Bloom.Marshal(b, m, deterministic)
}
type TransactionEth struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxProof *TxProof `protobuf:"bytes,1,opt,name=tx_proof,json=txProof,proto3" json:"tx_proof,omitempty"`
TimeoutBlockNum int64 `protobuf:"varint,2,opt,name=timeout_block_num,json=timeoutBlockNum,proto3" json:"timeout_block_num,omitempty"`
Tx *EthTx `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
func (m *Bloom) XXX_Merge(src proto.Message) {
xxx_messageInfo_Bloom.Merge(m, src)
}
func (x *TransactionEth) Reset() {
*x = TransactionEth{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransactionEth) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Bloom) XXX_Size() int {
return xxx_messageInfo_Bloom.Size(m)
}
func (*TransactionEth) ProtoMessage() {}
func (x *TransactionEth) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransactionEth.ProtoReflect.Descriptor instead.
func (*TransactionEth) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{10}
}
func (x *TransactionEth) GetTxProof() *TxProof {
if x != nil {
return x.TxProof
}
return nil
func (m *Bloom) XXX_DiscardUnknown() {
xxx_messageInfo_Bloom.DiscardUnknown(m)
}
func (x *TransactionEth) GetTimeoutBlockNum() int64 {
if x != nil {
return x.TimeoutBlockNum
}
return 0
}
var xxx_messageInfo_Bloom proto.InternalMessageInfo
func (x *TransactionEth) GetTx() *EthTx {
if x != nil {
return x.Tx
func (m *Bloom) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type RepeatedEthTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txs []*TransactionEth `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
type AccessTuple struct {
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
StorageKeys []*Hash `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *RepeatedEthTx) Reset() {
*x = RepeatedEthTx{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *AccessTuple) Reset() { *m = AccessTuple{} }
func (m *AccessTuple) String() string { return proto.CompactTextString(m) }
func (*AccessTuple) ProtoMessage() {}
func (*AccessTuple) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{7}
}
func (x *RepeatedEthTx) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *AccessTuple) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccessTuple.Unmarshal(m, b)
}
func (*RepeatedEthTx) ProtoMessage() {}
func (x *RepeatedEthTx) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccessTuple.Marshal(b, m, deterministic)
}
// Deprecated: Use RepeatedEthTx.ProtoReflect.Descriptor instead.
func (*RepeatedEthTx) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{11}
func (m *AccessTuple) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccessTuple.Merge(m, src)
}
func (x *RepeatedEthTx) GetTxs() []*TransactionEth {
if x != nil {
return x.Txs
}
return nil
func (m *AccessTuple) XXX_Size() int {
return xxx_messageInfo_AccessTuple.Size(m)
}
type TransactionStd struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxProof *TxProof `protobuf:"bytes,1,opt,name=tx_proof,json=txProof,proto3" json:"tx_proof,omitempty"`
TimeoutBlockNum int64 `protobuf:"varint,2,opt,name=timeout_block_num,json=timeoutBlockNum,proto3" json:"timeout_block_num,omitempty"`
Tx *StdTx `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
func (m *AccessTuple) XXX_DiscardUnknown() {
xxx_messageInfo_AccessTuple.DiscardUnknown(m)
}
func (x *TransactionStd) Reset() {
*x = TransactionStd{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
var xxx_messageInfo_AccessTuple proto.InternalMessageInfo
func (x *TransactionStd) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransactionStd) ProtoMessage() {}
func (x *TransactionStd) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransactionStd.ProtoReflect.Descriptor instead.
func (*TransactionStd) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{12}
}
func (x *TransactionStd) GetTxProof() *TxProof {
if x != nil {
return x.TxProof
func (m *AccessTuple) GetAddress() *Address {
if m != nil {
return m.Address
}
return nil
}
func (x *TransactionStd) GetTimeoutBlockNum() int64 {
if x != nil {
return x.TimeoutBlockNum
}
return 0
}
func (x *TransactionStd) GetTx() *StdTx {
if x != nil {
return x.Tx
func (m *AccessTuple) GetStorageKeys() []*Hash {
if m != nil {
return m.StorageKeys
}
return nil
}
type RepeatedStdTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txs []*TransactionStd `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
type AccessList struct {
AccessList []*AccessTuple `protobuf:"bytes,1,rep,name=access_list,json=accessList,proto3" json:"access_list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *RepeatedStdTx) Reset() {
*x = RepeatedStdTx{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *AccessList) Reset() { *m = AccessList{} }
func (m *AccessList) String() string { return proto.CompactTextString(m) }
func (*AccessList) ProtoMessage() {}
func (*AccessList) Descriptor() ([]byte, []int) {
return fileDescriptor_fc4a30c7a1e70305, []int{8}
}
func (x *RepeatedStdTx) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *AccessList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccessList.Unmarshal(m, b)
}
func (*RepeatedStdTx) ProtoMessage() {}
func (x *RepeatedStdTx) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *AccessList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccessList.Marshal(b, m, deterministic)
}
// Deprecated: Use RepeatedStdTx.ProtoReflect.Descriptor instead.
func (*RepeatedStdTx) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{13}
func (m *AccessList) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccessList.Merge(m, src)
}
func (x *RepeatedStdTx) GetTxs() []*TransactionStd {
if x != nil {
return x.Txs
}
return nil
}
// 3. bytes
type TransactionBytes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxProof *TxProof `protobuf:"bytes,1,opt,name=tx_proof,json=txProof,proto3" json:"tx_proof,omitempty"`
TimeoutBlockNum int64 `protobuf:"varint,2,opt,name=timeout_block_num,json=timeoutBlockNum,proto3" json:"timeout_block_num,omitempty"`
Tx []byte `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // EthTx StdTx // proto3 定义的交易,没有对应的函数转bytes。
From []byte `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
}
func (x *TransactionBytes) Reset() {
*x = TransactionBytes{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransactionBytes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransactionBytes) ProtoMessage() {}
func (x *TransactionBytes) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_resource_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransactionBytes.ProtoReflect.Descriptor instead.
func (*TransactionBytes) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{14}
func (m *AccessList) XXX_Size() int {
return xxx_messageInfo_AccessList.Size(m)
}
func (x *TransactionBytes) GetTxProof() *TxProof {
if x != nil {
return x.TxProof
}
return nil
func (m *AccessList) XXX_DiscardUnknown() {
xxx_messageInfo_AccessList.DiscardUnknown(m)
}
func (x *TransactionBytes) GetTimeoutBlockNum() int64 {
if x != nil {
return x.TimeoutBlockNum
}
return 0
}
var xxx_messageInfo_AccessList proto.InternalMessageInfo
func (x *TransactionBytes) GetTx() []byte {
if x != nil {
return x.Tx
func (m *AccessList) GetAccessList() []*AccessTuple {
if m != nil {
return m.AccessList
}
return nil
}
func (x *TransactionBytes) GetFrom() []byte {
if x != nil {
return x.From
}
return nil
func init() {
proto.RegisterType((*Bytes32)(nil), "base.v1.Bytes32")
proto.RegisterType((*BigInt)(nil), "base.v1.BigInt")
proto.RegisterType((*Hash)(nil), "base.v1.Hash")
proto.RegisterType((*Address)(nil), "base.v1.Address")
proto.RegisterType((*RLPData)(nil), "base.v1.RLPData")
proto.RegisterType((*Account)(nil), "base.v1.Account")
proto.RegisterType((*Bloom)(nil), "base.v1.Bloom")
proto.RegisterType((*AccessTuple)(nil), "base.v1.AccessTuple")
proto.RegisterType((*AccessList)(nil), "base.v1.AccessList")
}
var File_base_v1_resource_proto protoreflect.FileDescriptor
var file_base_v1_resource_proto_rawDesc = []byte{
0x0a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a,
0x07, 0x42, 0x79, 0x74, 0x65, 0x73, 0x33, 0x32, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a, 0x06,
0x42, 0x69, 0x67, 0x49, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1a, 0x0a, 0x04, 0x48, 0x61,
0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x23, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x61, 0x0a, 0x05, 0x45,
0x74, 0x68, 0x54, 0x78, 0x12, 0x28, 0x0a, 0x05, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74,
0x68, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x2e,
0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa6,
0x02, 0x0a, 0x09, 0x45, 0x74, 0x68, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x6e, 0x63,
0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x6c,
0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x67, 0x61, 0x73, 0x4c,
0x69, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e,
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70,
0x69, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07,
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70,
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x07, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x01, 0x76, 0x12, 0x0c, 0x0a, 0x01, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x01, 0x72, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x73,
0x12, 0x21, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x68,
0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0xa6, 0x02, 0x0a, 0x09, 0x53, 0x74, 0x64, 0x54,
0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72,
0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x04, 0x52, 0x08, 0x67, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x0a,
0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65,
0x73, 0x73, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a,
0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61,
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,
0x0c, 0x0a, 0x01, 0x76, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x76, 0x12, 0x0c, 0x0a,
0x01, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x72, 0x12, 0x0c, 0x0a, 0x01, 0x73,
0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x68, 0x61, 0x73,
0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04,
0x66, 0x72, 0x6f, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d,
0x22, 0x61, 0x0a, 0x05, 0x53, 0x74, 0x64, 0x54, 0x78, 0x12, 0x28, 0x0a, 0x05, 0x49, 0x6e, 0x6e,
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x53, 0x74, 0x64, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x49, 0x6e,
0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74,
0x69, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x12,
0x0a, 0x04, 0x72, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x72, 0x73,
0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x04, 0x77, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18,
0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x26, 0x0a, 0x0f,
0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18,
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x07, 0x74, 0x78, 0x50, 0x72, 0x6f, 0x6f,
0x66, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x6f,
0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x69,
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a,
0x02, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52,
0x02, 0x74, 0x78, 0x22, 0x89, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x45, 0x74, 0x68, 0x12, 0x2b, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x70, 0x72, 0x6f,
0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x07, 0x74, 0x78, 0x50, 0x72,
0x6f, 0x6f, 0x66, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x62,
0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f,
0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12,
0x1e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x61,
0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x78, 0x52, 0x02, 0x74, 0x78, 0x22,
0x3a, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x74, 0x68, 0x54, 0x78,
0x12, 0x29, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x45, 0x74, 0x68, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x0e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x64, 0x12, 0x2b,
0x0a, 0x08, 0x74, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x78, 0x50, 0x72, 0x6f,
0x6f, 0x66, 0x52, 0x07, 0x74, 0x78, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2a, 0x0a, 0x11, 0x74,
0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74,
0x64, 0x54, 0x78, 0x52, 0x02, 0x74, 0x78, 0x22, 0x3a, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x65, 0x61,
0x74, 0x65, 0x64, 0x53, 0x74, 0x64, 0x54, 0x78, 0x12, 0x29, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x64, 0x52, 0x03,
0x74, 0x78, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x70,
0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x07, 0x74, 0x78,
0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75,
0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74,
0x78, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x04, 0x66, 0x72, 0x6f, 0x6d, 0x42, 0xa8, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61,
0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76,
0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74,
0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62,
0x61, 0x73, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61,
0x73, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2,
0x02, 0x13, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
func init() { proto.RegisterFile("base/v1/resource.proto", fileDescriptor_fc4a30c7a1e70305) }
var (
file_base_v1_resource_proto_rawDescOnce sync.Once
file_base_v1_resource_proto_rawDescData = file_base_v1_resource_proto_rawDesc
)
func file_base_v1_resource_proto_rawDescGZIP() []byte {
file_base_v1_resource_proto_rawDescOnce.Do(func() {
file_base_v1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_v1_resource_proto_rawDescData)
})
return file_base_v1_resource_proto_rawDescData
}
var file_base_v1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_base_v1_resource_proto_goTypes = []interface{}{
(*Bytes32)(nil), // 0: base.v1.Bytes32
(*BigInt)(nil), // 1: base.v1.BigInt
(*Hash)(nil), // 2: base.v1.Hash
(*Address)(nil), // 3: base.v1.Address
(*EthTx)(nil), // 4: base.v1.EthTx
(*EthTxData)(nil), // 5: base.v1.EthTxData
(*StdTxData)(nil), // 6: base.v1.StdTxData
(*StdTx)(nil), // 7: base.v1.StdTx
(*TxProof)(nil), // 8: base.v1.TxProof
(*Transaction)(nil), // 9: base.v1.Transaction
(*TransactionEth)(nil), // 10: base.v1.TransactionEth
(*RepeatedEthTx)(nil), // 11: base.v1.RepeatedEthTx
(*TransactionStd)(nil), // 12: base.v1.TransactionStd
(*RepeatedStdTx)(nil), // 13: base.v1.RepeatedStdTx
(*TransactionBytes)(nil), // 14: base.v1.TransactionBytes
(*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp
(*anypb.Any)(nil), // 16: google.protobuf.Any
}
var file_base_v1_resource_proto_depIdxs = []int32{
5, // 0: base.v1.EthTx.Inner:type_name -> base.v1.EthTxData
15, // 1: base.v1.EthTx.time:type_name -> google.protobuf.Timestamp
3, // 2: base.v1.EthTxData.recipient:type_name -> base.v1.Address
2, // 3: base.v1.EthTxData.hash:type_name -> base.v1.Hash
3, // 4: base.v1.StdTxData.recipient:type_name -> base.v1.Address
2, // 5: base.v1.StdTxData.hash:type_name -> base.v1.Hash
6, // 6: base.v1.StdTx.Inner:type_name -> base.v1.StdTxData
15, // 7: base.v1.StdTx.time:type_name -> google.protobuf.Timestamp
8, // 8: base.v1.Transaction.tx_proof:type_name -> base.v1.TxProof
16, // 9: base.v1.Transaction.tx:type_name -> google.protobuf.Any
8, // 10: base.v1.TransactionEth.tx_proof:type_name -> base.v1.TxProof
4, // 11: base.v1.TransactionEth.tx:type_name -> base.v1.EthTx
10, // 12: base.v1.RepeatedEthTx.txs:type_name -> base.v1.TransactionEth
8, // 13: base.v1.TransactionStd.tx_proof:type_name -> base.v1.TxProof
7, // 14: base.v1.TransactionStd.tx:type_name -> base.v1.StdTx
12, // 15: base.v1.RepeatedStdTx.txs:type_name -> base.v1.TransactionStd
8, // 16: base.v1.TransactionBytes.tx_proof:type_name -> base.v1.TxProof
17, // [17:17] is the sub-list for method output_type
17, // [17:17] is the sub-list for method input_type
17, // [17:17] is the sub-list for extension type_name
17, // [17:17] is the sub-list for extension extendee
0, // [0:17] is the sub-list for field type_name
}
func init() { file_base_v1_resource_proto_init() }
func file_base_v1_resource_proto_init() {
if File_base_v1_resource_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_base_v1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Bytes32); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BigInt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Hash); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Address); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EthTx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EthTxData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StdTxData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StdTx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TxProof); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Transaction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransactionEth); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RepeatedEthTx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransactionStd); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RepeatedStdTx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_resource_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransactionBytes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 15,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_base_v1_resource_proto_goTypes,
DependencyIndexes: file_base_v1_resource_proto_depIdxs,
MessageInfos: file_base_v1_resource_proto_msgTypes,
}.Build()
File_base_v1_resource_proto = out.File
file_base_v1_resource_proto_rawDesc = nil
file_base_v1_resource_proto_goTypes = nil
file_base_v1_resource_proto_depIdxs = nil
var fileDescriptor_fc4a30c7a1e70305 = []byte{
// 457 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xd1, 0x6a, 0xd4, 0x5c,
0x10, 0x26, 0xd9, 0x6d, 0xf3, 0xff, 0x93, 0x16, 0x24, 0x16, 0x89, 0xab, 0x62, 0x89, 0x37, 0x22,
0x92, 0x98, 0x16, 0x6f, 0xea, 0xd5, 0xa6, 0x82, 0x8a, 0x2d, 0x2c, 0x41, 0x96, 0x22, 0x85, 0x65,
0x72, 0x76, 0xcc, 0x86, 0x26, 0x39, 0x4b, 0xce, 0x64, 0x61, 0x9f, 0xc3, 0x37, 0xf0, 0x4a, 0x7c,
0x14, 0x1f, 0xc3, 0x4b, 0x9f, 0x42, 0x4e, 0x4e, 0x76, 0x8b, 0xba, 0x37, 0x5e, 0x65, 0xbe, 0x99,
0xef, 0x7c, 0xdf, 0x37, 0x61, 0xe0, 0x5e, 0x86, 0x8a, 0xa2, 0x55, 0x1c, 0x35, 0xa4, 0x64, 0xdb,
0x08, 0x0a, 0x97, 0x8d, 0x64, 0xe9, 0x39, 0xba, 0x1f, 0xae, 0xe2, 0xd1, 0xe3, 0x5c, 0xca, 0xbc,
0xa4, 0xa8, 0x6b, 0x67, 0xed, 0xa7, 0x88, 0x8b, 0x8a, 0x14, 0x63, 0xb5, 0x34, 0xcc, 0xd1, 0xfd,
0x3f, 0x09, 0x58, 0xaf, 0xcd, 0x28, 0x78, 0x04, 0x4e, 0xb2, 0x66, 0x52, 0xa7, 0x27, 0x9e, 0x07,
0xc3, 0x39, 0x32,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 0xfc, 0xe8, 0xd6, 0xef, 0x36,
0x56, 0x0a, 0xb8, 0x7d, 0x96, 0x7c, 0xb5, 0xc0, 0x15, 0xb2, 0xda, 0xf0, 0x92, 0xc3, 0xb4, 0x3f,
0xb3, 0x89, 0x3e, 0x90, 0x89, 0xf5, 0xf1, 0x32, 0x2f, 0x78, 0xd1, 0x66, 0xa1, 0x90, 0x55, 0x74,
0x8e, 0xf3, 0x56, 0x50, 0xab, 0x2e, 0x89, 0x71, 0x45, 0x8d, 0x32, 0x24, 0x21, 0xcb, 0xa8, 0x22,
0xc6, 0xe5, 0x06, 0xe4, 0x54, 0x9b, 0x63, 0x8b, 0x72, 0x19, 0xf5, 0xe7, 0xfb, 0x4a, 0x7f, 0x57,
0xf1, 0x17, 0x7b, 0x90, 0x5c, 0x5d, 0x7d, 0xb3, 0x9d, 0x44, 0xfb, 0x4d, 0xe3, 0xef, 0xa6, 0xba,
0x9e, 0xc6, 0x3f, 0xec, 0xbb, 0x7d, 0x75, 0xfd, 0x66, 0x92, 0x68, 0x07, 0xfd, 0x47, 0x7f, 0xda,
0xff, 0xe9, 0xee, 0xd9, 0xd9, 0x34, 0xce, 0xf6, 0x3b, 0xcd, 0xd3, 0x5f, 0x01, 0x00, 0x00, 0xff,
0xff, 0x22, 0x69, 0x47, 0x7a, 0x12, 0x03, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: crypter/v1/request_response.proto
package crypterv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type BatchSignRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
Privk [][]byte `protobuf:"bytes,1,rep,name=privk,proto3" json:"privk,omitempty"`
Data [][]byte `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
CryptType CryptType `protobuf:"varint,3,opt,name=crypt_type,json=cryptType,proto3,enum=crypter.v1.CryptType" json:"crypt_type,omitempty"`
type BatchSignRequest struct {
Privk [][]byte `protobuf:"bytes,1,rep,name=privk,proto3" json:"privk,omitempty"`
Data [][]byte `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
CryptType CryptType `protobuf:"varint,3,opt,name=crypt_type,json=cryptType,proto3,enum=crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchSignRequest) Reset() {
*x = BatchSignRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchSignRequest) Reset() { *m = BatchSignRequest{} }
func (m *BatchSignRequest) String() string { return proto.CompactTextString(m) }
func (*BatchSignRequest) ProtoMessage() {}
func (*BatchSignRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{0}
}
func (x *BatchSignRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchSignRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSignRequest.Unmarshal(m, b)
}
func (*BatchSignRequest) ProtoMessage() {}
func (x *BatchSignRequest) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchSignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSignRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchSignRequest.ProtoReflect.Descriptor instead.
func (*BatchSignRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{0}
func (m *BatchSignRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSignRequest.Merge(m, src)
}
func (m *BatchSignRequest) XXX_Size() int {
return xxx_messageInfo_BatchSignRequest.Size(m)
}
func (m *BatchSignRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSignRequest.DiscardUnknown(m)
}
func (x *BatchSignRequest) GetPrivk() [][]byte {
if x != nil {
return x.Privk
var xxx_messageInfo_BatchSignRequest proto.InternalMessageInfo
func (m *BatchSignRequest) GetPrivk() [][]byte {
if m != nil {
return m.Privk
}
return nil
}
func (x *BatchSignRequest) GetData() [][]byte {
if x != nil {
return x.Data
func (m *BatchSignRequest) GetData() [][]byte {
if m != nil {
return m.Data
}
return nil
}
func (x *BatchSignRequest) GetCryptType() CryptType {
if x != nil {
return x.CryptType
func (m *BatchSignRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type BatchSignResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Signature [][]byte `protobuf:"bytes,1,rep,name=signature,proto3" json:"signature,omitempty"`
Signature [][]byte `protobuf:"bytes,1,rep,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchSignResponse) Reset() {
*x = BatchSignResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchSignResponse) Reset() { *m = BatchSignResponse{} }
func (m *BatchSignResponse) String() string { return proto.CompactTextString(m) }
func (*BatchSignResponse) ProtoMessage() {}
func (*BatchSignResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{1}
}
func (x *BatchSignResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchSignResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSignResponse.Unmarshal(m, b)
}
func (*BatchSignResponse) ProtoMessage() {}
func (x *BatchSignResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchSignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSignResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchSignResponse.ProtoReflect.Descriptor instead.
func (*BatchSignResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{1}
func (m *BatchSignResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSignResponse.Merge(m, src)
}
func (m *BatchSignResponse) XXX_Size() int {
return xxx_messageInfo_BatchSignResponse.Size(m)
}
func (m *BatchSignResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSignResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchSignResponse proto.InternalMessageInfo
func (x *BatchSignResponse) GetSignature() [][]byte {
if x != nil {
return x.Signature
func (m *BatchSignResponse) GetSignature() [][]byte {
if m != nil {
return m.Signature
}
return nil
}
type BatchVerifyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pubkey [][]byte `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,3,opt,name=crypt_type,json=cryptType,proto3,enum=crypter.v1.CryptType" json:"crypt_type,omitempty"`
Pubkey [][]byte `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,3,opt,name=crypt_type,json=cryptType,proto3,enum=crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchVerifyRequest) Reset() {
*x = BatchVerifyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchVerifyRequest) Reset() { *m = BatchVerifyRequest{} }
func (m *BatchVerifyRequest) String() string { return proto.CompactTextString(m) }
func (*BatchVerifyRequest) ProtoMessage() {}
func (*BatchVerifyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{2}
}
func (x *BatchVerifyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchVerifyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchVerifyRequest.Unmarshal(m, b)
}
func (*BatchVerifyRequest) ProtoMessage() {}
func (x *BatchVerifyRequest) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchVerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchVerifyRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchVerifyRequest.ProtoReflect.Descriptor instead.
func (*BatchVerifyRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{2}
func (m *BatchVerifyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchVerifyRequest.Merge(m, src)
}
func (m *BatchVerifyRequest) XXX_Size() int {
return xxx_messageInfo_BatchVerifyRequest.Size(m)
}
func (m *BatchVerifyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchVerifyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchVerifyRequest proto.InternalMessageInfo
func (x *BatchVerifyRequest) GetPubkey() [][]byte {
if x != nil {
return x.Pubkey
func (m *BatchVerifyRequest) GetPubkey() [][]byte {
if m != nil {
return m.Pubkey
}
return nil
}
func (x *BatchVerifyRequest) GetSignature() [][]byte {
if x != nil {
return x.Signature
func (m *BatchVerifyRequest) GetSignature() [][]byte {
if m != nil {
return m.Signature
}
return nil
}
func (x *BatchVerifyRequest) GetCryptType() CryptType {
if x != nil {
return x.CryptType
func (m *BatchVerifyRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type BatchVerifyResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Verified []bool `protobuf:"varint,1,rep,packed,name=verified,proto3" json:"verified,omitempty"`
Verified []bool `protobuf:"varint,1,rep,packed,name=verified,proto3" json:"verified,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchVerifyResponse) Reset() {
*x = BatchVerifyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchVerifyResponse) Reset() { *m = BatchVerifyResponse{} }
func (m *BatchVerifyResponse) String() string { return proto.CompactTextString(m) }
func (*BatchVerifyResponse) ProtoMessage() {}
func (*BatchVerifyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{3}
}
func (x *BatchVerifyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchVerifyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchVerifyResponse.Unmarshal(m, b)
}
func (*BatchVerifyResponse) ProtoMessage() {}
func (x *BatchVerifyResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchVerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchVerifyResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchVerifyResponse.ProtoReflect.Descriptor instead.
func (*BatchVerifyResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{3}
func (m *BatchVerifyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchVerifyResponse.Merge(m, src)
}
func (m *BatchVerifyResponse) XXX_Size() int {
return xxx_messageInfo_BatchVerifyResponse.Size(m)
}
func (m *BatchVerifyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchVerifyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchVerifyResponse proto.InternalMessageInfo
func (x *BatchVerifyResponse) GetVerified() []bool {
if x != nil {
return x.Verified
func (m *BatchVerifyResponse) GetVerified() []bool {
if m != nil {
return m.Verified
}
return nil
}
type BatchRecoverRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,3,opt,name=crypt_type,json=cryptType,proto3,enum=crypter.v1.CryptType" json:"crypt_type,omitempty"`
Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,3,opt,name=crypt_type,json=cryptType,proto3,enum=crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchRecoverRequest) Reset() {
*x = BatchRecoverRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchRecoverRequest) Reset() { *m = BatchRecoverRequest{} }
func (m *BatchRecoverRequest) String() string { return proto.CompactTextString(m) }
func (*BatchRecoverRequest) ProtoMessage() {}
func (*BatchRecoverRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{4}
}
func (x *BatchRecoverRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchRecoverRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRecoverRequest.Unmarshal(m, b)
}
func (*BatchRecoverRequest) ProtoMessage() {}
func (x *BatchRecoverRequest) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchRecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRecoverRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchRecoverRequest.ProtoReflect.Descriptor instead.
func (*BatchRecoverRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{4}
func (m *BatchRecoverRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRecoverRequest.Merge(m, src)
}
func (m *BatchRecoverRequest) XXX_Size() int {
return xxx_messageInfo_BatchRecoverRequest.Size(m)
}
func (m *BatchRecoverRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRecoverRequest.DiscardUnknown(m)
}
func (x *BatchRecoverRequest) GetData() [][]byte {
if x != nil {
return x.Data
var xxx_messageInfo_BatchRecoverRequest proto.InternalMessageInfo
func (m *BatchRecoverRequest) GetData() [][]byte {
if m != nil {
return m.Data
}
return nil
}
func (x *BatchRecoverRequest) GetSignature() [][]byte {
if x != nil {
return x.Signature
func (m *BatchRecoverRequest) GetSignature() [][]byte {
if m != nil {
return m.Signature
}
return nil
}
func (x *BatchRecoverRequest) GetCryptType() CryptType {
if x != nil {
return x.CryptType
func (m *BatchRecoverRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type BatchRecoverResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pubkey [][]byte `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
Pubkey [][]byte `protobuf:"bytes,1,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchRecoverResponse) Reset() {
*x = BatchRecoverResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchRecoverResponse) Reset() { *m = BatchRecoverResponse{} }
func (m *BatchRecoverResponse) String() string { return proto.CompactTextString(m) }
func (*BatchRecoverResponse) ProtoMessage() {}
func (*BatchRecoverResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{5}
}
func (x *BatchRecoverResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchRecoverResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRecoverResponse.Unmarshal(m, b)
}
func (*BatchRecoverResponse) ProtoMessage() {}
func (x *BatchRecoverResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchRecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRecoverResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchRecoverResponse.ProtoReflect.Descriptor instead.
func (*BatchRecoverResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{5}
func (m *BatchRecoverResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRecoverResponse.Merge(m, src)
}
func (m *BatchRecoverResponse) XXX_Size() int {
return xxx_messageInfo_BatchRecoverResponse.Size(m)
}
func (m *BatchRecoverResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRecoverResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRecoverResponse proto.InternalMessageInfo
func (x *BatchRecoverResponse) GetPubkey() [][]byte {
if x != nil {
return x.Pubkey
func (m *BatchRecoverResponse) GetPubkey() [][]byte {
if m != nil {
return m.Pubkey
}
return nil
}
type BatchRecoverTxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RawTx []*EthTx `protobuf:"bytes,1,rep,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
RawTx []*v1.MetaTxBase `protobuf:"bytes,1,rep,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchRecoverTxRequest) Reset() {
*x = BatchRecoverTxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchRecoverTxRequest) Reset() { *m = BatchRecoverTxRequest{} }
func (m *BatchRecoverTxRequest) String() string { return proto.CompactTextString(m) }
func (*BatchRecoverTxRequest) ProtoMessage() {}
func (*BatchRecoverTxRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{6}
}
func (x *BatchRecoverTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchRecoverTxRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRecoverTxRequest.Unmarshal(m, b)
}
func (*BatchRecoverTxRequest) ProtoMessage() {}
func (x *BatchRecoverTxRequest) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchRecoverTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRecoverTxRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchRecoverTxRequest.ProtoReflect.Descriptor instead.
func (*BatchRecoverTxRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{6}
func (m *BatchRecoverTxRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRecoverTxRequest.Merge(m, src)
}
func (m *BatchRecoverTxRequest) XXX_Size() int {
return xxx_messageInfo_BatchRecoverTxRequest.Size(m)
}
func (m *BatchRecoverTxRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRecoverTxRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRecoverTxRequest proto.InternalMessageInfo
func (x *BatchRecoverTxRequest) GetRawTx() []*EthTx {
if x != nil {
return x.RawTx
func (m *BatchRecoverTxRequest) GetRawTx() []*v1.MetaTxBase {
if m != nil {
return m.RawTx
}
return nil
}
type BatchRecoverTxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RecoverTx []*RethTx `protobuf:"bytes,1,rep,name=recover_tx,json=recoverTx,proto3" json:"recover_tx,omitempty"`
RecoverdTx []*v1.MetaTxBase `protobuf:"bytes,1,rep,name=recoverd_tx,json=recoverdTx,proto3" json:"recoverd_tx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchRecoverTxResponse) Reset() {
*x = BatchRecoverTxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_request_response_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchRecoverTxResponse) Reset() { *m = BatchRecoverTxResponse{} }
func (m *BatchRecoverTxResponse) String() string { return proto.CompactTextString(m) }
func (*BatchRecoverTxResponse) ProtoMessage() {}
func (*BatchRecoverTxResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_c54a21c4b8afb3e6, []int{7}
}
func (x *BatchRecoverTxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchRecoverTxResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRecoverTxResponse.Unmarshal(m, b)
}
func (*BatchRecoverTxResponse) ProtoMessage() {}
func (x *BatchRecoverTxResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_request_response_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchRecoverTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRecoverTxResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchRecoverTxResponse.ProtoReflect.Descriptor instead.
func (*BatchRecoverTxResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{7}
func (m *BatchRecoverTxResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRecoverTxResponse.Merge(m, src)
}
func (m *BatchRecoverTxResponse) XXX_Size() int {
return xxx_messageInfo_BatchRecoverTxResponse.Size(m)
}
func (m *BatchRecoverTxResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRecoverTxResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRecoverTxResponse proto.InternalMessageInfo
func (x *BatchRecoverTxResponse) GetRecoverTx() []*RethTx {
if x != nil {
return x.RecoverTx
func (m *BatchRecoverTxResponse) GetRecoverdTx() []*v1.MetaTxBase {
if m != nil {
return m.RecoverdTx
}
return nil
}
var File_crypter_v1_request_response_proto protoreflect.FileDescriptor
var file_crypter_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x21, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a,
0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x19, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a,
0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x76, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c,
0x52, 0x05, 0x70, 0x72, 0x69, 0x76, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x0a, 0x63,
0x72, 0x79, 0x70, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x15, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x79,
0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x79, 0x70,
0x65, 0x22, 0x31, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
0x74, 0x75, 0x72, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65,
0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62,
0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
0x65, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x72, 0x79, 0x70, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72,
0x79, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x31, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68,
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a,
0x0a, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08,
0x52, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x22, 0x7d, 0x0a, 0x13, 0x42, 0x61,
0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x72, 0x79, 0x70, 0x74, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09,
0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x2e, 0x0a, 0x14, 0x42, 0x61, 0x74,
0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x41, 0x0a, 0x15, 0x42, 0x61, 0x74,
0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
0x45, 0x74, 0x68, 0x54, 0x78, 0x52, 0x05, 0x72, 0x61, 0x77, 0x54, 0x78, 0x22, 0x4b, 0x0a, 0x16,
0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65,
0x72, 0x5f, 0x74, 0x78, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x72, 0x79,
0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x68, 0x54, 0x78, 0x52, 0x09,
0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78, 0x42, 0xc4, 0x01, 0x0a, 0x0e, 0x63, 0x6f,
0x6d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b,
0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa,
0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x43,
0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x43, 0x72, 0x79, 0x70,
0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0xea, 0x02, 0x0b, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_crypter_v1_request_response_proto_rawDescOnce sync.Once
file_crypter_v1_request_response_proto_rawDescData = file_crypter_v1_request_response_proto_rawDesc
)
func file_crypter_v1_request_response_proto_rawDescGZIP() []byte {
file_crypter_v1_request_response_proto_rawDescOnce.Do(func() {
file_crypter_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_crypter_v1_request_response_proto_rawDescData)
})
return file_crypter_v1_request_response_proto_rawDescData
}
var file_crypter_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_crypter_v1_request_response_proto_goTypes = []interface{}{
(*BatchSignRequest)(nil), // 0: crypter.v1.BatchSignRequest
(*BatchSignResponse)(nil), // 1: crypter.v1.BatchSignResponse
(*BatchVerifyRequest)(nil), // 2: crypter.v1.BatchVerifyRequest
(*BatchVerifyResponse)(nil), // 3: crypter.v1.BatchVerifyResponse
(*BatchRecoverRequest)(nil), // 4: crypter.v1.BatchRecoverRequest
(*BatchRecoverResponse)(nil), // 5: crypter.v1.BatchRecoverResponse
(*BatchRecoverTxRequest)(nil), // 6: crypter.v1.BatchRecoverTxRequest
(*BatchRecoverTxResponse)(nil), // 7: crypter.v1.BatchRecoverTxResponse
(CryptType)(0), // 8: crypter.v1.CryptType
(*EthTx)(nil), // 9: crypter.v1.EthTx
(*RethTx)(nil), // 10: crypter.v1.RethTx
}
var file_crypter_v1_request_response_proto_depIdxs = []int32{
8, // 0: crypter.v1.BatchSignRequest.crypt_type:type_name -> crypter.v1.CryptType
8, // 1: crypter.v1.BatchVerifyRequest.crypt_type:type_name -> crypter.v1.CryptType
8, // 2: crypter.v1.BatchRecoverRequest.crypt_type:type_name -> crypter.v1.CryptType
9, // 3: crypter.v1.BatchRecoverTxRequest.raw_tx:type_name -> crypter.v1.EthTx
10, // 4: crypter.v1.BatchRecoverTxResponse.recover_tx:type_name -> crypter.v1.RethTx
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_crypter_v1_request_response_proto_init() }
func file_crypter_v1_request_response_proto_init() {
if File_crypter_v1_request_response_proto != nil {
return
}
file_crypter_v1_resource_proto_init()
if !protoimpl.UnsafeEnabled {
file_crypter_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchSignRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchSignResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchVerifyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchVerifyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchRecoverRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchRecoverResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchRecoverTxRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchRecoverTxResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_crypter_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_crypter_v1_request_response_proto_goTypes,
DependencyIndexes: file_crypter_v1_request_response_proto_depIdxs,
MessageInfos: file_crypter_v1_request_response_proto_msgTypes,
}.Build()
File_crypter_v1_request_response_proto = out.File
file_crypter_v1_request_response_proto_rawDesc = nil
file_crypter_v1_request_response_proto_goTypes = nil
file_crypter_v1_request_response_proto_depIdxs = nil
func init() {
proto.RegisterType((*BatchSignRequest)(nil), "crypter.v1.BatchSignRequest")
proto.RegisterType((*BatchSignResponse)(nil), "crypter.v1.BatchSignResponse")
proto.RegisterType((*BatchVerifyRequest)(nil), "crypter.v1.BatchVerifyRequest")
proto.RegisterType((*BatchVerifyResponse)(nil), "crypter.v1.BatchVerifyResponse")
proto.RegisterType((*BatchRecoverRequest)(nil), "crypter.v1.BatchRecoverRequest")
proto.RegisterType((*BatchRecoverResponse)(nil), "crypter.v1.BatchRecoverResponse")
proto.RegisterType((*BatchRecoverTxRequest)(nil), "crypter.v1.BatchRecoverTxRequest")
proto.RegisterType((*BatchRecoverTxResponse)(nil), "crypter.v1.BatchRecoverTxResponse")
}
func init() { proto.RegisterFile("crypter/v1/request_response.proto", fileDescriptor_c54a21c4b8afb3e6) }
var fileDescriptor_c54a21c4b8afb3e6 = []byte{
// 495 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xcf, 0x6a, 0xdb, 0x4e,
0x10, 0xc7, 0x91, 0xfc, 0x8b, 0x49, 0xc6, 0x3f, 0x42, 0xab, 0x38, 0xc6, 0x35, 0x85, 0xba, 0x3a,
0x85, 0x1e, 0x24, 0x94, 0xe6, 0x94, 0xde, 0xa4, 0x43, 0x4f, 0x2d, 0x46, 0x11, 0x26, 0x94, 0x80,
0x59, 0x49, 0x63, 0x45, 0xd8, 0xf2, 0xaa, 0xbb, 0x2b, 0x45, 0x3a, 0x14, 0xfa, 0x2c, 0x3d, 0xf6,
0x39, 0x7a, 0xea, 0x63, 0xf4, 0xd8, 0xa7, 0x28, 0x2b, 0xad, 0xe2, 0x3f, 0x50, 0x0a, 0x85, 0xde,
0x66, 0x46, 0xdf, 0x99, 0xef, 0x67, 0x47, 0xbb, 0xf0, 0x32, 0x62, 0x75, 0x2e, 0x90, 0xd9, 0xa5,
0x63, 0x33, 0xfc, 0x58, 0x20, 0x17, 0x0b, 0x86, 0x3c, 0xa7, 0x1b, 0x8e, 0x56, 0xce, 0xa8, 0xa0,
0x06, 0x28, 0x89, 0x55, 0x3a, 0x93, 0x69, 0x42, 0x69, 0xb2, 0x46, 0xbb, 0xf9, 0x12, 0x16, 0x4b,
0x7b, 0x99, 0xe2, 0x3a, 0x5e, 0x64, 0x84, 0xaf, 0x5a, 0xf5, 0xe4, 0xc5, 0xa1, 0x42, 0xa4, 0x19,
0x72, 0x41, 0xb2, 0x5c, 0x09, 0x8c, 0x90, 0x70, 0x94, 0x76, 0x19, 0x0a, 0xa2, 0x6a, 0xcf, 0xf6,
0x28, 0x38, 0x2d, 0x58, 0xa4, 0xdc, 0x4d, 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x54,
0x2e, 0xe1, 0xe8, 0x1f, 0x31, 0xf2, 0x10, 0x54, 0xe6, 0x7b, 0x18, 0x1d, 0x0e, 0x51, 0xb6, 0x57,
0x30, 0x60, 0x6d, 0x31, 0xfe, 0xc3, 0x28, 0xe8, 0x74, 0x41, 0xe5, 0x7e, 0xd3, 0xe0, 0x34, 0xa2,
0xd9, 0xce, 0x61, 0xdd, 0xa1, 0xe2, 0xea, 0x26, 0xcf, 0xe4, 0x4d, 0x9e, 0x69, 0x1f, 0x6e, 0x92,
0x54, 0xdc, 0x17, 0xa1, 0x15, 0xd1, 0xcc, 0xf6, 0x48, 0x5c, 0x44, 0x58, 0x70, 0x39, 0xb5, 0x44,
0xa6, 0x44, 0x11, 0x5d, 0x37, 0xef, 0x22, 0xef, 0x92, 0x04, 0x37, 0xed, 0x53, 0xb2, 0x13, 0x6a,
0x6f, 0x5f, 0xc9, 0x1b, 0x15, 0x96, 0xce, 0x17, 0xbd, 0xe7, 0xdd, 0xde, 0x7e, 0xd5, 0xc1, 0x53,
0xfe, 0x73, 0xe7, 0xfb, 0x63, 0x72, 0x37, 0x77, 0x7e, 0xe8, 0xa3, 0x6d, 0x72, 0xf7, 0x76, 0xe6,
0x4a, 0x43, 0xf9, 0x47, 0x7f, 0xea, 0x03, 0xf5, 0xe1, 0xfa, 0x7a, 0xee, 0x84, 0xfd, 0xc6, 0xe5,
0xf5, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x04, 0x21, 0xfa, 0x41, 0x11, 0x04, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: crypter/v1/resource.proto
package crypterv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type CryptType int32
......@@ -27,252 +27,45 @@ const (
CryptType_CRYPT_TYPE_SECP256K1 CryptType = 1
)
// Enum value maps for CryptType.
var (
CryptType_name = map[int32]string{
0: "CRYPT_TYPE_INVALID",
1: "CRYPT_TYPE_SECP256K1",
}
CryptType_value = map[string]int32{
"CRYPT_TYPE_INVALID": 0,
"CRYPT_TYPE_SECP256K1": 1,
}
)
func (x CryptType) Enum() *CryptType {
p := new(CryptType)
*p = x
return p
}
func (x CryptType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CryptType) Descriptor() protoreflect.EnumDescriptor {
return file_crypter_v1_resource_proto_enumTypes[0].Descriptor()
var CryptType_name = map[int32]string{
0: "CRYPT_TYPE_INVALID",
1: "CRYPT_TYPE_SECP256K1",
}
func (CryptType) Type() protoreflect.EnumType {
return &file_crypter_v1_resource_proto_enumTypes[0]
var CryptType_value = map[string]int32{
"CRYPT_TYPE_INVALID": 0,
"CRYPT_TYPE_SECP256K1": 1,
}
func (x CryptType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
func (x CryptType) String() string {
return proto.EnumName(CryptType_name, int32(x))
}
// Deprecated: Use CryptType.Descriptor instead.
func (CryptType) EnumDescriptor() ([]byte, []int) {
return file_crypter_v1_resource_proto_rawDescGZIP(), []int{0}
}
type EthTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RlpData []byte `protobuf:"bytes,1,opt,name=rlp_data,json=rlpData,proto3" json:"rlp_data,omitempty"`
}
func (x *EthTx) Reset() {
*x = EthTx{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_resource_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EthTx) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EthTx) ProtoMessage() {}
func (x *EthTx) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_resource_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EthTx.ProtoReflect.Descriptor instead.
func (*EthTx) Descriptor() ([]byte, []int) {
return file_crypter_v1_resource_proto_rawDescGZIP(), []int{0}
}
func (x *EthTx) GetRlpData() []byte {
if x != nil {
return x.RlpData
}
return nil
}
type RethTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
RlpData []byte `protobuf:"bytes,2,opt,name=rlp_data,json=rlpData,proto3" json:"rlp_data,omitempty"`
}
func (x *RethTx) Reset() {
*x = RethTx{}
if protoimpl.UnsafeEnabled {
mi := &file_crypter_v1_resource_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RethTx) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RethTx) ProtoMessage() {}
func (x *RethTx) ProtoReflect() protoreflect.Message {
mi := &file_crypter_v1_resource_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RethTx.ProtoReflect.Descriptor instead.
func (*RethTx) Descriptor() ([]byte, []int) {
return file_crypter_v1_resource_proto_rawDescGZIP(), []int{1}
}
func (x *RethTx) GetFrom() []byte {
if x != nil {
return x.From
}
return nil
}
func (x *RethTx) GetRlpData() []byte {
if x != nil {
return x.RlpData
}
return nil
}
var File_crypter_v1_resource_proto protoreflect.FileDescriptor
var file_crypter_v1_resource_proto_rawDesc = []byte{
0x0a, 0x19, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x63, 0x72, 0x79,
0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x22, 0x22, 0x0a, 0x05, 0x45, 0x74, 0x68, 0x54, 0x78,
0x12, 0x19, 0x0a, 0x08, 0x72, 0x6c, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0c, 0x52, 0x07, 0x72, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x22, 0x37, 0x0a, 0x06, 0x52,
0x65, 0x74, 0x68, 0x54, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6c, 0x70,
0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x6c, 0x70,
0x44, 0x61, 0x74, 0x61, 0x2a, 0x3d, 0x0a, 0x09, 0x43, 0x72, 0x79, 0x70, 0x74, 0x54, 0x79, 0x70,
0x65, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x52, 0x59,
0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x50, 0x32, 0x35, 0x36, 0x4b,
0x31, 0x10, 0x01, 0x42, 0xbd, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x72, 0x79, 0x70,
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61,
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65,
0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f,
0x76, 0x31, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43,
0x58, 0x58, 0xaa, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca,
0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x43,
0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x3a,
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_crypter_v1_resource_proto_rawDescOnce sync.Once
file_crypter_v1_resource_proto_rawDescData = file_crypter_v1_resource_proto_rawDesc
)
func file_crypter_v1_resource_proto_rawDescGZIP() []byte {
file_crypter_v1_resource_proto_rawDescOnce.Do(func() {
file_crypter_v1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_crypter_v1_resource_proto_rawDescData)
})
return file_crypter_v1_resource_proto_rawDescData
}
var file_crypter_v1_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_crypter_v1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_crypter_v1_resource_proto_goTypes = []interface{}{
(CryptType)(0), // 0: crypter.v1.CryptType
(*EthTx)(nil), // 1: crypter.v1.EthTx
(*RethTx)(nil), // 2: crypter.v1.RethTx
}
var file_crypter_v1_resource_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_crypter_v1_resource_proto_init() }
func file_crypter_v1_resource_proto_init() {
if File_crypter_v1_resource_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_crypter_v1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EthTx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_crypter_v1_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RethTx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_crypter_v1_resource_proto_rawDesc,
NumEnums: 1,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_crypter_v1_resource_proto_goTypes,
DependencyIndexes: file_crypter_v1_resource_proto_depIdxs,
EnumInfos: file_crypter_v1_resource_proto_enumTypes,
MessageInfos: file_crypter_v1_resource_proto_msgTypes,
}.Build()
File_crypter_v1_resource_proto = out.File
file_crypter_v1_resource_proto_rawDesc = nil
file_crypter_v1_resource_proto_goTypes = nil
file_crypter_v1_resource_proto_depIdxs = nil
return fileDescriptor_4b0ea4a37bc29af9, []int{0}
}
func init() {
proto.RegisterEnum("crypter.v1.CryptType", CryptType_name, CryptType_value)
}
func init() { proto.RegisterFile("crypter/v1/resource.proto", fileDescriptor_4b0ea4a37bc29af9) }
var fileDescriptor_4b0ea4a37bc29af9 = []byte{
// 239 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0x2e, 0xaa, 0x2c,
0x28, 0x49, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x4a, 0xe9, 0x95, 0x19, 0x6a, 0xd9, 0x72, 0x71,
0x3a, 0x83, 0x78, 0x21, 0x95, 0x05, 0xa9, 0x42, 0x62, 0x5c, 0x42, 0xce, 0x41, 0x91, 0x01, 0x21,
0xf1, 0x21, 0x91, 0x01, 0xae, 0xf1, 0x9e, 0x7e, 0x61, 0x8e, 0x3e, 0x9e, 0x2e, 0x02, 0x0c, 0x42,
0x12, 0x5c, 0x22, 0x48, 0xe2, 0xc1, 0xae, 0xce, 0x01, 0x46, 0xa6, 0x66, 0xde, 0x86, 0x02, 0x8c,
0x4e, 0x7b, 0x19, 0xb9, 0xf8, 0x92, 0xf3, 0x73, 0xf5, 0x10, 0x26, 0x3a, 0xf1, 0x06, 0x41, 0x6d,
0x0b, 0x00, 0x59, 0x16, 0xc0, 0x18, 0x15, 0x9c, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c,
0x9f, 0xab, 0xef, 0x9c, 0x98, 0x52, 0x9a, 0x9c, 0x5a, 0x5a, 0xec, 0x9b, 0x5a, 0x92, 0x58, 0x96,
0x5a, 0x54, 0x0c, 0x51, 0x94, 0x9c, 0x9f, 0xa3, 0x9f, 0x9b, 0x5a, 0x92, 0x58, 0x00, 0xe3, 0xa4,
0xa7, 0xe6, 0xe9, 0x83, 0x39, 0xfa, 0xe9, 0xf9, 0xfa, 0x08, 0x8f, 0x58, 0x43, 0x99, 0x65, 0x86,
0x8b, 0x98, 0x98, 0x9d, 0x23, 0x22, 0x56, 0x31, 0x71, 0x39, 0x43, 0x2d, 0x0e, 0x33, 0x3c, 0x05,
0xe7, 0xc4, 0x84, 0x19, 0x3e, 0x62, 0x12, 0x43, 0x70, 0x62, 0xdc, 0x03, 0x9c, 0x40, 0x16, 0xa6,
0x24, 0x96, 0x24, 0xbe, 0x62, 0xe2, 0x86, 0x4a, 0x58, 0x59, 0x85, 0x19, 0x26, 0xb1, 0x81, 0x6d,
0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x4b, 0x60, 0xe0, 0x2e, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: crypter/v1/service.proto
package crypterv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_crypter_v1_service_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_crypter_v1_service_proto_rawDesc = []byte{
0x0a, 0x18, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x63, 0x72, 0x79, 0x70,
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x21, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f,
0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xde, 0x02, 0x0a, 0x0e, 0x43, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x09,
0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x72, 0x79, 0x70,
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x42, 0x61, 0x74, 0x63,
0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x1e, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0c, 0x42, 0x61,
0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x63, 0x72, 0x79,
0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63,
0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65,
0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x59, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54,
0x78, 0x12, 0x21, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42,
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76,
0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbc, 0x01, 0x0a, 0x0e, 0x63,
0x6f, 0x6d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67,
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65,
0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72,
0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74,
0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c,
0x56, 0x31, 0xe2, 0x02, 0x16, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c,
0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x43, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_crypter_v1_service_proto_goTypes = []interface{}{
(*BatchSignRequest)(nil), // 0: crypter.v1.BatchSignRequest
(*BatchVerifyRequest)(nil), // 1: crypter.v1.BatchVerifyRequest
(*BatchRecoverRequest)(nil), // 2: crypter.v1.BatchRecoverRequest
(*BatchRecoverTxRequest)(nil), // 3: crypter.v1.BatchRecoverTxRequest
(*BatchSignResponse)(nil), // 4: crypter.v1.BatchSignResponse
(*BatchVerifyResponse)(nil), // 5: crypter.v1.BatchVerifyResponse
(*BatchRecoverResponse)(nil), // 6: crypter.v1.BatchRecoverResponse
(*BatchRecoverTxResponse)(nil), // 7: crypter.v1.BatchRecoverTxResponse
}
var file_crypter_v1_service_proto_depIdxs = []int32{
0, // 0: crypter.v1.CrypterService.BatchSign:input_type -> crypter.v1.BatchSignRequest
1, // 1: crypter.v1.CrypterService.BatchVerify:input_type -> crypter.v1.BatchVerifyRequest
2, // 2: crypter.v1.CrypterService.BatchRecover:input_type -> crypter.v1.BatchRecoverRequest
3, // 3: crypter.v1.CrypterService.BatchRecoverTx:input_type -> crypter.v1.BatchRecoverTxRequest
4, // 4: crypter.v1.CrypterService.BatchSign:output_type -> crypter.v1.BatchSignResponse
5, // 5: crypter.v1.CrypterService.BatchVerify:output_type -> crypter.v1.BatchVerifyResponse
6, // 6: crypter.v1.CrypterService.BatchRecover:output_type -> crypter.v1.BatchRecoverResponse
7, // 7: crypter.v1.CrypterService.BatchRecoverTx:output_type -> crypter.v1.BatchRecoverTxResponse
4, // [4:8] is the sub-list for method output_type
0, // [0:4] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("crypter/v1/service.proto", fileDescriptor_05ac8b6606ffe814) }
func init() { file_crypter_v1_service_proto_init() }
func file_crypter_v1_service_proto_init() {
if File_crypter_v1_service_proto != nil {
return
}
file_crypter_v1_request_response_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_crypter_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_crypter_v1_service_proto_goTypes,
DependencyIndexes: file_crypter_v1_service_proto_depIdxs,
}.Build()
File_crypter_v1_service_proto = out.File
file_crypter_v1_service_proto_rawDesc = nil
file_crypter_v1_service_proto_goTypes = nil
file_crypter_v1_service_proto_depIdxs = nil
var fileDescriptor_05ac8b6606ffe814 = []byte{
// 318 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x4a, 0xc3, 0x40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x87, 0x94, 0xea, 0xe0, 0xb3, 0x81,
0xda, 0x5c, 0x2c, 0x76, 0xd8, 0xa0, 0xe5, 0xfe, 0x74, 0xb8, 0xb9, 0x40, 0xd8, 0x78, 0x8a, 0x92,
0x54, 0xcf, 0xf3, 0xa9, 0xcf, 0xc5, 0x82, 0x0c, 0xd8, 0x2c, 0xe7, 0x90, 0xab, 0x07, 0xd0, 0xcc,
0x80, 0x54, 0x16, 0xe2, 0xe2, 0x95, 0x2c, 0x40, 0xb3, 0xac, 0x0c, 0x09, 0x2c, 0x49, 0x11, 0x48,
0x22, 0xc8, 0xf6, 0xca, 0xb7, 0xee, 0xd3, 0xd0, 0x77, 0xef, 0x70, 0x30, 0x1e, 0x7f, 0x78, 0xc8,
0x1d, 0xd7, 0x8f, 0xe9, 0x57, 0x15, 0x26, 0x31, 0xfd, 0xf1, 0x4e, 0xb6, 0x61, 0x72, 0x17, 0x06,
0x9b, 0x85, 0x33, 0xa6, 0xd9, 0xaf, 0xd7, 0x74, 0x45, 0xbf, 0x1f, 0xd3, 0xe9, 0x51, 0xb1, 0xe5,
0xe6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x16, 0x15, 0xdd, 0xd5, 0x71, 0x02, 0x00, 0x00,
}
This source diff could not be displayed because it is too large. You can view the blob instead.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ethrpc/v1/request_response.proto
package ethrpcv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ethrpc_v1_request_response_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_ethrpc_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x20, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x09, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x18, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0xbd, 0x01, 0x0a, 0x0d, 0x63,
0x6f, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x09,
0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x45, 0x74, 0x68, 0x72,
0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a,
0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_ethrpc_v1_request_response_proto_goTypes = []interface{}{}
var file_ethrpc_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("ethrpc/v1/request_response.proto", fileDescriptor_eab3e970b3fc4905) }
func init() { file_ethrpc_v1_request_response_proto_init() }
func file_ethrpc_v1_request_response_proto_init() {
if File_ethrpc_v1_request_response_proto != nil {
return
}
file_ethrpc_v1_resource_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ethrpc_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_ethrpc_v1_request_response_proto_goTypes,
DependencyIndexes: file_ethrpc_v1_request_response_proto_depIdxs,
}.Build()
File_ethrpc_v1_request_response_proto = out.File
file_ethrpc_v1_request_response_proto_rawDesc = nil
file_ethrpc_v1_request_response_proto_goTypes = nil
file_ethrpc_v1_request_response_proto_depIdxs = nil
var fileDescriptor_eab3e970b3fc4905 = []byte{
// 247 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8e, 0xc1, 0x4a, 0xc3, 0x30,
0x18, 0xc7, 0x59, 0x05, 0x61, 0x05, 0x2f, 0xa2, 0x20, 0xbb, 0xb8, 0x27, 0xe8, 0x47, 0xf0, 0x36,
0x6f, 0x95, 0xe1, 0x49, 0xa8, 0x3b, 0x94, 0x21, 0x83, 0x91, 0xa6, 0xdf, 0xb2, 0x62, 0xb3, 0x2f,
0x26, 0x5f, 0xfa, 0x40, 0x1e, 0x7d, 0x07, 0x5f, 0xc0, 0xc7, 0xf0, 0xe8, 0x53, 0xc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0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ethrpc/v1/resource.proto
package ethrpcv1
import (
fmt "fmt"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type Tx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Hash *v1.Hash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
type Tx struct {
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Hash *v1.Hash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *Tx) Reset() {
*x = Tx{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_resource_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *Tx) Reset() { *m = Tx{} }
func (m *Tx) String() string { return proto.CompactTextString(m) }
func (*Tx) ProtoMessage() {}
func (*Tx) Descriptor() ([]byte, []int) {
return fileDescriptor_036849992e4c155c, []int{0}
}
func (x *Tx) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Tx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Tx.Unmarshal(m, b)
}
func (*Tx) ProtoMessage() {}
func (x *Tx) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_resource_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Tx.Marshal(b, m, deterministic)
}
// Deprecated: Use Tx.ProtoReflect.Descriptor instead.
func (*Tx) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_resource_proto_rawDescGZIP(), []int{0}
func (m *Tx) XXX_Merge(src proto.Message) {
xxx_messageInfo_Tx.Merge(m, src)
}
func (m *Tx) XXX_Size() int {
return xxx_messageInfo_Tx.Size(m)
}
func (m *Tx) XXX_DiscardUnknown() {
xxx_messageInfo_Tx.DiscardUnknown(m)
}
var xxx_messageInfo_Tx proto.InternalMessageInfo
func (x *Tx) GetAddress() *v1.Address {
if x != nil {
return x.Address
func (m *Tx) GetAddress() *v1.Address {
if m != nil {
return m.Address
}
return nil
}
func (x *Tx) GetHash() *v1.Hash {
if x != nil {
return x.Hash
func (m *Tx) GetHash() *v1.Hash {
if m != nil {
return m.Hash
}
return nil
}
var File_ethrpc_v1_resource_proto protoreflect.FileDescriptor
var file_ethrpc_v1_resource_proto_rawDesc = []byte{
0x0a, 0x18, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a,
0x02, 0x54, 0x78, 0x12, 0x2a, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
0x21, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x68, 0x61,
0x73, 0x68, 0x42, 0xb6, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65,
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b,
0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02,
0x09, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x45, 0x74, 0x68,
0x72, 0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x5c,
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0a, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_ethrpc_v1_resource_proto_rawDescOnce sync.Once
file_ethrpc_v1_resource_proto_rawDescData = file_ethrpc_v1_resource_proto_rawDesc
)
func file_ethrpc_v1_resource_proto_rawDescGZIP() []byte {
file_ethrpc_v1_resource_proto_rawDescOnce.Do(func() {
file_ethrpc_v1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_ethrpc_v1_resource_proto_rawDescData)
})
return file_ethrpc_v1_resource_proto_rawDescData
}
var file_ethrpc_v1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_ethrpc_v1_resource_proto_goTypes = []interface{}{
(*Tx)(nil), // 0: ethrpc.v1.Tx
(*v1.Address)(nil), // 1: base.v1.Address
(*v1.Hash)(nil), // 2: base.v1.Hash
}
var file_ethrpc_v1_resource_proto_depIdxs = []int32{
1, // 0: ethrpc.v1.Tx.address:type_name -> base.v1.Address
2, // 1: ethrpc.v1.Tx.hash:type_name -> base.v1.Hash
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
func init() {
proto.RegisterType((*Tx)(nil), "ethrpc.v1.Tx")
}
func init() { file_ethrpc_v1_resource_proto_init() }
func file_ethrpc_v1_resource_proto_init() {
if File_ethrpc_v1_resource_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_ethrpc_v1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Tx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ethrpc_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_ethrpc_v1_resource_proto_goTypes,
DependencyIndexes: file_ethrpc_v1_resource_proto_depIdxs,
MessageInfos: file_ethrpc_v1_resource_proto_msgTypes,
}.Build()
File_ethrpc_v1_resource_proto = out.File
file_ethrpc_v1_resource_proto_rawDesc = nil
file_ethrpc_v1_resource_proto_goTypes = nil
file_ethrpc_v1_resource_proto_depIdxs = nil
func init() { proto.RegisterFile("ethrpc/v1/resource.proto", fileDescriptor_036849992e4c155c) }
var fileDescriptor_036849992e4c155c = []byte{
// 254 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0x2d, 0xc9, 0x28,
0x2a, 0x48, 0xd6, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x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0x7c, 0xc4, 0x24, 0x0a, 0x67, 0xc7, 0xb8, 0x07, 0x38, 0x81, 0xec, 0x4a, 0x49,
0x2c, 0x49, 0x7c, 0xc5, 0xc4, 0x05, 0x11, 0xb7, 0xb2, 0x0a, 0x33, 0x4c, 0x62, 0x03, 0x9b, 0x6f,
0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x83, 0x21, 0xac, 0x96, 0x53, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ethrpc/v1/service.proto
package ethrpcv1
import (
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
fmt "fmt"
_ "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/emptypb"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ethrpc_v1_service_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_ethrpc_v1_service_proto_rawDesc = []byte{
0x0a, 0x17, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x20, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x5f, 0x72, 0x65, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x84, 0x1f, 0x0a,
0x0a, 0x52, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x53,
0x68, 0x61, 0x33, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
0x53, 0x68, 0x61, 0x33, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x33, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1e, 0x2e,
0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x45, 0x0a, 0x0a, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65,
0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f,
0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x50, 0x65,
0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72,
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x3f, 0x0a, 0x07, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x08, 0x43, 0x6f, 0x69, 0x6e, 0x62, 0x61, 0x73, 0x65, 0x12,
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67,
0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74,
0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x08, 0x47,
0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
0x1b, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x73, 0x50,
0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x42,
0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x48, 0x61, 0x73,
0x68, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7e, 0x0a, 0x1b, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x1d, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x5d, 0x0a, 0x10, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48,
0x61, 0x73, 0x68, 0x12, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79,
0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63,
0x0a, 0x12, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x18, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12,
0x2a, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c,
0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49,
0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x1a, 0x55, 0x6e,
0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2c, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e,
0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x69,
0x6c, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x6c, 0x69,
0x64, 0x69, 0x74, 0x79, 0x12, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x6c, 0x69, 0x64,
0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a,
0x0a, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c, 0x12, 0x1c, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c,
0x4c, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x43, 0x6f,
0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
0x53, 0x65, 0x72, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69,
0x6c, 0x65, 0x53, 0x65, 0x72, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47,
0x61, 0x73, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x45,
0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1e, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x73,
0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e,
0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68,
0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x30, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e,
0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64,
0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x8d, 0x01, 0x0a, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42,
0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49,
0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65,
0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64,
0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x63, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63,
0x65, 0x69, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12,
0x19, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61,
0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72,
0x61, 0x67, 0x65, 0x12, 0x19, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x05,
0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18,
0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x52, 0x65,
0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x5d, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x16, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a,
0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69,
0x67, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0f, 0x53, 0x65,
0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x78, 0x1a, 0x22, 0x2e,
0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72,
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72,
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x2e, 0x62, 0x61, 0x73, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x78, 0x1a, 0x25, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43,
0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a,
0x09, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
0x79, 0x1a, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65,
0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x18, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e,
0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74,
0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2b, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72,
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x55, 0x6e, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61,
0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x6e,
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e,
0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73,
0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x42, 0xb5, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65,
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b,
0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02,
0x09, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x45, 0x74, 0x68,
0x72, 0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x5c,
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0a, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_ethrpc_v1_service_proto_goTypes = []interface{}{
(*Sha3Request)(nil), // 0: ethrpc.v1.Sha3Request
(*emptypb.Empty)(nil), // 1: google.protobuf.Empty
(*BlockByHashRequest)(nil), // 2: ethrpc.v1.BlockByHashRequest
(*BlockByNumberRequest)(nil), // 3: ethrpc.v1.BlockByNumberRequest
(*BlockTransactionCountByHashRequest)(nil), // 4: ethrpc.v1.BlockTransactionCountByHashRequest
(*BlockTransactionCountByNumberRequest)(nil), // 5: ethrpc.v1.BlockTransactionCountByNumberRequest
(*UncleCountByHashRequest)(nil), // 6: ethrpc.v1.UncleCountByHashRequest
(*UncleCountByNumberRequest)(nil), // 7: ethrpc.v1.UncleCountByNumberRequest
(*UncleByBlockHashAndIndexRequest)(nil), // 8: ethrpc.v1.UncleByBlockHashAndIndexRequest
(*UncleByBlockNumberAndIndexRequest)(nil), // 9: ethrpc.v1.UncleByBlockNumberAndIndexRequest
(*CompilersRequest)(nil), // 10: ethrpc.v1.CompilersRequest
(*CompileSolidityRequest)(nil), // 11: ethrpc.v1.CompileSolidityRequest
(*CompileLLLRequest)(nil), // 12: ethrpc.v1.CompileLLLRequest
(*CompileSerpentRequest)(nil), // 13: ethrpc.v1.CompileSerpentRequest
(*EstimateGasRequest)(nil), // 14: ethrpc.v1.EstimateGasRequest
(*TransactionByHashRequest)(nil), // 15: ethrpc.v1.TransactionByHashRequest
(*TransactionByBlockHashAndIndexRequest)(nil), // 16: ethrpc.v1.TransactionByBlockHashAndIndexRequest
(*TransactionByBlockNumberAndIndexRequest)(nil), // 17: ethrpc.v1.TransactionByBlockNumberAndIndexRequest
(*TransactionReceiptRequest)(nil), // 18: ethrpc.v1.TransactionReceiptRequest
(*BalanceRequest)(nil), // 19: ethrpc.v1.BalanceRequest
(*StorageRequest)(nil), // 20: ethrpc.v1.StorageRequest
(*NonceRequest)(nil), // 21: ethrpc.v1.NonceRequest
(*RepeatedNonceRequest)(nil), // 22: ethrpc.v1.RepeatedNonceRequest
(*TransactionCountRequest)(nil), // 23: ethrpc.v1.TransactionCountRequest
(*GetCodeRequest)(nil), // 24: ethrpc.v1.GetCodeRequest
(*SignRequest)(nil), // 25: ethrpc.v1.SignRequest
(*SignTransactionRequest)(nil), // 26: ethrpc.v1.SignTransactionRequest
(*v1.EthTx)(nil), // 27: base.v1.EthTx
(*CallRequest)(nil), // 28: ethrpc.v1.CallRequest
(*NewFilterRequest)(nil), // 29: ethrpc.v1.NewFilterRequest
(*UninstallFilterRequest)(nil), // 30: ethrpc.v1.UninstallFilterRequest
(*FilterChangesRequest)(nil), // 31: ethrpc.v1.FilterChangesRequest
(*FilterLogsRequest)(nil), // 32: ethrpc.v1.FilterLogsRequest
(*LogsRequest)(nil), // 33: ethrpc.v1.LogsRequest
(*Sha3Response)(nil), // 34: ethrpc.v1.Sha3Response
(*NodeVersionResponse)(nil), // 35: ethrpc.v1.NodeVersionResponse
(*NetVersionResponse)(nil), // 36: ethrpc.v1.NetVersionResponse
(*NetPeerCountResponse)(nil), // 37: ethrpc.v1.NetPeerCountResponse
(*ProtocolVersionResponse)(nil), // 38: ethrpc.v1.ProtocolVersionResponse
(*SyncingResponse)(nil), // 39: ethrpc.v1.SyncingResponse
(*CoinbaseResponse)(nil), // 40: ethrpc.v1.CoinbaseResponse
(*MiningResponse)(nil), // 41: ethrpc.v1.MiningResponse
(*HashRateResponse)(nil), // 42: ethrpc.v1.HashRateResponse
(*AccountsResponse)(nil), // 43: ethrpc.v1.AccountsResponse
(*GasPriceResponse)(nil), // 44: ethrpc.v1.GasPriceResponse
(*HeightResponse)(nil), // 45: ethrpc.v1.HeightResponse
(*BlockByHashResponse)(nil), // 46: ethrpc.v1.BlockByHashResponse
(*BlockByNumberResponse)(nil), // 47: ethrpc.v1.BlockByNumberResponse
(*BlockTransactionCountByHashResponse)(nil), // 48: ethrpc.v1.BlockTransactionCountByHashResponse
(*BlockTransactionCountByNumberResponse)(nil), // 49: ethrpc.v1.BlockTransactionCountByNumberResponse
(*UncleCountByHashResponse)(nil), // 50: ethrpc.v1.UncleCountByHashResponse
(*UncleCountByNumberResponse)(nil), // 51: ethrpc.v1.UncleCountByNumberResponse
(*UncleByBlockHashAndIndexResponse)(nil), // 52: ethrpc.v1.UncleByBlockHashAndIndexResponse
(*UncleByBlockNumberAndIndexResponse)(nil), // 53: ethrpc.v1.UncleByBlockNumberAndIndexResponse
(*CompilersResponse)(nil), // 54: ethrpc.v1.CompilersResponse
(*CompileSolidityResponse)(nil), // 55: ethrpc.v1.CompileSolidityResponse
(*CompileLLLResponse)(nil), // 56: ethrpc.v1.CompileLLLResponse
(*CompileSerpentResponse)(nil), // 57: ethrpc.v1.CompileSerpentResponse
(*EstimateGasResponse)(nil), // 58: ethrpc.v1.EstimateGasResponse
(*TransactionByHashResponse)(nil), // 59: ethrpc.v1.TransactionByHashResponse
(*TransactionByBlockHashAndIndexResponse)(nil), // 60: ethrpc.v1.TransactionByBlockHashAndIndexResponse
(*TransactionByBlockNumberAndIndexResponse)(nil), // 61: ethrpc.v1.TransactionByBlockNumberAndIndexResponse
(*TransactionReceiptResponse)(nil), // 62: ethrpc.v1.TransactionReceiptResponse
(*BalanceResponse)(nil), // 63: ethrpc.v1.BalanceResponse
(*StorageResponse)(nil), // 64: ethrpc.v1.StorageResponse
(*NonceResponse)(nil), // 65: ethrpc.v1.NonceResponse
(*RepeatedNonceResponse)(nil), // 66: ethrpc.v1.RepeatedNonceResponse
(*TransactionCountResponse)(nil), // 67: ethrpc.v1.TransactionCountResponse
(*GetCodeResponse)(nil), // 68: ethrpc.v1.GetCodeResponse
(*SignResponse)(nil), // 69: ethrpc.v1.SignResponse
(*SignTransactionResponse)(nil), // 70: ethrpc.v1.SignTransactionResponse
(*SendTransactionResponse)(nil), // 71: ethrpc.v1.SendTransactionResponse
(*SendRawTransactionResponse)(nil), // 72: ethrpc.v1.SendRawTransactionResponse
(*CallResponse)(nil), // 73: ethrpc.v1.CallResponse
(*NewFilterResponse)(nil), // 74: ethrpc.v1.NewFilterResponse
(*NewBlockFilterResponse)(nil), // 75: ethrpc.v1.NewBlockFilterResponse
(*PendingTransactionFilterResponse)(nil), // 76: ethrpc.v1.PendingTransactionFilterResponse
(*UninstallFilterResponse)(nil), // 77: ethrpc.v1.UninstallFilterResponse
(*FilterChangesResponse)(nil), // 78: ethrpc.v1.FilterChangesResponse
(*FilterLogsResponse)(nil), // 79: ethrpc.v1.FilterLogsResponse
(*LogsResponse)(nil), // 80: ethrpc.v1.LogsResponse
}
var file_ethrpc_v1_service_proto_depIdxs = []int32{
0, // 0: ethrpc.v1.RpcService.Sha3:input_type -> ethrpc.v1.Sha3Request
1, // 1: ethrpc.v1.RpcService.NodeVersion:input_type -> google.protobuf.Empty
1, // 2: ethrpc.v1.RpcService.NetVersion:input_type -> google.protobuf.Empty
1, // 3: ethrpc.v1.RpcService.NetPeerCount:input_type -> google.protobuf.Empty
1, // 4: ethrpc.v1.RpcService.ProtocolVersion:input_type -> google.protobuf.Empty
1, // 5: ethrpc.v1.RpcService.Syncing:input_type -> google.protobuf.Empty
1, // 6: ethrpc.v1.RpcService.Coinbase:input_type -> google.protobuf.Empty
1, // 7: ethrpc.v1.RpcService.Mining:input_type -> google.protobuf.Empty
1, // 8: ethrpc.v1.RpcService.HashRate:input_type -> google.protobuf.Empty
1, // 9: ethrpc.v1.RpcService.Accounts:input_type -> google.protobuf.Empty
1, // 10: ethrpc.v1.RpcService.GasPrice:input_type -> google.protobuf.Empty
1, // 11: ethrpc.v1.RpcService.BlockNumber:input_type -> google.protobuf.Empty
2, // 12: ethrpc.v1.RpcService.BlockByHash:input_type -> ethrpc.v1.BlockByHashRequest
3, // 13: ethrpc.v1.RpcService.BlockByNumber:input_type -> ethrpc.v1.BlockByNumberRequest
4, // 14: ethrpc.v1.RpcService.BlockTransactionCountByHash:input_type -> ethrpc.v1.BlockTransactionCountByHashRequest
5, // 15: ethrpc.v1.RpcService.BlockTransactionCountByNumber:input_type -> ethrpc.v1.BlockTransactionCountByNumberRequest
6, // 16: ethrpc.v1.RpcService.UncleCountByHash:input_type -> ethrpc.v1.UncleCountByHashRequest
7, // 17: ethrpc.v1.RpcService.UncleCountByNumber:input_type -> ethrpc.v1.UncleCountByNumberRequest
8, // 18: ethrpc.v1.RpcService.UncleByBlockHashAndIndex:input_type -> ethrpc.v1.UncleByBlockHashAndIndexRequest
9, // 19: ethrpc.v1.RpcService.UncleByBlockNumberAndIndex:input_type -> ethrpc.v1.UncleByBlockNumberAndIndexRequest
10, // 20: ethrpc.v1.RpcService.Compilers:input_type -> ethrpc.v1.CompilersRequest
11, // 21: ethrpc.v1.RpcService.CompileSolidity:input_type -> ethrpc.v1.CompileSolidityRequest
12, // 22: ethrpc.v1.RpcService.CompileLLL:input_type -> ethrpc.v1.CompileLLLRequest
13, // 23: ethrpc.v1.RpcService.CompileSerpent:input_type -> ethrpc.v1.CompileSerpentRequest
14, // 24: ethrpc.v1.RpcService.EstimateGas:input_type -> ethrpc.v1.EstimateGasRequest
15, // 25: ethrpc.v1.RpcService.TransactionByHash:input_type -> ethrpc.v1.TransactionByHashRequest
16, // 26: ethrpc.v1.RpcService.TransactionByBlockHashAndIndex:input_type -> ethrpc.v1.TransactionByBlockHashAndIndexRequest
17, // 27: ethrpc.v1.RpcService.TransactionByBlockNumberAndIndex:input_type -> ethrpc.v1.TransactionByBlockNumberAndIndexRequest
18, // 28: ethrpc.v1.RpcService.TransactionReceipt:input_type -> ethrpc.v1.TransactionReceiptRequest
19, // 29: ethrpc.v1.RpcService.Balance:input_type -> ethrpc.v1.BalanceRequest
20, // 30: ethrpc.v1.RpcService.Storage:input_type -> ethrpc.v1.StorageRequest
21, // 31: ethrpc.v1.RpcService.Nonce:input_type -> ethrpc.v1.NonceRequest
22, // 32: ethrpc.v1.RpcService.RepeatedNonce:input_type -> ethrpc.v1.RepeatedNonceRequest
23, // 33: ethrpc.v1.RpcService.TransactionCount:input_type -> ethrpc.v1.TransactionCountRequest
24, // 34: ethrpc.v1.RpcService.GetCode:input_type -> ethrpc.v1.GetCodeRequest
25, // 35: ethrpc.v1.RpcService.Sign:input_type -> ethrpc.v1.SignRequest
26, // 36: ethrpc.v1.RpcService.SignTransaction:input_type -> ethrpc.v1.SignTransactionRequest
27, // 37: ethrpc.v1.RpcService.SendTransaction:input_type -> base.v1.EthTx
27, // 38: ethrpc.v1.RpcService.SendRawTransaction:input_type -> base.v1.EthTx
28, // 39: ethrpc.v1.RpcService.Call:input_type -> ethrpc.v1.CallRequest
29, // 40: ethrpc.v1.RpcService.NewFilter:input_type -> ethrpc.v1.NewFilterRequest
1, // 41: ethrpc.v1.RpcService.NewBlockFilter:input_type -> google.protobuf.Empty
1, // 42: ethrpc.v1.RpcService.PendingTransactionFilter:input_type -> google.protobuf.Empty
30, // 43: ethrpc.v1.RpcService.UninstallFilter:input_type -> ethrpc.v1.UninstallFilterRequest
31, // 44: ethrpc.v1.RpcService.FilterChanges:input_type -> ethrpc.v1.FilterChangesRequest
32, // 45: ethrpc.v1.RpcService.FilterLogs:input_type -> ethrpc.v1.FilterLogsRequest
33, // 46: ethrpc.v1.RpcService.Logs:input_type -> ethrpc.v1.LogsRequest
34, // 47: ethrpc.v1.RpcService.Sha3:output_type -> ethrpc.v1.Sha3Response
35, // 48: ethrpc.v1.RpcService.NodeVersion:output_type -> ethrpc.v1.NodeVersionResponse
36, // 49: ethrpc.v1.RpcService.NetVersion:output_type -> ethrpc.v1.NetVersionResponse
37, // 50: ethrpc.v1.RpcService.NetPeerCount:output_type -> ethrpc.v1.NetPeerCountResponse
38, // 51: ethrpc.v1.RpcService.ProtocolVersion:output_type -> ethrpc.v1.ProtocolVersionResponse
39, // 52: ethrpc.v1.RpcService.Syncing:output_type -> ethrpc.v1.SyncingResponse
40, // 53: ethrpc.v1.RpcService.Coinbase:output_type -> ethrpc.v1.CoinbaseResponse
41, // 54: ethrpc.v1.RpcService.Mining:output_type -> ethrpc.v1.MiningResponse
42, // 55: ethrpc.v1.RpcService.HashRate:output_type -> ethrpc.v1.HashRateResponse
43, // 56: ethrpc.v1.RpcService.Accounts:output_type -> ethrpc.v1.AccountsResponse
44, // 57: ethrpc.v1.RpcService.GasPrice:output_type -> ethrpc.v1.GasPriceResponse
45, // 58: ethrpc.v1.RpcService.BlockNumber:output_type -> ethrpc.v1.HeightResponse
46, // 59: ethrpc.v1.RpcService.BlockByHash:output_type -> ethrpc.v1.BlockByHashResponse
47, // 60: ethrpc.v1.RpcService.BlockByNumber:output_type -> ethrpc.v1.BlockByNumberResponse
48, // 61: ethrpc.v1.RpcService.BlockTransactionCountByHash:output_type -> ethrpc.v1.BlockTransactionCountByHashResponse
49, // 62: ethrpc.v1.RpcService.BlockTransactionCountByNumber:output_type -> ethrpc.v1.BlockTransactionCountByNumberResponse
50, // 63: ethrpc.v1.RpcService.UncleCountByHash:output_type -> ethrpc.v1.UncleCountByHashResponse
51, // 64: ethrpc.v1.RpcService.UncleCountByNumber:output_type -> ethrpc.v1.UncleCountByNumberResponse
52, // 65: ethrpc.v1.RpcService.UncleByBlockHashAndIndex:output_type -> ethrpc.v1.UncleByBlockHashAndIndexResponse
53, // 66: ethrpc.v1.RpcService.UncleByBlockNumberAndIndex:output_type -> ethrpc.v1.UncleByBlockNumberAndIndexResponse
54, // 67: ethrpc.v1.RpcService.Compilers:output_type -> ethrpc.v1.CompilersResponse
55, // 68: ethrpc.v1.RpcService.CompileSolidity:output_type -> ethrpc.v1.CompileSolidityResponse
56, // 69: ethrpc.v1.RpcService.CompileLLL:output_type -> ethrpc.v1.CompileLLLResponse
57, // 70: ethrpc.v1.RpcService.CompileSerpent:output_type -> ethrpc.v1.CompileSerpentResponse
58, // 71: ethrpc.v1.RpcService.EstimateGas:output_type -> ethrpc.v1.EstimateGasResponse
59, // 72: ethrpc.v1.RpcService.TransactionByHash:output_type -> ethrpc.v1.TransactionByHashResponse
60, // 73: ethrpc.v1.RpcService.TransactionByBlockHashAndIndex:output_type -> ethrpc.v1.TransactionByBlockHashAndIndexResponse
61, // 74: ethrpc.v1.RpcService.TransactionByBlockNumberAndIndex:output_type -> ethrpc.v1.TransactionByBlockNumberAndIndexResponse
62, // 75: ethrpc.v1.RpcService.TransactionReceipt:output_type -> ethrpc.v1.TransactionReceiptResponse
63, // 76: ethrpc.v1.RpcService.Balance:output_type -> ethrpc.v1.BalanceResponse
64, // 77: ethrpc.v1.RpcService.Storage:output_type -> ethrpc.v1.StorageResponse
65, // 78: ethrpc.v1.RpcService.Nonce:output_type -> ethrpc.v1.NonceResponse
66, // 79: ethrpc.v1.RpcService.RepeatedNonce:output_type -> ethrpc.v1.RepeatedNonceResponse
67, // 80: ethrpc.v1.RpcService.TransactionCount:output_type -> ethrpc.v1.TransactionCountResponse
68, // 81: ethrpc.v1.RpcService.GetCode:output_type -> ethrpc.v1.GetCodeResponse
69, // 82: ethrpc.v1.RpcService.Sign:output_type -> ethrpc.v1.SignResponse
70, // 83: ethrpc.v1.RpcService.SignTransaction:output_type -> ethrpc.v1.SignTransactionResponse
71, // 84: ethrpc.v1.RpcService.SendTransaction:output_type -> ethrpc.v1.SendTransactionResponse
72, // 85: ethrpc.v1.RpcService.SendRawTransaction:output_type -> ethrpc.v1.SendRawTransactionResponse
73, // 86: ethrpc.v1.RpcService.Call:output_type -> ethrpc.v1.CallResponse
74, // 87: ethrpc.v1.RpcService.NewFilter:output_type -> ethrpc.v1.NewFilterResponse
75, // 88: ethrpc.v1.RpcService.NewBlockFilter:output_type -> ethrpc.v1.NewBlockFilterResponse
76, // 89: ethrpc.v1.RpcService.PendingTransactionFilter:output_type -> ethrpc.v1.PendingTransactionFilterResponse
77, // 90: ethrpc.v1.RpcService.UninstallFilter:output_type -> ethrpc.v1.UninstallFilterResponse
78, // 91: ethrpc.v1.RpcService.FilterChanges:output_type -> ethrpc.v1.FilterChangesResponse
79, // 92: ethrpc.v1.RpcService.FilterLogs:output_type -> ethrpc.v1.FilterLogsResponse
80, // 93: ethrpc.v1.RpcService.Logs:output_type -> ethrpc.v1.LogsResponse
47, // [47:94] is the sub-list for method output_type
0, // [0:47] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("ethrpc/v1/service.proto", fileDescriptor_9a361d118a8cc4c1) }
func init() { file_ethrpc_v1_service_proto_init() }
func file_ethrpc_v1_service_proto_init() {
if File_ethrpc_v1_service_proto != nil {
return
}
file_ethrpc_v1_request_response_proto_init()
file_ethrpc_v1_account_req_res_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ethrpc_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_ethrpc_v1_service_proto_goTypes,
DependencyIndexes: file_ethrpc_v1_service_proto_depIdxs,
}.Build()
File_ethrpc_v1_service_proto = out.File
file_ethrpc_v1_service_proto_rawDesc = nil
file_ethrpc_v1_service_proto_goTypes = nil
file_ethrpc_v1_service_proto_depIdxs = nil
var fileDescriptor_9a361d118a8cc4c1 = []byte{
// 1142 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x98, 0xdd, 0x72, 0x1b, 0x35,
0x14, 0xc7, 0x49, 0x80, 0x96, 0xaa, 0x1f, 0x81, 0x1d, 0x48, 0x82, 0x43, 0x3e, 0x69, 0x6f, 0x80,
0xda, 0x75, 0x73, 0x45, 0x81, 0x61, 0x62, 0x4f, 0x48, 0x3a, 0x38, 0x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, 0x3e, 0xcc, 0x32, 0xd6, 0x1d, 0x53,
0x16, 0x42, 0x66, 0x1d, 0x66, 0x4b, 0x71, 0x1d, 0xe6, 0x92, 0x01, 0xf7, 0x6f, 0x29, 0xf5, 0x78,
0x98, 0x59, 0xfd, 0xfb, 0x22, 0xec, 0xea, 0xdf, 0x58, 0xc5, 0xbb, 0xa6, 0xc0, 0xe0, 0x5d, 0x83,
0x01, 0x2b, 0x95, 0xb8, 0x4e, 0xed, 0xfc, 0xbd, 0x40, 0x6e, 0xfa, 0x7c, 0x72, 0x61, 0xe8, 0xdc,
0x50, 0x5f, 0xd2, 0x8b, 0xaf, 0x95, 0x83, 0x85, 0xa7, 0xdf, 0x86, 0x91, 0x18, 0x4f, 0x4f, 0x9a,
0x3e, 0x9f, 0xb4, 0xba, 0x34, 0x98, 0xfa, 0x30, 0xcd, 0x8e, 0x40, 0xd0, 0x53, 0x48, 0x33, 0xd0,
0xdf, 0x3d, 0x5b, 0x13, 0x10, 0x34, 0xd1, 0x7f, 0x84, 0xc0, 0xe4, 0xef, 0x0e, 0xad, 0x90, 0xb7,
0xcc, 0x0f, 0x09, 0x9f, 0xc9, 0x4f, 0xa7, 0xed, 0x3f, 0x17, 0x5f, 0xdf, 0x7f, 0xf2, 0xe4, 0xaf,
0xc5, 0x6b, 0xfb, 0x72, 0xd0, 0xe3, 0xf6, 0x3f, 0xfa, 0xf3, 0xb3, 0xe3, 0xf6, 0xbf, 0x8b, 0xef,
0x99, 0xcf, 0xcf, 0x0e, 0x06, 0x9d, 0x7c, 0xac, 0x80, 0x0a, 0xfa, 0xdf, 0x22, 0x91, 0xf1, 0x07,
0x0f, 0x8e, 0xdb, 0x27, 0x57, 0x0a, 0xfe, 0xee, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x04, 0xbf,
0x1a, 0xa5, 0x0b, 0x11, 0x00, 0x00,
}
......@@ -69,8 +69,8 @@ type RpcServiceClient interface {
GetCode(ctx context.Context, in *GetCodeRequest, opts ...grpc.CallOption) (*GetCodeResponse, error)
Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error)
SendTransaction(ctx context.Context, in *v1.EthTx, opts ...grpc.CallOption) (*SendTransactionResponse, error)
SendRawTransaction(ctx context.Context, in *v1.EthTx, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendTransactionResponse, error)
SendRawTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error)
// filter
NewFilter(ctx context.Context, in *NewFilterRequest, opts ...grpc.CallOption) (*NewFilterResponse, error)
......@@ -423,7 +423,7 @@ func (c *rpcServiceClient) SignTransaction(ctx context.Context, in *SignTransact
return out, nil
}
func (c *rpcServiceClient) SendTransaction(ctx context.Context, in *v1.EthTx, opts ...grpc.CallOption) (*SendTransactionResponse, error) {
func (c *rpcServiceClient) SendTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendTransactionResponse, error) {
out := new(SendTransactionResponse)
err := c.cc.Invoke(ctx, "/ethrpc.v1.RpcService/SendTransaction", in, out, opts...)
if err != nil {
......@@ -432,7 +432,7 @@ func (c *rpcServiceClient) SendTransaction(ctx context.Context, in *v1.EthTx, op
return out, nil
}
func (c *rpcServiceClient) SendRawTransaction(ctx context.Context, in *v1.EthTx, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
func (c *rpcServiceClient) SendRawTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ethrpc.v1.RpcService/SendRawTransaction", in, out, opts...)
if err != nil {
......@@ -562,8 +562,8 @@ type RpcServiceServer interface {
GetCode(context.Context, *GetCodeRequest) (*GetCodeResponse, error)
Sign(context.Context, *SignRequest) (*SignResponse, error)
SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
SendTransaction(context.Context, *v1.EthTx) (*SendTransactionResponse, error)
SendRawTransaction(context.Context, *v1.EthTx) (*SendRawTransactionResponse, error)
SendTransaction(context.Context, *v1.EthTransaction) (*SendTransactionResponse, error)
SendRawTransaction(context.Context, *v1.EthTransaction) (*SendRawTransactionResponse, error)
Call(context.Context, *CallRequest) (*CallResponse, error)
// filter
NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error)
......@@ -691,10 +691,10 @@ func (UnimplementedRpcServiceServer) Sign(context.Context, *SignRequest) (*SignR
func (UnimplementedRpcServiceServer) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SignTransaction not implemented")
}
func (UnimplementedRpcServiceServer) SendTransaction(context.Context, *v1.EthTx) (*SendTransactionResponse, error) {
func (UnimplementedRpcServiceServer) SendTransaction(context.Context, *v1.EthTransaction) (*SendTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented")
}
func (UnimplementedRpcServiceServer) SendRawTransaction(context.Context, *v1.EthTx) (*SendRawTransactionResponse, error) {
func (UnimplementedRpcServiceServer) SendRawTransaction(context.Context, *v1.EthTransaction) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRawTransaction not implemented")
}
func (UnimplementedRpcServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error) {
......@@ -1401,7 +1401,7 @@ func _RpcService_SignTransaction_Handler(srv interface{}, ctx context.Context, d
}
func _RpcService_SendTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.EthTx)
in := new(v1.EthTransaction)
if err := dec(in); err != nil {
return nil, err
}
......@@ -1413,13 +1413,13 @@ func _RpcService_SendTransaction_Handler(srv interface{}, ctx context.Context, d
FullMethod: "/ethrpc.v1.RpcService/SendTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RpcServiceServer).SendTransaction(ctx, req.(*v1.EthTx))
return srv.(RpcServiceServer).SendTransaction(ctx, req.(*v1.EthTransaction))
}
return interceptor(ctx, in, info, handler)
}
func _RpcService_SendRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.EthTx)
in := new(v1.EthTransaction)
if err := dec(in); err != nil {
return nil, err
}
......@@ -1431,7 +1431,7 @@ func _RpcService_SendRawTransaction_Handler(srv interface{}, ctx context.Context
FullMethod: "/ethrpc.v1.RpcService/SendRawTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RpcServiceServer).SendRawTransaction(ctx, req.(*v1.EthTx))
return srv.(RpcServiceServer).SendRawTransaction(ctx, req.(*v1.EthTransaction))
}
return interceptor(ctx, in, info, handler)
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: nebula/v1/request_response.proto
package nebulav1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_nebula_v1_request_response_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_nebula_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x20, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x09, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x18, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0xbd, 0x01, 0x0a, 0x0d, 0x63,
0x6f, 0x6d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x3b, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e, 0x58, 0x58, 0xaa, 0x02, 0x09,
0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x4e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a,
0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_nebula_v1_request_response_proto_goTypes = []interface{}{}
var file_nebula_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("nebula/v1/request_response.proto", fileDescriptor_4c600a7b006f1b4e) }
func init() { file_nebula_v1_request_response_proto_init() }
func file_nebula_v1_request_response_proto_init() {
if File_nebula_v1_request_response_proto != nil {
return
}
file_nebula_v1_resource_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_nebula_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_nebula_v1_request_response_proto_goTypes,
DependencyIndexes: file_nebula_v1_request_response_proto_depIdxs,
}.Build()
File_nebula_v1_request_response_proto = out.File
file_nebula_v1_request_response_proto_rawDesc = nil
file_nebula_v1_request_response_proto_goTypes = nil
file_nebula_v1_request_response_proto_depIdxs = nil
var fileDescriptor_4c600a7b006f1b4e = []byte{
// 248 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8e, 0xc1, 0x4a, 0xc3, 0x30,
0x18, 0xc7, 0x59, 0x05, 0x61, 0x05, 0x2f, 0xa2, 0x20, 0xbb, 0xb8, 0x27, 0x68, 0x08, 0xde, 0xe6,
0xad, 0x1e, 0x3c, 0x39, 0xea, 0x0e, 0x65, 0xc8, 0x60, 0x7c, 0x4d, 0xbf, 0xc5, 0x62, 0xd3, 0xaf,
0x26, 0x5f, 0xfa, 0x40, 0x1e, 0x7d, 0x07, 0x5f, 0xc0, 0xc7, 0xf0, 0xe8, 0x53, 0xc8, 0x96, 0xac,
0xc8, 0x6e, 0xff, 0x24, 0x3f, 0xf2, 0xfb, 0xa5, 0xf3, 0x0e, 0x2b, 0xdf, 0x82, 0x18, 0xa4, 0xb0,
0xf8, 0xee, 0xd1, 0xf1, 0xd6, 0xa2, 0xeb, 0xa9, 0x73, 0x98, 0xf5, 0x96, 0x98, 0x2e, 0xa7, 0x81,
0xc8, 0x06, 0x39, 0x9b, 0x6b, 0x22, 0xdd, 0xa2, 0x38, 0x3c, 0x54, 0x7e, 0x27, 0x76, 0x0d, 0xb6,
0xf5, 0xd6, 0x80, 0x7b, 0x0b, 0xf0, 0xec, 0xf6, 0x94, 0xe0, 0xc6, 0xa0, 0x63, 0x30, 0x7d, 0x04,
0x6e, 0xfe, 0xfb, 0x1c, 0x79, 0xab, 0xa2, 0x27, 0xff, 0x9a, 0xa4, 0x17, 0x8a, 0x4c, 0x36, 0xea,
0xf2, 0xab, 0x55, 0x28, 0x5a, 0xc5, 0xa0, 0x62, 0xcf, 0x15, 0x93, 0x97, 0x67, 0xdd, 0xf0, 0xab,
0xaf, 0x32, 0x45, 0x46, 0x3c, 0x40, 0xed, 0x15, 0x7a, 0xf7, 0x84, 0x0c, 0x03, 0xda, 0x08, 0x29,
0x6a, 0x85, 0x41, 0x86, 0xfe, 0x78, 0xd0, 0xd8, 0x85, 0x26, 0xa1, 0x49, 0x8c, 0x09, 0xf7, 0x61,
0x0d, 0xf2, 0x23, 0x39, 0x5b, 0xae, 0xd7, 0x9f, 0xc9, 0x74, 0x19, 0xe4, 0xa5, 0xfc, 0x3e, 0xee,
0x4d, 0x29, 0x7f, 0x92, 0xeb, 0x71, 0x6f, 0x1e, 0x8b, 0x7c, 0xef, 0xaa, 0x81, 0xe1, 0x37, 0x49,
0xc3, 0xfd, 0x62, 0x51, 0xca, 0xea, 0xfc, 0xf0, 0xff, 0xdd, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff,
0xda, 0x3b, 0x18, 0xa5, 0x52, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: nebula/v1/resource.proto
package nebulav1
import (
fmt "fmt"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type Tx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Hash *v1.Hash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
type Tx struct {
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Hash *v1.Hash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *Tx) Reset() {
*x = Tx{}
if protoimpl.UnsafeEnabled {
mi := &file_nebula_v1_resource_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *Tx) Reset() { *m = Tx{} }
func (m *Tx) String() string { return proto.CompactTextString(m) }
func (*Tx) ProtoMessage() {}
func (*Tx) Descriptor() ([]byte, []int) {
return fileDescriptor_77da30a6e0efe5d2, []int{0}
}
func (x *Tx) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Tx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Tx.Unmarshal(m, b)
}
func (*Tx) ProtoMessage() {}
func (x *Tx) ProtoReflect() protoreflect.Message {
mi := &file_nebula_v1_resource_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Tx.Marshal(b, m, deterministic)
}
// Deprecated: Use Tx.ProtoReflect.Descriptor instead.
func (*Tx) Descriptor() ([]byte, []int) {
return file_nebula_v1_resource_proto_rawDescGZIP(), []int{0}
func (m *Tx) XXX_Merge(src proto.Message) {
xxx_messageInfo_Tx.Merge(m, src)
}
func (m *Tx) XXX_Size() int {
return xxx_messageInfo_Tx.Size(m)
}
func (m *Tx) XXX_DiscardUnknown() {
xxx_messageInfo_Tx.DiscardUnknown(m)
}
var xxx_messageInfo_Tx proto.InternalMessageInfo
func (x *Tx) GetAddress() *v1.Address {
if x != nil {
return x.Address
func (m *Tx) GetAddress() *v1.Address {
if m != nil {
return m.Address
}
return nil
}
func (x *Tx) GetHash() *v1.Hash {
if x != nil {
return x.Hash
func (m *Tx) GetHash() *v1.Hash {
if m != nil {
return m.Hash
}
return nil
}
var File_nebula_v1_resource_proto protoreflect.FileDescriptor
var file_nebula_v1_resource_proto_rawDesc = []byte{
0x0a, 0x18, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x6e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a,
0x02, 0x54, 0x78, 0x12, 0x2a, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
0x21, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x68, 0x61,
0x73, 0x68, 0x42, 0xb6, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c,
0x61, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65,
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x3b,
0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e, 0x58, 0x58, 0xaa, 0x02,
0x09, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x4e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x5c,
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_nebula_v1_resource_proto_rawDescOnce sync.Once
file_nebula_v1_resource_proto_rawDescData = file_nebula_v1_resource_proto_rawDesc
)
func file_nebula_v1_resource_proto_rawDescGZIP() []byte {
file_nebula_v1_resource_proto_rawDescOnce.Do(func() {
file_nebula_v1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_nebula_v1_resource_proto_rawDescData)
})
return file_nebula_v1_resource_proto_rawDescData
}
var file_nebula_v1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_nebula_v1_resource_proto_goTypes = []interface{}{
(*Tx)(nil), // 0: nebula.v1.Tx
(*v1.Address)(nil), // 1: base.v1.Address
(*v1.Hash)(nil), // 2: base.v1.Hash
}
var file_nebula_v1_resource_proto_depIdxs = []int32{
1, // 0: nebula.v1.Tx.address:type_name -> base.v1.Address
2, // 1: nebula.v1.Tx.hash:type_name -> base.v1.Hash
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
func init() {
proto.RegisterType((*Tx)(nil), "nebula.v1.Tx")
}
func init() { file_nebula_v1_resource_proto_init() }
func file_nebula_v1_resource_proto_init() {
if File_nebula_v1_resource_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_nebula_v1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Tx); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_nebula_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_nebula_v1_resource_proto_goTypes,
DependencyIndexes: file_nebula_v1_resource_proto_depIdxs,
MessageInfos: file_nebula_v1_resource_proto_msgTypes,
}.Build()
File_nebula_v1_resource_proto = out.File
file_nebula_v1_resource_proto_rawDesc = nil
file_nebula_v1_resource_proto_goTypes = nil
file_nebula_v1_resource_proto_depIdxs = nil
func init() { proto.RegisterFile("nebula/v1/resource.proto", fileDescriptor_77da30a6e0efe5d2) }
var fileDescriptor_77da30a6e0efe5d2 = []byte{
// 254 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xc8, 0x4b, 0x4d, 0x2a,
0xcd, 0x49, 0xd4, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0xc8, 0xe8, 0x95, 0x19, 0x4a, 0x89, 0x25, 0x25, 0x16,
0xa7, 0x62, 0x2a, 0x51, 0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, 0x6f,
0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x45, 0x30, 0x76, 0xe7, 0x53, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: nebula/v1/service.proto
package nebulav1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/emptypb"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_nebula_v1_service_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_nebula_v1_service_proto_rawDesc = []byte{
0x0a, 0x17, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x6e, 0x65, 0x62, 0x75, 0x6c,
0x61, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x20, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x5f, 0x72, 0x65, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb0, 0x1f, 0x0a, 0x0d, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x53, 0x68, 0x61, 0x33, 0x12, 0x16,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x33, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x33, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x47, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c,
0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0a, 0x4e, 0x65,
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
0x1a, 0x1d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74,
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x49, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f, 0x2e, 0x6e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61,
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a,
0x07, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
0x1a, 0x1a, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e,
0x63, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41,
0x0a, 0x08, 0x43, 0x6f, 0x69, 0x6e, 0x62, 0x61, 0x73, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43,
0x6f, 0x69, 0x6e, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x3d, 0x0a, 0x06, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x41, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31,
0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12,
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61,
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x08, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69,
0x63, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x6e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0b, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
0x1a, 0x19, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x69,
0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a,
0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x2e, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79,
0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6e, 0x65,
0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x48,
0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a,
0x0d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x20, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x7e, 0x0a, 0x1b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61,
0x73, 0x68, 0x12, 0x2d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x2e, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x1d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76,
0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x6e,
0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x22,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55,
0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x55, 0x6e, 0x63,
0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
0x24, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c,
0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76,
0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75,
0x0a, 0x18, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2a, 0x2e, 0x6e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48,
0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x1a, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79,
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e,
0x64, 0x65, 0x78, 0x12, 0x2c, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x55, 0x6e, 0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62,
0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x2d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e,
0x63, 0x6c, 0x65, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12,
0x1b, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f,
0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x12,
0x21, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
0x69, 0x6c, 0x65, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43,
0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x70,
0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c, 0x12, 0x1c, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31,
0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
0x53, 0x65, 0x72, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61,
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x70, 0x65,
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x72,
0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e,
0x0a, 0x0b, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x12, 0x1d, 0x2e,
0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61,
0x74, 0x65, 0x47, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74,
0x65, 0x47, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60,
0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x48,
0x61, 0x73, 0x68, 0x12, 0x23, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x48, 0x61, 0x73,
0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c,
0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x87, 0x01, 0x0a, 0x1e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e,
0x64, 0x65, 0x78, 0x12, 0x30, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76,
0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8d, 0x01, 0x0a, 0x20, 0x54,
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12,
0x32, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x54, 0x72,
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74,
0x12, 0x24, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x42, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x6e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76,
0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x19,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x05, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
0x12, 0x17, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x6e,
0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61,
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x6e, 0x63,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x54,
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x22, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65,
0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76,
0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1a, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39,
0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x16, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x53, 0x69, 0x67,
0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x22, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c,
0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6e, 0x65,
0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x63, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61,
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73,
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61,
0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x48, 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6e, 0x65,
0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65,
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0e, 0x4e,
0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76,
0x31, 0x2e, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x18, 0x50, 0x65,
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2b,
0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69,
0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c,
0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a,
0x0f, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x12, 0x21, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69,
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e,
0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6c,
0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x6e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6e, 0x65,
0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68,
0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1c, 0x2e,
0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6e, 0x65,
0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f,
0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04,
0x4c, 0x6f, 0x67, 0x73, 0x12, 0x16, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31,
0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb5, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e,
0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75,
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65,
0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61,
0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e,
0x58, 0x58, 0xaa, 0x02, 0x09, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02,
0x09, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x4e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0xea, 0x02, 0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_nebula_v1_service_proto_goTypes = []interface{}{
(*Sha3Request)(nil), // 0: nebula.v1.Sha3Request
(*emptypb.Empty)(nil), // 1: google.protobuf.Empty
(*BlockByHashRequest)(nil), // 2: nebula.v1.BlockByHashRequest
(*BlockByNumberRequest)(nil), // 3: nebula.v1.BlockByNumberRequest
(*BlockTransactionCountByHashRequest)(nil), // 4: nebula.v1.BlockTransactionCountByHashRequest
(*BlockTransactionCountByNumberRequest)(nil), // 5: nebula.v1.BlockTransactionCountByNumberRequest
(*UncleCountByHashRequest)(nil), // 6: nebula.v1.UncleCountByHashRequest
(*UncleCountByNumberRequest)(nil), // 7: nebula.v1.UncleCountByNumberRequest
(*UncleByBlockHashAndIndexRequest)(nil), // 8: nebula.v1.UncleByBlockHashAndIndexRequest
(*UncleByBlockNumberAndIndexRequest)(nil), // 9: nebula.v1.UncleByBlockNumberAndIndexRequest
(*CompilersRequest)(nil), // 10: nebula.v1.CompilersRequest
(*CompileSolidityRequest)(nil), // 11: nebula.v1.CompileSolidityRequest
(*CompileLLLRequest)(nil), // 12: nebula.v1.CompileLLLRequest
(*CompileSerpentRequest)(nil), // 13: nebula.v1.CompileSerpentRequest
(*EstimateGasRequest)(nil), // 14: nebula.v1.EstimateGasRequest
(*TransactionByHashRequest)(nil), // 15: nebula.v1.TransactionByHashRequest
(*TransactionByBlockHashAndIndexRequest)(nil), // 16: nebula.v1.TransactionByBlockHashAndIndexRequest
(*TransactionByBlockNumberAndIndexRequest)(nil), // 17: nebula.v1.TransactionByBlockNumberAndIndexRequest
(*TransactionReceiptRequest)(nil), // 18: nebula.v1.TransactionReceiptRequest
(*BalanceRequest)(nil), // 19: nebula.v1.BalanceRequest
(*StorageRequest)(nil), // 20: nebula.v1.StorageRequest
(*NonceRequest)(nil), // 21: nebula.v1.NonceRequest
(*RepeatedNonceRequest)(nil), // 22: nebula.v1.RepeatedNonceRequest
(*TransactionCountRequest)(nil), // 23: nebula.v1.TransactionCountRequest
(*GetCodeRequest)(nil), // 24: nebula.v1.GetCodeRequest
(*SignRequest)(nil), // 25: nebula.v1.SignRequest
(*SignTransactionRequest)(nil), // 26: nebula.v1.SignTransactionRequest
(*SendTransactionRequest)(nil), // 27: nebula.v1.SendTransactionRequest
(*SendRawTransactionRequest)(nil), // 28: nebula.v1.SendRawTransactionRequest
(*CallRequest)(nil), // 29: nebula.v1.CallRequest
(*NewFilterRequest)(nil), // 30: nebula.v1.NewFilterRequest
(*UninstallFilterRequest)(nil), // 31: nebula.v1.UninstallFilterRequest
(*FilterChangesRequest)(nil), // 32: nebula.v1.FilterChangesRequest
(*FilterLogsRequest)(nil), // 33: nebula.v1.FilterLogsRequest
(*LogsRequest)(nil), // 34: nebula.v1.LogsRequest
(*Sha3Response)(nil), // 35: nebula.v1.Sha3Response
(*NodeVersionResponse)(nil), // 36: nebula.v1.NodeVersionResponse
(*NetVersionResponse)(nil), // 37: nebula.v1.NetVersionResponse
(*NetPeerCountResponse)(nil), // 38: nebula.v1.NetPeerCountResponse
(*ProtocolVersionResponse)(nil), // 39: nebula.v1.ProtocolVersionResponse
(*SyncingResponse)(nil), // 40: nebula.v1.SyncingResponse
(*CoinbaseResponse)(nil), // 41: nebula.v1.CoinbaseResponse
(*MiningResponse)(nil), // 42: nebula.v1.MiningResponse
(*HashRateResponse)(nil), // 43: nebula.v1.HashRateResponse
(*AccountsResponse)(nil), // 44: nebula.v1.AccountsResponse
(*GasPriceResponse)(nil), // 45: nebula.v1.GasPriceResponse
(*HeightResponse)(nil), // 46: nebula.v1.HeightResponse
(*BlockByHashResponse)(nil), // 47: nebula.v1.BlockByHashResponse
(*BlockByNumberResponse)(nil), // 48: nebula.v1.BlockByNumberResponse
(*BlockTransactionCountByHashResponse)(nil), // 49: nebula.v1.BlockTransactionCountByHashResponse
(*BlockTransactionCountByNumberResponse)(nil), // 50: nebula.v1.BlockTransactionCountByNumberResponse
(*UncleCountByHashResponse)(nil), // 51: nebula.v1.UncleCountByHashResponse
(*UncleCountByNumberResponse)(nil), // 52: nebula.v1.UncleCountByNumberResponse
(*UncleByBlockHashAndIndexResponse)(nil), // 53: nebula.v1.UncleByBlockHashAndIndexResponse
(*UncleByBlockNumberAndIndexResponse)(nil), // 54: nebula.v1.UncleByBlockNumberAndIndexResponse
(*CompilersResponse)(nil), // 55: nebula.v1.CompilersResponse
(*CompileSolidityResponse)(nil), // 56: nebula.v1.CompileSolidityResponse
(*CompileLLLResponse)(nil), // 57: nebula.v1.CompileLLLResponse
(*CompileSerpentResponse)(nil), // 58: nebula.v1.CompileSerpentResponse
(*EstimateGasResponse)(nil), // 59: nebula.v1.EstimateGasResponse
(*TransactionByHashResponse)(nil), // 60: nebula.v1.TransactionByHashResponse
(*TransactionByBlockHashAndIndexResponse)(nil), // 61: nebula.v1.TransactionByBlockHashAndIndexResponse
(*TransactionByBlockNumberAndIndexResponse)(nil), // 62: nebula.v1.TransactionByBlockNumberAndIndexResponse
(*TransactionReceiptResponse)(nil), // 63: nebula.v1.TransactionReceiptResponse
(*BalanceResponse)(nil), // 64: nebula.v1.BalanceResponse
(*StorageResponse)(nil), // 65: nebula.v1.StorageResponse
(*NonceResponse)(nil), // 66: nebula.v1.NonceResponse
(*RepeatedNonceResponse)(nil), // 67: nebula.v1.RepeatedNonceResponse
(*TransactionCountResponse)(nil), // 68: nebula.v1.TransactionCountResponse
(*GetCodeResponse)(nil), // 69: nebula.v1.GetCodeResponse
(*SignResponse)(nil), // 70: nebula.v1.SignResponse
(*SignTransactionResponse)(nil), // 71: nebula.v1.SignTransactionResponse
(*SendTransactionResponse)(nil), // 72: nebula.v1.SendTransactionResponse
(*SendRawTransactionResponse)(nil), // 73: nebula.v1.SendRawTransactionResponse
(*CallResponse)(nil), // 74: nebula.v1.CallResponse
(*NewFilterResponse)(nil), // 75: nebula.v1.NewFilterResponse
(*NewBlockFilterResponse)(nil), // 76: nebula.v1.NewBlockFilterResponse
(*PendingTransactionFilterResponse)(nil), // 77: nebula.v1.PendingTransactionFilterResponse
(*UninstallFilterResponse)(nil), // 78: nebula.v1.UninstallFilterResponse
(*FilterChangesResponse)(nil), // 79: nebula.v1.FilterChangesResponse
(*FilterLogsResponse)(nil), // 80: nebula.v1.FilterLogsResponse
(*LogsResponse)(nil), // 81: nebula.v1.LogsResponse
}
var file_nebula_v1_service_proto_depIdxs = []int32{
0, // 0: nebula.v1.NebulaService.Sha3:input_type -> nebula.v1.Sha3Request
1, // 1: nebula.v1.NebulaService.NodeVersion:input_type -> google.protobuf.Empty
1, // 2: nebula.v1.NebulaService.NetVersion:input_type -> google.protobuf.Empty
1, // 3: nebula.v1.NebulaService.NetPeerCount:input_type -> google.protobuf.Empty
1, // 4: nebula.v1.NebulaService.ProtocolVersion:input_type -> google.protobuf.Empty
1, // 5: nebula.v1.NebulaService.Syncing:input_type -> google.protobuf.Empty
1, // 6: nebula.v1.NebulaService.Coinbase:input_type -> google.protobuf.Empty
1, // 7: nebula.v1.NebulaService.Mining:input_type -> google.protobuf.Empty
1, // 8: nebula.v1.NebulaService.HashRate:input_type -> google.protobuf.Empty
1, // 9: nebula.v1.NebulaService.Accounts:input_type -> google.protobuf.Empty
1, // 10: nebula.v1.NebulaService.GasPrice:input_type -> google.protobuf.Empty
1, // 11: nebula.v1.NebulaService.BlockNumber:input_type -> google.protobuf.Empty
2, // 12: nebula.v1.NebulaService.BlockByHash:input_type -> nebula.v1.BlockByHashRequest
3, // 13: nebula.v1.NebulaService.BlockByNumber:input_type -> nebula.v1.BlockByNumberRequest
4, // 14: nebula.v1.NebulaService.BlockTransactionCountByHash:input_type -> nebula.v1.BlockTransactionCountByHashRequest
5, // 15: nebula.v1.NebulaService.BlockTransactionCountByNumber:input_type -> nebula.v1.BlockTransactionCountByNumberRequest
6, // 16: nebula.v1.NebulaService.UncleCountByHash:input_type -> nebula.v1.UncleCountByHashRequest
7, // 17: nebula.v1.NebulaService.UncleCountByNumber:input_type -> nebula.v1.UncleCountByNumberRequest
8, // 18: nebula.v1.NebulaService.UncleByBlockHashAndIndex:input_type -> nebula.v1.UncleByBlockHashAndIndexRequest
9, // 19: nebula.v1.NebulaService.UncleByBlockNumberAndIndex:input_type -> nebula.v1.UncleByBlockNumberAndIndexRequest
10, // 20: nebula.v1.NebulaService.Compilers:input_type -> nebula.v1.CompilersRequest
11, // 21: nebula.v1.NebulaService.CompileSolidity:input_type -> nebula.v1.CompileSolidityRequest
12, // 22: nebula.v1.NebulaService.CompileLLL:input_type -> nebula.v1.CompileLLLRequest
13, // 23: nebula.v1.NebulaService.CompileSerpent:input_type -> nebula.v1.CompileSerpentRequest
14, // 24: nebula.v1.NebulaService.EstimateGas:input_type -> nebula.v1.EstimateGasRequest
15, // 25: nebula.v1.NebulaService.TransactionByHash:input_type -> nebula.v1.TransactionByHashRequest
16, // 26: nebula.v1.NebulaService.TransactionByBlockHashAndIndex:input_type -> nebula.v1.TransactionByBlockHashAndIndexRequest
17, // 27: nebula.v1.NebulaService.TransactionByBlockNumberAndIndex:input_type -> nebula.v1.TransactionByBlockNumberAndIndexRequest
18, // 28: nebula.v1.NebulaService.TransactionReceipt:input_type -> nebula.v1.TransactionReceiptRequest
19, // 29: nebula.v1.NebulaService.Balance:input_type -> nebula.v1.BalanceRequest
20, // 30: nebula.v1.NebulaService.Storage:input_type -> nebula.v1.StorageRequest
21, // 31: nebula.v1.NebulaService.Nonce:input_type -> nebula.v1.NonceRequest
22, // 32: nebula.v1.NebulaService.RepeatedNonce:input_type -> nebula.v1.RepeatedNonceRequest
23, // 33: nebula.v1.NebulaService.TransactionCount:input_type -> nebula.v1.TransactionCountRequest
24, // 34: nebula.v1.NebulaService.GetCode:input_type -> nebula.v1.GetCodeRequest
25, // 35: nebula.v1.NebulaService.Sign:input_type -> nebula.v1.SignRequest
26, // 36: nebula.v1.NebulaService.SignTransaction:input_type -> nebula.v1.SignTransactionRequest
27, // 37: nebula.v1.NebulaService.SendTransaction:input_type -> nebula.v1.SendTransactionRequest
28, // 38: nebula.v1.NebulaService.SendRawTransaction:input_type -> nebula.v1.SendRawTransactionRequest
29, // 39: nebula.v1.NebulaService.Call:input_type -> nebula.v1.CallRequest
30, // 40: nebula.v1.NebulaService.NewFilter:input_type -> nebula.v1.NewFilterRequest
1, // 41: nebula.v1.NebulaService.NewBlockFilter:input_type -> google.protobuf.Empty
1, // 42: nebula.v1.NebulaService.PendingTransactionFilter:input_type -> google.protobuf.Empty
31, // 43: nebula.v1.NebulaService.UninstallFilter:input_type -> nebula.v1.UninstallFilterRequest
32, // 44: nebula.v1.NebulaService.FilterChanges:input_type -> nebula.v1.FilterChangesRequest
33, // 45: nebula.v1.NebulaService.FilterLogs:input_type -> nebula.v1.FilterLogsRequest
34, // 46: nebula.v1.NebulaService.Logs:input_type -> nebula.v1.LogsRequest
35, // 47: nebula.v1.NebulaService.Sha3:output_type -> nebula.v1.Sha3Response
36, // 48: nebula.v1.NebulaService.NodeVersion:output_type -> nebula.v1.NodeVersionResponse
37, // 49: nebula.v1.NebulaService.NetVersion:output_type -> nebula.v1.NetVersionResponse
38, // 50: nebula.v1.NebulaService.NetPeerCount:output_type -> nebula.v1.NetPeerCountResponse
39, // 51: nebula.v1.NebulaService.ProtocolVersion:output_type -> nebula.v1.ProtocolVersionResponse
40, // 52: nebula.v1.NebulaService.Syncing:output_type -> nebula.v1.SyncingResponse
41, // 53: nebula.v1.NebulaService.Coinbase:output_type -> nebula.v1.CoinbaseResponse
42, // 54: nebula.v1.NebulaService.Mining:output_type -> nebula.v1.MiningResponse
43, // 55: nebula.v1.NebulaService.HashRate:output_type -> nebula.v1.HashRateResponse
44, // 56: nebula.v1.NebulaService.Accounts:output_type -> nebula.v1.AccountsResponse
45, // 57: nebula.v1.NebulaService.GasPrice:output_type -> nebula.v1.GasPriceResponse
46, // 58: nebula.v1.NebulaService.BlockNumber:output_type -> nebula.v1.HeightResponse
47, // 59: nebula.v1.NebulaService.BlockByHash:output_type -> nebula.v1.BlockByHashResponse
48, // 60: nebula.v1.NebulaService.BlockByNumber:output_type -> nebula.v1.BlockByNumberResponse
49, // 61: nebula.v1.NebulaService.BlockTransactionCountByHash:output_type -> nebula.v1.BlockTransactionCountByHashResponse
50, // 62: nebula.v1.NebulaService.BlockTransactionCountByNumber:output_type -> nebula.v1.BlockTransactionCountByNumberResponse
51, // 63: nebula.v1.NebulaService.UncleCountByHash:output_type -> nebula.v1.UncleCountByHashResponse
52, // 64: nebula.v1.NebulaService.UncleCountByNumber:output_type -> nebula.v1.UncleCountByNumberResponse
53, // 65: nebula.v1.NebulaService.UncleByBlockHashAndIndex:output_type -> nebula.v1.UncleByBlockHashAndIndexResponse
54, // 66: nebula.v1.NebulaService.UncleByBlockNumberAndIndex:output_type -> nebula.v1.UncleByBlockNumberAndIndexResponse
55, // 67: nebula.v1.NebulaService.Compilers:output_type -> nebula.v1.CompilersResponse
56, // 68: nebula.v1.NebulaService.CompileSolidity:output_type -> nebula.v1.CompileSolidityResponse
57, // 69: nebula.v1.NebulaService.CompileLLL:output_type -> nebula.v1.CompileLLLResponse
58, // 70: nebula.v1.NebulaService.CompileSerpent:output_type -> nebula.v1.CompileSerpentResponse
59, // 71: nebula.v1.NebulaService.EstimateGas:output_type -> nebula.v1.EstimateGasResponse
60, // 72: nebula.v1.NebulaService.TransactionByHash:output_type -> nebula.v1.TransactionByHashResponse
61, // 73: nebula.v1.NebulaService.TransactionByBlockHashAndIndex:output_type -> nebula.v1.TransactionByBlockHashAndIndexResponse
62, // 74: nebula.v1.NebulaService.TransactionByBlockNumberAndIndex:output_type -> nebula.v1.TransactionByBlockNumberAndIndexResponse
63, // 75: nebula.v1.NebulaService.TransactionReceipt:output_type -> nebula.v1.TransactionReceiptResponse
64, // 76: nebula.v1.NebulaService.Balance:output_type -> nebula.v1.BalanceResponse
65, // 77: nebula.v1.NebulaService.Storage:output_type -> nebula.v1.StorageResponse
66, // 78: nebula.v1.NebulaService.Nonce:output_type -> nebula.v1.NonceResponse
67, // 79: nebula.v1.NebulaService.RepeatedNonce:output_type -> nebula.v1.RepeatedNonceResponse
68, // 80: nebula.v1.NebulaService.TransactionCount:output_type -> nebula.v1.TransactionCountResponse
69, // 81: nebula.v1.NebulaService.GetCode:output_type -> nebula.v1.GetCodeResponse
70, // 82: nebula.v1.NebulaService.Sign:output_type -> nebula.v1.SignResponse
71, // 83: nebula.v1.NebulaService.SignTransaction:output_type -> nebula.v1.SignTransactionResponse
72, // 84: nebula.v1.NebulaService.SendTransaction:output_type -> nebula.v1.SendTransactionResponse
73, // 85: nebula.v1.NebulaService.SendRawTransaction:output_type -> nebula.v1.SendRawTransactionResponse
74, // 86: nebula.v1.NebulaService.Call:output_type -> nebula.v1.CallResponse
75, // 87: nebula.v1.NebulaService.NewFilter:output_type -> nebula.v1.NewFilterResponse
76, // 88: nebula.v1.NebulaService.NewBlockFilter:output_type -> nebula.v1.NewBlockFilterResponse
77, // 89: nebula.v1.NebulaService.PendingTransactionFilter:output_type -> nebula.v1.PendingTransactionFilterResponse
78, // 90: nebula.v1.NebulaService.UninstallFilter:output_type -> nebula.v1.UninstallFilterResponse
79, // 91: nebula.v1.NebulaService.FilterChanges:output_type -> nebula.v1.FilterChangesResponse
80, // 92: nebula.v1.NebulaService.FilterLogs:output_type -> nebula.v1.FilterLogsResponse
81, // 93: nebula.v1.NebulaService.Logs:output_type -> nebula.v1.LogsResponse
47, // [47:94] is the sub-list for method output_type
0, // [0:47] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("nebula/v1/service.proto", fileDescriptor_95d7c4e681b05ee0) }
func init() { file_nebula_v1_service_proto_init() }
func file_nebula_v1_service_proto_init() {
if File_nebula_v1_service_proto != nil {
return
}
file_nebula_v1_request_response_proto_init()
file_nebula_v1_account_req_res_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_nebula_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_nebula_v1_service_proto_goTypes,
DependencyIndexes: file_nebula_v1_service_proto_depIdxs,
}.Build()
File_nebula_v1_service_proto = out.File
file_nebula_v1_service_proto_rawDesc = nil
file_nebula_v1_service_proto_goTypes = nil
file_nebula_v1_service_proto_depIdxs = nil
var fileDescriptor_95d7c4e681b05ee0 = []byte{
// 1113 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x98, 0xdf, 0x72, 0x1b, 0x35,
0x14, 0xc6, 0x49, 0x80, 0x96, 0xaa, 0x4d, 0x0b, 0x3b, 0x43, 0x13, 0x1c, 0xf2, 0x97, 0x70, 0x03,
0x74, 0x5d, 0x37, 0x57, 0x14, 0x18, 0x26, 0xf6, 0x84, 0xa4, 0x83, 0xb3, 0x98, 0xb8, 0x0d, 0x9d,
0x4e, 0x19, 0x90, 0x77, 0x0f, 0xeb, 0x1d, 0xd6, 0x92, 0xbb, 0x2b, 0x3b, 0x78, 0x98, 0xe1, 0x8a,
0x19, 0xae, 0x78, 0x09, 0x2e, 0xb9, 0xe2, 0x86, 0x97, 0xe0, 0x31, 0xb8, 0xe4, 0x29, 0x98, 0x5d,
0xad, 0x94, 0xa3, 0x5d, 0xad, 0xed, 0xde, 0x39, 0xe7, 0xfb, 0xf4, 0x3b, 0x47, 0x8a, 0xa4, 0x23,
0x9b, 0xac, 0x33, 0x18, 0x4c, 0x62, 0xda, 0x9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57, 0xd2, 0xe6, 0x08, 0x04, 0x1d, 0xab, 0x3f, 0x42, 0x60, 0xf2, 0x37, 0x86,
0x66, 0xc8, 0x9b, 0xfa, 0x47, 0x83, 0x4f, 0xe4, 0xa7, 0x69, 0xeb, 0x8f, 0xd5, 0x57, 0xbd, 0xa7,
0x4f, 0xff, 0x5c, 0xbd, 0x21, 0x7f, 0x2b, 0x70, 0x2f, 0x5a, 0xff, 0xa8, 0xcf, 0xcf, 0x2f, 0x5a,
0xff, 0xae, 0xbe, 0xad, 0x3f, 0x3f, 0x3f, 0xe9, 0xb5, 0xb3, 0x5c, 0x01, 0x15, 0xf4, 0xbf, 0x55,
0x22, 0xe3, 0x0f, 0x1f, 0x5e, 0xb4, 0x06, 0xd7, 0x72, 0xfe, 0xe1, 0xff, 0x01, 0x00, 0x00, 0xff,
0xff, 0xc8, 0x22, 0xab, 0x88, 0xf7, 0x10, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: p2p/v1/request_response.proto
package p2pv1
import (
fmt "fmt"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type BroadCastRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
type BroadCastRequest struct {
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BroadCastRequest) Reset() {
*x = BroadCastRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BroadCastRequest) Reset() { *m = BroadCastRequest{} }
func (m *BroadCastRequest) String() string { return proto.CompactTextString(m) }
func (*BroadCastRequest) ProtoMessage() {}
func (*BroadCastRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{0}
}
func (x *BroadCastRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BroadCastRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BroadCastRequest.Unmarshal(m, b)
}
func (*BroadCastRequest) ProtoMessage() {}
func (x *BroadCastRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BroadCastRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BroadCastRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BroadCastRequest.ProtoReflect.Descriptor instead.
func (*BroadCastRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{0}
func (m *BroadCastRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BroadCastRequest.Merge(m, src)
}
func (m *BroadCastRequest) XXX_Size() int {
return xxx_messageInfo_BroadCastRequest.Size(m)
}
func (m *BroadCastRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BroadCastRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BroadCastRequest proto.InternalMessageInfo
func (x *BroadCastRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *BroadCastRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *BroadCastRequest) GetData() []byte {
if x != nil {
return x.Data
func (m *BroadCastRequest) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type BroadCastResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BroadCastResponse) Reset() {
*x = BroadCastResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BroadCastResponse) Reset() { *m = BroadCastResponse{} }
func (m *BroadCastResponse) String() string { return proto.CompactTextString(m) }
func (*BroadCastResponse) ProtoMessage() {}
func (*BroadCastResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{1}
}
func (x *BroadCastResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BroadCastResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BroadCastResponse.Unmarshal(m, b)
}
func (*BroadCastResponse) ProtoMessage() {}
func (x *BroadCastResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BroadCastResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BroadCastResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BroadCastResponse.ProtoReflect.Descriptor instead.
func (*BroadCastResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{1}
func (m *BroadCastResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BroadCastResponse.Merge(m, src)
}
func (m *BroadCastResponse) XXX_Size() int {
return xxx_messageInfo_BroadCastResponse.Size(m)
}
func (m *BroadCastResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BroadCastResponse.DiscardUnknown(m)
}
func (x *BroadCastResponse) GetStatus() bool {
if x != nil {
return x.Status
var xxx_messageInfo_BroadCastResponse proto.InternalMessageInfo
func (m *BroadCastResponse) GetStatus() bool {
if m != nil {
return m.Status
}
return false
}
type BroadCastTxsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txs []*v1.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
Txs []*v1.BatchTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BroadCastTxsRequest) Reset() {
*x = BroadCastTxsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BroadCastTxsRequest) Reset() { *m = BroadCastTxsRequest{} }
func (m *BroadCastTxsRequest) String() string { return proto.CompactTextString(m) }
func (*BroadCastTxsRequest) ProtoMessage() {}
func (*BroadCastTxsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{2}
}
func (x *BroadCastTxsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BroadCastTxsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BroadCastTxsRequest.Unmarshal(m, b)
}
func (*BroadCastTxsRequest) ProtoMessage() {}
func (x *BroadCastTxsRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BroadCastTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BroadCastTxsRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BroadCastTxsRequest.ProtoReflect.Descriptor instead.
func (*BroadCastTxsRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{2}
func (m *BroadCastTxsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BroadCastTxsRequest.Merge(m, src)
}
func (m *BroadCastTxsRequest) XXX_Size() int {
return xxx_messageInfo_BroadCastTxsRequest.Size(m)
}
func (m *BroadCastTxsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BroadCastTxsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BroadCastTxsRequest proto.InternalMessageInfo
func (x *BroadCastTxsRequest) GetTxs() []*v1.Transaction {
if x != nil {
return x.Txs
func (m *BroadCastTxsRequest) GetTxs() []*v1.BatchTx {
if m != nil {
return m.Txs
}
return nil
}
type BroadCastTxsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status []bool `protobuf:"varint,1,rep,packed,name=status,proto3" json:"status,omitempty"`
Status []bool `protobuf:"varint,1,rep,packed,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BroadCastTxsResponse) Reset() {
*x = BroadCastTxsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BroadCastTxsResponse) Reset() { *m = BroadCastTxsResponse{} }
func (m *BroadCastTxsResponse) String() string { return proto.CompactTextString(m) }
func (*BroadCastTxsResponse) ProtoMessage() {}
func (*BroadCastTxsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{3}
}
func (x *BroadCastTxsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BroadCastTxsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BroadCastTxsResponse.Unmarshal(m, b)
}
func (*BroadCastTxsResponse) ProtoMessage() {}
func (x *BroadCastTxsResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BroadCastTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BroadCastTxsResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BroadCastTxsResponse.ProtoReflect.Descriptor instead.
func (*BroadCastTxsResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{3}
func (m *BroadCastTxsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BroadCastTxsResponse.Merge(m, src)
}
func (m *BroadCastTxsResponse) XXX_Size() int {
return xxx_messageInfo_BroadCastTxsResponse.Size(m)
}
func (m *BroadCastTxsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BroadCastTxsResponse.DiscardUnknown(m)
}
func (x *BroadCastTxsResponse) GetStatus() []bool {
if x != nil {
return x.Status
var xxx_messageInfo_BroadCastTxsResponse proto.InternalMessageInfo
func (m *BroadCastTxsResponse) GetStatus() []bool {
if m != nil {
return m.Status
}
return nil
}
type BatchTxsHashRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchTxsHashRequest) Reset() {
*x = BatchTxsHashRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchTxsHashRequest) Reset() { *m = BatchTxsHashRequest{} }
func (m *BatchTxsHashRequest) String() string { return proto.CompactTextString(m) }
func (*BatchTxsHashRequest) ProtoMessage() {}
func (*BatchTxsHashRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{4}
}
func (x *BatchTxsHashRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchTxsHashRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchTxsHashRequest.Unmarshal(m, b)
}
func (*BatchTxsHashRequest) ProtoMessage() {}
func (x *BatchTxsHashRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchTxsHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchTxsHashRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchTxsHashRequest.ProtoReflect.Descriptor instead.
func (*BatchTxsHashRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{4}
func (m *BatchTxsHashRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchTxsHashRequest.Merge(m, src)
}
func (m *BatchTxsHashRequest) XXX_Size() int {
return xxx_messageInfo_BatchTxsHashRequest.Size(m)
}
func (m *BatchTxsHashRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchTxsHashRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchTxsHashRequest proto.InternalMessageInfo
func (x *BatchTxsHashRequest) GetHash() []byte {
if x != nil {
return x.Hash
func (m *BatchTxsHashRequest) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
type BatchTxsHashResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Txs []*v1.Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Txs []*v1.MetaProofTx `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchTxsHashResponse) Reset() {
*x = BatchTxsHashResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchTxsHashResponse) Reset() { *m = BatchTxsHashResponse{} }
func (m *BatchTxsHashResponse) String() string { return proto.CompactTextString(m) }
func (*BatchTxsHashResponse) ProtoMessage() {}
func (*BatchTxsHashResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{5}
}
func (x *BatchTxsHashResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchTxsHashResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchTxsHashResponse.Unmarshal(m, b)
}
func (*BatchTxsHashResponse) ProtoMessage() {}
func (x *BatchTxsHashResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchTxsHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchTxsHashResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchTxsHashResponse.ProtoReflect.Descriptor instead.
func (*BatchTxsHashResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{5}
func (m *BatchTxsHashResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchTxsHashResponse.Merge(m, src)
}
func (m *BatchTxsHashResponse) XXX_Size() int {
return xxx_messageInfo_BatchTxsHashResponse.Size(m)
}
func (m *BatchTxsHashResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchTxsHashResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchTxsHashResponse proto.InternalMessageInfo
func (x *BatchTxsHashResponse) GetHash() []byte {
if x != nil {
return x.Hash
func (m *BatchTxsHashResponse) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (x *BatchTxsHashResponse) GetTxs() []*v1.Transaction {
if x != nil {
return x.Txs
func (m *BatchTxsHashResponse) GetTxs() []*v1.MetaProofTx {
if m != nil {
return m.Txs
}
return nil
}
type SendDataRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *SendDataRequest) Reset() {
*x = SendDataRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *SendDataRequest) Reset() { *m = SendDataRequest{} }
func (m *SendDataRequest) String() string { return proto.CompactTextString(m) }
func (*SendDataRequest) ProtoMessage() {}
func (*SendDataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{6}
}
func (x *SendDataRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *SendDataRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SendDataRequest.Unmarshal(m, b)
}
func (*SendDataRequest) ProtoMessage() {}
func (x *SendDataRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *SendDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SendDataRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use SendDataRequest.ProtoReflect.Descriptor instead.
func (*SendDataRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{6}
func (m *SendDataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SendDataRequest.Merge(m, src)
}
func (m *SendDataRequest) XXX_Size() int {
return xxx_messageInfo_SendDataRequest.Size(m)
}
func (m *SendDataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SendDataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SendDataRequest proto.InternalMessageInfo
func (x *SendDataRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *SendDataRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *SendDataRequest) GetData() []byte {
if x != nil {
return x.Data
func (m *SendDataRequest) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type SendDataResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *SendDataResponse) Reset() {
*x = SendDataResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *SendDataResponse) Reset() { *m = SendDataResponse{} }
func (m *SendDataResponse) String() string { return proto.CompactTextString(m) }
func (*SendDataResponse) ProtoMessage() {}
func (*SendDataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{7}
}
func (x *SendDataResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *SendDataResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SendDataResponse.Unmarshal(m, b)
}
func (*SendDataResponse) ProtoMessage() {}
func (x *SendDataResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *SendDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SendDataResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use SendDataResponse.ProtoReflect.Descriptor instead.
func (*SendDataResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{7}
func (m *SendDataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SendDataResponse.Merge(m, src)
}
func (m *SendDataResponse) XXX_Size() int {
return xxx_messageInfo_SendDataResponse.Size(m)
}
func (m *SendDataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SendDataResponse.DiscardUnknown(m)
}
func (x *SendDataResponse) GetSuccess() bool {
if x != nil {
return x.Success
var xxx_messageInfo_SendDataResponse proto.InternalMessageInfo
func (m *SendDataResponse) GetSuccess() bool {
if m != nil {
return m.Success
}
return false
}
type SubscribeMsgRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
MsgTypes []P2PMsgType `protobuf:"varint,2,rep,packed,name=msg_types,json=msgTypes,proto3,enum=p2p.v1.P2PMsgType" json:"msg_types,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
MsgTypes []P2PMsgType `protobuf:"varint,2,rep,packed,name=msg_types,json=msgTypes,proto3,enum=p2p.v1.P2PMsgType" json:"msg_types,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *SubscribeMsgRequest) Reset() {
*x = SubscribeMsgRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *SubscribeMsgRequest) Reset() { *m = SubscribeMsgRequest{} }
func (m *SubscribeMsgRequest) String() string { return proto.CompactTextString(m) }
func (*SubscribeMsgRequest) ProtoMessage() {}
func (*SubscribeMsgRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{8}
}
func (x *SubscribeMsgRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *SubscribeMsgRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SubscribeMsgRequest.Unmarshal(m, b)
}
func (*SubscribeMsgRequest) ProtoMessage() {}
func (x *SubscribeMsgRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *SubscribeMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SubscribeMsgRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use SubscribeMsgRequest.ProtoReflect.Descriptor instead.
func (*SubscribeMsgRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{8}
func (m *SubscribeMsgRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SubscribeMsgRequest.Merge(m, src)
}
func (m *SubscribeMsgRequest) XXX_Size() int {
return xxx_messageInfo_SubscribeMsgRequest.Size(m)
}
func (m *SubscribeMsgRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SubscribeMsgRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SubscribeMsgRequest proto.InternalMessageInfo
func (x *SubscribeMsgRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *SubscribeMsgRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *SubscribeMsgRequest) GetMsgTypes() []P2PMsgType {
if x != nil {
return x.MsgTypes
func (m *SubscribeMsgRequest) GetMsgTypes() []P2PMsgType {
if m != nil {
return m.MsgTypes
}
return nil
}
type SubscribeMsgResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *SubscribeMsgResponse) Reset() {
*x = SubscribeMsgResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *SubscribeMsgResponse) Reset() { *m = SubscribeMsgResponse{} }
func (m *SubscribeMsgResponse) String() string { return proto.CompactTextString(m) }
func (*SubscribeMsgResponse) ProtoMessage() {}
func (*SubscribeMsgResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{9}
}
func (x *SubscribeMsgResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *SubscribeMsgResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SubscribeMsgResponse.Unmarshal(m, b)
}
func (*SubscribeMsgResponse) ProtoMessage() {}
func (x *SubscribeMsgResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *SubscribeMsgResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SubscribeMsgResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use SubscribeMsgResponse.ProtoReflect.Descriptor instead.
func (*SubscribeMsgResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{9}
func (m *SubscribeMsgResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SubscribeMsgResponse.Merge(m, src)
}
func (m *SubscribeMsgResponse) XXX_Size() int {
return xxx_messageInfo_SubscribeMsgResponse.Size(m)
}
func (m *SubscribeMsgResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SubscribeMsgResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SubscribeMsgResponse proto.InternalMessageInfo
func (x *SubscribeMsgResponse) GetSuccess() bool {
if x != nil {
return x.Success
func (m *SubscribeMsgResponse) GetSuccess() bool {
if m != nil {
return m.Success
}
return false
}
type NetVersionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *NetVersionRequest) Reset() {
*x = NetVersionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *NetVersionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *NetVersionRequest) Reset() { *m = NetVersionRequest{} }
func (m *NetVersionRequest) String() string { return proto.CompactTextString(m) }
func (*NetVersionRequest) ProtoMessage() {}
func (*NetVersionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{10}
}
func (*NetVersionRequest) ProtoMessage() {}
func (x *NetVersionRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *NetVersionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetVersionRequest.Unmarshal(m, b)
}
// Deprecated: Use NetVersionRequest.ProtoReflect.Descriptor instead.
func (*NetVersionRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{10}
func (m *NetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetVersionRequest.Marshal(b, m, deterministic)
}
type NetVersionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
func (m *NetVersionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetVersionRequest.Merge(m, src)
}
func (x *NetVersionResponse) Reset() {
*x = NetVersionResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *NetVersionRequest) XXX_Size() int {
return xxx_messageInfo_NetVersionRequest.Size(m)
}
func (x *NetVersionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *NetVersionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_NetVersionRequest.DiscardUnknown(m)
}
func (*NetVersionResponse) ProtoMessage() {}
var xxx_messageInfo_NetVersionRequest proto.InternalMessageInfo
func (x *NetVersionResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type NetVersionResponse struct {
Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use NetVersionResponse.ProtoReflect.Descriptor instead.
func (m *NetVersionResponse) Reset() { *m = NetVersionResponse{} }
func (m *NetVersionResponse) String() string { return proto.CompactTextString(m) }
func (*NetVersionResponse) ProtoMessage() {}
func (*NetVersionResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{11}
return fileDescriptor_0dfe7f18d497a164, []int{11}
}
func (x *NetVersionResponse) GetVersion() []byte {
if x != nil {
return x.Version
}
return nil
func (m *NetVersionResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetVersionResponse.Unmarshal(m, b)
}
type NetPeerCountRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
func (m *NetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetVersionResponse.Marshal(b, m, deterministic)
}
func (x *NetPeerCountRequest) Reset() {
*x = NetPeerCountRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *NetVersionResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetVersionResponse.Merge(m, src)
}
func (x *NetPeerCountRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *NetVersionResponse) XXX_Size() int {
return xxx_messageInfo_NetVersionResponse.Size(m)
}
func (m *NetVersionResponse) XXX_DiscardUnknown() {
xxx_messageInfo_NetVersionResponse.DiscardUnknown(m)
}
func (*NetPeerCountRequest) ProtoMessage() {}
var xxx_messageInfo_NetVersionResponse proto.InternalMessageInfo
func (x *NetPeerCountRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
func (m *NetVersionResponse) GetVersion() []byte {
if m != nil {
return m.Version
}
return mi.MessageOf(x)
return nil
}
// Deprecated: Use NetPeerCountRequest.ProtoReflect.Descriptor instead.
func (*NetPeerCountRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{12}
type NetPeerCountRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
type NetPeerCountResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PeerCount uint32 `protobuf:"varint,1,opt,name=peer_count,json=peerCount,proto3" json:"peer_count,omitempty"`
func (m *NetPeerCountRequest) Reset() { *m = NetPeerCountRequest{} }
func (m *NetPeerCountRequest) String() string { return proto.CompactTextString(m) }
func (*NetPeerCountRequest) ProtoMessage() {}
func (*NetPeerCountRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfe7f18d497a164, []int{12}
}
func (x *NetPeerCountResponse) Reset() {
*x = NetPeerCountResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *NetPeerCountRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetPeerCountRequest.Unmarshal(m, b)
}
func (x *NetPeerCountResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *NetPeerCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetPeerCountRequest.Marshal(b, m, deterministic)
}
func (m *NetPeerCountRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetPeerCountRequest.Merge(m, src)
}
func (m *NetPeerCountRequest) XXX_Size() int {
return xxx_messageInfo_NetPeerCountRequest.Size(m)
}
func (m *NetPeerCountRequest) XXX_DiscardUnknown() {
xxx_messageInfo_NetPeerCountRequest.DiscardUnknown(m)
}
func (*NetPeerCountResponse) ProtoMessage() {}
var xxx_messageInfo_NetPeerCountRequest proto.InternalMessageInfo
func (x *NetPeerCountResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_request_response_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type NetPeerCountResponse struct {
PeerCount uint32 `protobuf:"varint,1,opt,name=peer_count,json=peerCount,proto3" json:"peer_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use NetPeerCountResponse.ProtoReflect.Descriptor instead.
func (m *NetPeerCountResponse) Reset() { *m = NetPeerCountResponse{} }
func (m *NetPeerCountResponse) String() string { return proto.CompactTextString(m) }
func (*NetPeerCountResponse) ProtoMessage() {}
func (*NetPeerCountResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{13}
return fileDescriptor_0dfe7f18d497a164, []int{13}
}
func (m *NetPeerCountResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetPeerCountResponse.Unmarshal(m, b)
}
func (m *NetPeerCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetPeerCountResponse.Marshal(b, m, deterministic)
}
func (m *NetPeerCountResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetPeerCountResponse.Merge(m, src)
}
func (m *NetPeerCountResponse) XXX_Size() int {
return xxx_messageInfo_NetPeerCountResponse.Size(m)
}
func (m *NetPeerCountResponse) XXX_DiscardUnknown() {
xxx_messageInfo_NetPeerCountResponse.DiscardUnknown(m)
}
func (x *NetPeerCountResponse) GetPeerCount() uint32 {
if x != nil {
return x.PeerCount
var xxx_messageInfo_NetPeerCountResponse proto.InternalMessageInfo
func (m *NetPeerCountResponse) GetPeerCount() uint32 {
if m != nil {
return m.PeerCount
}
return 0
}
var File_p2p_v1_request_response_proto protoreflect.FileDescriptor
var file_p2p_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x1d, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x06, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d,
0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x70, 0x32, 0x70, 0x2f,
0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x10, 0x42, 0x72, 0x6f,
0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a,
0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04,
0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x22, 0x2b, 0x0a, 0x11, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3d, 0x0a,
0x13, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x14, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, 0x2e, 0x0a, 0x14,
0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x29, 0x0a, 0x13,
0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x73, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68,
0x54, 0x78, 0x73, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68,
0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x14, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, 0x54, 0x0a, 0x0f, 0x53,
0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d,
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
0x61, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22,
0x75, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e,
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76,
0x31, 0x2e, 0x50, 0x32, 0x50, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6d, 0x73,
0x67, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x30, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x56,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2e, 0x0a,
0x12, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x0a,
0x13, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x14, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x09, 0x70, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xa8, 0x01, 0x0a, 0x0a,
0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x32, 0x70, 0x76, 0x31, 0xa2,
0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x50, 0x32, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02,
0x06, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31,
0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x50,
0x32, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_p2p_v1_request_response_proto_rawDescOnce sync.Once
file_p2p_v1_request_response_proto_rawDescData = file_p2p_v1_request_response_proto_rawDesc
)
func file_p2p_v1_request_response_proto_rawDescGZIP() []byte {
file_p2p_v1_request_response_proto_rawDescOnce.Do(func() {
file_p2p_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_p2p_v1_request_response_proto_rawDescData)
})
return file_p2p_v1_request_response_proto_rawDescData
}
var file_p2p_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_p2p_v1_request_response_proto_goTypes = []interface{}{
(*BroadCastRequest)(nil), // 0: p2p.v1.BroadCastRequest
(*BroadCastResponse)(nil), // 1: p2p.v1.BroadCastResponse
(*BroadCastTxsRequest)(nil), // 2: p2p.v1.BroadCastTxsRequest
(*BroadCastTxsResponse)(nil), // 3: p2p.v1.BroadCastTxsResponse
(*BatchTxsHashRequest)(nil), // 4: p2p.v1.BatchTxsHashRequest
(*BatchTxsHashResponse)(nil), // 5: p2p.v1.BatchTxsHashResponse
(*SendDataRequest)(nil), // 6: p2p.v1.SendDataRequest
(*SendDataResponse)(nil), // 7: p2p.v1.SendDataResponse
(*SubscribeMsgRequest)(nil), // 8: p2p.v1.SubscribeMsgRequest
(*SubscribeMsgResponse)(nil), // 9: p2p.v1.SubscribeMsgResponse
(*NetVersionRequest)(nil), // 10: p2p.v1.NetVersionRequest
(*NetVersionResponse)(nil), // 11: p2p.v1.NetVersionResponse
(*NetPeerCountRequest)(nil), // 12: p2p.v1.NetPeerCountRequest
(*NetPeerCountResponse)(nil), // 13: p2p.v1.NetPeerCountResponse
(*MessageHeader)(nil), // 14: p2p.v1.MessageHeader
(*v1.Transaction)(nil), // 15: base.v1.Transaction
(P2PMsgType)(0), // 16: p2p.v1.P2PMsgType
}
var file_p2p_v1_request_response_proto_depIdxs = []int32{
14, // 0: p2p.v1.BroadCastRequest.header:type_name -> p2p.v1.MessageHeader
15, // 1: p2p.v1.BroadCastTxsRequest.txs:type_name -> base.v1.Transaction
15, // 2: p2p.v1.BatchTxsHashResponse.txs:type_name -> base.v1.Transaction
14, // 3: p2p.v1.SendDataRequest.header:type_name -> p2p.v1.MessageHeader
14, // 4: p2p.v1.SubscribeMsgRequest.header:type_name -> p2p.v1.MessageHeader
16, // 5: p2p.v1.SubscribeMsgRequest.msg_types:type_name -> p2p.v1.P2PMsgType
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_p2p_v1_request_response_proto_init() }
func file_p2p_v1_request_response_proto_init() {
if File_p2p_v1_request_response_proto != nil {
return
}
file_p2p_v1_resource_proto_init()
if !protoimpl.UnsafeEnabled {
file_p2p_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BroadCastRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BroadCastResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BroadCastTxsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BroadCastTxsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchTxsHashRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchTxsHashResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SendDataRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SendDataResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubscribeMsgRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubscribeMsgResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NetVersionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NetVersionResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NetPeerCountRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_request_response_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NetPeerCountResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_p2p_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 14,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_p2p_v1_request_response_proto_goTypes,
DependencyIndexes: file_p2p_v1_request_response_proto_depIdxs,
MessageInfos: file_p2p_v1_request_response_proto_msgTypes,
}.Build()
File_p2p_v1_request_response_proto = out.File
file_p2p_v1_request_response_proto_rawDesc = nil
file_p2p_v1_request_response_proto_goTypes = nil
file_p2p_v1_request_response_proto_depIdxs = nil
func init() {
proto.RegisterType((*BroadCastRequest)(nil), "p2p.v1.BroadCastRequest")
proto.RegisterType((*BroadCastResponse)(nil), "p2p.v1.BroadCastResponse")
proto.RegisterType((*BroadCastTxsRequest)(nil), "p2p.v1.BroadCastTxsRequest")
proto.RegisterType((*BroadCastTxsResponse)(nil), "p2p.v1.BroadCastTxsResponse")
proto.RegisterType((*BatchTxsHashRequest)(nil), "p2p.v1.BatchTxsHashRequest")
proto.RegisterType((*BatchTxsHashResponse)(nil), "p2p.v1.BatchTxsHashResponse")
proto.RegisterType((*SendDataRequest)(nil), "p2p.v1.SendDataRequest")
proto.RegisterType((*SendDataResponse)(nil), "p2p.v1.SendDataResponse")
proto.RegisterType((*SubscribeMsgRequest)(nil), "p2p.v1.SubscribeMsgRequest")
proto.RegisterType((*SubscribeMsgResponse)(nil), "p2p.v1.SubscribeMsgResponse")
proto.RegisterType((*NetVersionRequest)(nil), "p2p.v1.NetVersionRequest")
proto.RegisterType((*NetVersionResponse)(nil), "p2p.v1.NetVersionResponse")
proto.RegisterType((*NetPeerCountRequest)(nil), "p2p.v1.NetPeerCountRequest")
proto.RegisterType((*NetPeerCountResponse)(nil), "p2p.v1.NetPeerCountResponse")
}
func init() { proto.RegisterFile("p2p/v1/request_response.proto", fileDescriptor_0dfe7f18d497a164) }
var fileDescriptor_0dfe7f18d497a164 = []byte{
// 583 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x51, 0x6b, 0x13, 0x41,
0x10, 0x26, 0x49, 0x49, 0xdb, 0x69, 0xd5, 0xf6, 0x92, 0x96, 0x52, 0x28, 0x96, 0x7b, 0x90, 0x8a,
0x7a, 0x67, 0x4e, 0x7c, 0xb0, 0xbe, 0xa5, 0x82, 0x05, 0x49, 0x39, 0xae, 0x31, 0x14, 0x29, 0x84,
0xbd, 0xbb, 0xe9, 0x5d, 0xb0, 0x97, 0x5d, 0x6f, 0xf6, 0x42, 0xfa, 0x77, 0x7c, 0x12, 0x7f, 0x8a,
0x3f, 0xc3, 0x47, 0x7f, 0x85, 0xec, 0xed, 0x6e, 0x9b, 0x48, 0x41, 0x10, 0xdf, 0x66, 0xbe, 0xfb,
0xe6, 0x9b, 0x6f, 0xf6, 0x66, 0xe0, 0x40, 0x04, 0xc2, 0x9f, 0xf5, 0xfc, 0x12, 0xbf, 0x54, 0x48,
0x72, 0x5c, 0x22, 0x09, 0x3e, 0x25, 0xf4, 0x44, 0xc9, 0x25, 0x77, 0xda, 0x22, 0x10, 0xde, 0xac,
0xb7, 0x7f, 0x98, 0x71, 0x9e, 0x5d, 0xa3, 0x5f, 0xa3, 0x71, 0x75, 0xe5, 0x5f, 0x4d, 0xf0, 0x3a,
0x1d, 0x17, 0x8c, 0x3e, 0x6b, 0xe6, 0xfe, 0xe3, 0x3f, 0x19, 0x72, 0x52, 0x20, 0x49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, 0x32,
0x9c, 0xea, 0xf3, 0xf7, 0x33, 0xee, 0xeb, 0x6b, 0x7f, 0x2b, 0x02, 0x31, 0xeb, 0x7d, 0x6d, 0xb6,
0xc2, 0x8b, 0x8b, 0xef, 0xcd, 0x76, 0x18, 0x08, 0x6f, 0xd4, 0xfb, 0x51, 0x07, 0x97, 0xa3, 0xde,
0xcf, 0xa6, 0xa3, 0x83, 0xcb, 0xf7, 0x61, 0x5f, 0x89, 0xab, 0x55, 0xf8, 0xd5, 0x5c, 0x0d, 0x03,
0x71, 0x7c, 0x3c, 0xea, 0xc5, 0xed, 0x5a, 0xed, 0xd5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x47,
0xc0, 0xdc, 0x15, 0xa5, 0x04, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: p2p/v1/resource.proto
package p2pv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type P2PMsgType int32
......@@ -29,53 +29,28 @@ const (
P2PMsgType_P2P_MSG_TYPE_PONG P2PMsgType = 2
)
// Enum value maps for P2PMsgType.
var (
P2PMsgType_name = map[int32]string{
0: "P2P_MSG_TYPE_INVALID",
1: "P2P_MSG_TYPE_PING",
2: "P2P_MSG_TYPE_PONG",
}
P2PMsgType_value = map[string]int32{
"P2P_MSG_TYPE_INVALID": 0,
"P2P_MSG_TYPE_PING": 1,
"P2P_MSG_TYPE_PONG": 2,
}
)
func (x P2PMsgType) Enum() *P2PMsgType {
p := new(P2PMsgType)
*p = x
return p
var P2PMsgType_name = map[int32]string{
0: "P2P_MSG_TYPE_INVALID",
1: "P2P_MSG_TYPE_PING",
2: "P2P_MSG_TYPE_PONG",
}
func (x P2PMsgType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
var P2PMsgType_value = map[string]int32{
"P2P_MSG_TYPE_INVALID": 0,
"P2P_MSG_TYPE_PING": 1,
"P2P_MSG_TYPE_PONG": 2,
}
func (P2PMsgType) Descriptor() protoreflect.EnumDescriptor {
return file_p2p_v1_resource_proto_enumTypes[0].Descriptor()
}
func (P2PMsgType) Type() protoreflect.EnumType {
return &file_p2p_v1_resource_proto_enumTypes[0]
}
func (x P2PMsgType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
func (x P2PMsgType) String() string {
return proto.EnumName(P2PMsgType_name, int32(x))
}
// Deprecated: Use P2PMsgType.Descriptor instead.
func (P2PMsgType) EnumDescriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{0}
return fileDescriptor_84ae7440beef4c05, []int{0}
}
// shared between all p2p package
type MessageHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// client protocol version
ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
// client type
......@@ -90,751 +65,484 @@ type MessageHeader struct {
// Authoring node Secp256k1 public key (32bytes) - protobufs serielized
NodePubkey []byte `protobuf:"bytes,7,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
// signature of full message data.
Sign []byte `protobuf:"bytes,8,opt,name=sign,proto3" json:"sign,omitempty"`
Sign []byte `protobuf:"bytes,8,opt,name=sign,proto3" json:"sign,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *MessageHeader) Reset() {
*x = MessageHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *MessageHeader) Reset() { *m = MessageHeader{} }
func (m *MessageHeader) String() string { return proto.CompactTextString(m) }
func (*MessageHeader) ProtoMessage() {}
func (*MessageHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{0}
}
func (x *MessageHeader) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *MessageHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageHeader.Unmarshal(m, b)
}
func (*MessageHeader) ProtoMessage() {}
func (x *MessageHeader) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *MessageHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageHeader.Marshal(b, m, deterministic)
}
// Deprecated: Use MessageHeader.ProtoReflect.Descriptor instead.
func (*MessageHeader) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{0}
func (m *MessageHeader) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageHeader.Merge(m, src)
}
func (m *MessageHeader) XXX_Size() int {
return xxx_messageInfo_MessageHeader.Size(m)
}
func (m *MessageHeader) XXX_DiscardUnknown() {
xxx_messageInfo_MessageHeader.DiscardUnknown(m)
}
func (x *MessageHeader) GetClientVersion() string {
if x != nil {
return x.ClientVersion
var xxx_messageInfo_MessageHeader proto.InternalMessageInfo
func (m *MessageHeader) GetClientVersion() string {
if m != nil {
return m.ClientVersion
}
return ""
}
func (x *MessageHeader) GetClientType() int32 {
if x != nil {
return x.ClientType
func (m *MessageHeader) GetClientType() int32 {
if m != nil {
return m.ClientType
}
return 0
}
func (x *MessageHeader) GetId() string {
if x != nil {
return x.Id
func (m *MessageHeader) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (x *MessageHeader) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
func (m *MessageHeader) GetCreateTime() *timestamppb.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (x *MessageHeader) GetNodeId() string {
if x != nil {
return x.NodeId
func (m *MessageHeader) GetNodeId() string {
if m != nil {
return m.NodeId
}
return ""
}
func (x *MessageHeader) GetGossip() bool {
if x != nil {
return x.Gossip
func (m *MessageHeader) GetGossip() bool {
if m != nil {
return m.Gossip
}
return false
}
func (x *MessageHeader) GetNodePubkey() []byte {
if x != nil {
return x.NodePubkey
func (m *MessageHeader) GetNodePubkey() []byte {
if m != nil {
return m.NodePubkey
}
return nil
}
func (x *MessageHeader) GetSign() []byte {
if x != nil {
return x.Sign
func (m *MessageHeader) GetSign() []byte {
if m != nil {
return m.Sign
}
return nil
}
// HandShake used for check info when peer connect
type HandShakeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *HandShakeRequest) Reset() {
*x = HandShakeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *HandShakeRequest) Reset() { *m = HandShakeRequest{} }
func (m *HandShakeRequest) String() string { return proto.CompactTextString(m) }
func (*HandShakeRequest) ProtoMessage() {}
func (*HandShakeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{1}
}
func (x *HandShakeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *HandShakeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HandShakeRequest.Unmarshal(m, b)
}
func (*HandShakeRequest) ProtoMessage() {}
func (x *HandShakeRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *HandShakeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HandShakeRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use HandShakeRequest.ProtoReflect.Descriptor instead.
func (*HandShakeRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{1}
func (m *HandShakeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_HandShakeRequest.Merge(m, src)
}
func (m *HandShakeRequest) XXX_Size() int {
return xxx_messageInfo_HandShakeRequest.Size(m)
}
func (m *HandShakeRequest) XXX_DiscardUnknown() {
xxx_messageInfo_HandShakeRequest.DiscardUnknown(m)
}
func (x *HandShakeRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
var xxx_messageInfo_HandShakeRequest proto.InternalMessageInfo
func (m *HandShakeRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *HandShakeRequest) GetMessage() string {
if x != nil {
return x.Message
func (m *HandShakeRequest) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
type HandShakeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *HandShakeResponse) Reset() {
*x = HandShakeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *HandShakeResponse) Reset() { *m = HandShakeResponse{} }
func (m *HandShakeResponse) String() string { return proto.CompactTextString(m) }
func (*HandShakeResponse) ProtoMessage() {}
func (*HandShakeResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{2}
}
func (x *HandShakeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *HandShakeResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HandShakeResponse.Unmarshal(m, b)
}
func (*HandShakeResponse) ProtoMessage() {}
func (x *HandShakeResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *HandShakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HandShakeResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use HandShakeResponse.ProtoReflect.Descriptor instead.
func (*HandShakeResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{2}
func (m *HandShakeResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_HandShakeResponse.Merge(m, src)
}
func (m *HandShakeResponse) XXX_Size() int {
return xxx_messageInfo_HandShakeResponse.Size(m)
}
func (m *HandShakeResponse) XXX_DiscardUnknown() {
xxx_messageInfo_HandShakeResponse.DiscardUnknown(m)
}
var xxx_messageInfo_HandShakeResponse proto.InternalMessageInfo
func (x *HandShakeResponse) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *HandShakeResponse) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *HandShakeResponse) GetMessage() string {
if x != nil {
return x.Message
func (m *HandShakeResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
// PingRequest used for peer keep alive.
type PingRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *PingRequest) Reset() {
*x = PingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *PingRequest) Reset() { *m = PingRequest{} }
func (m *PingRequest) String() string { return proto.CompactTextString(m) }
func (*PingRequest) ProtoMessage() {}
func (*PingRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{3}
}
func (x *PingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *PingRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PingRequest.Unmarshal(m, b)
}
func (*PingRequest) ProtoMessage() {}
func (x *PingRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{3}
func (m *PingRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PingRequest.Merge(m, src)
}
func (m *PingRequest) XXX_Size() int {
return xxx_messageInfo_PingRequest.Size(m)
}
func (m *PingRequest) XXX_DiscardUnknown() {
xxx_messageInfo_PingRequest.DiscardUnknown(m)
}
var xxx_messageInfo_PingRequest proto.InternalMessageInfo
func (x *PingRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *PingRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *PingRequest) GetMessage() string {
if x != nil {
return x.Message
func (m *PingRequest) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
type PongResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *PongResponse) Reset() {
*x = PongResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *PongResponse) Reset() { *m = PongResponse{} }
func (m *PongResponse) String() string { return proto.CompactTextString(m) }
func (*PongResponse) ProtoMessage() {}
func (*PongResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{4}
}
func (x *PongResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *PongResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PongResponse.Unmarshal(m, b)
}
func (*PongResponse) ProtoMessage() {}
func (x *PongResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *PongResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PongResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use PongResponse.ProtoReflect.Descriptor instead.
func (*PongResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{4}
func (m *PongResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_PongResponse.Merge(m, src)
}
func (m *PongResponse) XXX_Size() int {
return xxx_messageInfo_PongResponse.Size(m)
}
func (m *PongResponse) XXX_DiscardUnknown() {
xxx_messageInfo_PongResponse.DiscardUnknown(m)
}
var xxx_messageInfo_PongResponse proto.InternalMessageInfo
func (x *PongResponse) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *PongResponse) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *PongResponse) GetMessage() string {
if x != nil {
return x.Message
func (m *PongResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
// Disconnect used for disconnect a peer and give a reason.
type DisconnectRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *DisconnectRequest) Reset() {
*x = DisconnectRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *DisconnectRequest) Reset() { *m = DisconnectRequest{} }
func (m *DisconnectRequest) String() string { return proto.CompactTextString(m) }
func (*DisconnectRequest) ProtoMessage() {}
func (*DisconnectRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{5}
}
func (x *DisconnectRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *DisconnectRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DisconnectRequest.Unmarshal(m, b)
}
func (*DisconnectRequest) ProtoMessage() {}
func (x *DisconnectRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *DisconnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DisconnectRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.
func (*DisconnectRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{5}
func (m *DisconnectRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DisconnectRequest.Merge(m, src)
}
func (m *DisconnectRequest) XXX_Size() int {
return xxx_messageInfo_DisconnectRequest.Size(m)
}
func (m *DisconnectRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DisconnectRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DisconnectRequest proto.InternalMessageInfo
func (x *DisconnectRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
func (m *DisconnectRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *DisconnectRequest) GetReason() string {
if x != nil {
return x.Reason
func (m *DisconnectRequest) GetReason() string {
if m != nil {
return m.Reason
}
return ""
}
type MessageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
MessageType int32 `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
MessageData []byte `protobuf:"bytes,3,opt,name=message_data,json=messageData,proto3" json:"message_data,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
MessageType int32 `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
MessageData []byte `protobuf:"bytes,3,opt,name=message_data,json=messageData,proto3" json:"message_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *MessageRequest) Reset() {
*x = MessageRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *MessageRequest) Reset() { *m = MessageRequest{} }
func (m *MessageRequest) String() string { return proto.CompactTextString(m) }
func (*MessageRequest) ProtoMessage() {}
func (*MessageRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{6}
}
func (x *MessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *MessageRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageRequest.Unmarshal(m, b)
}
func (*MessageRequest) ProtoMessage() {}
func (x *MessageRequest) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *MessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use MessageRequest.ProtoReflect.Descriptor instead.
func (*MessageRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{6}
func (m *MessageRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageRequest.Merge(m, src)
}
func (m *MessageRequest) XXX_Size() int {
return xxx_messageInfo_MessageRequest.Size(m)
}
func (m *MessageRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageRequest.DiscardUnknown(m)
}
func (x *MessageRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
var xxx_messageInfo_MessageRequest proto.InternalMessageInfo
func (m *MessageRequest) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *MessageRequest) GetMessageType() int32 {
if x != nil {
return x.MessageType
func (m *MessageRequest) GetMessageType() int32 {
if m != nil {
return m.MessageType
}
return 0
}
func (x *MessageRequest) GetMessageData() []byte {
if x != nil {
return x.MessageData
func (m *MessageRequest) GetMessageData() []byte {
if m != nil {
return m.MessageData
}
return nil
}
type MessageResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
MessageType int32 `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
MessageData []byte `protobuf:"bytes,3,opt,name=message_data,json=messageData,proto3" json:"message_data,omitempty"`
Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
MessageType int32 `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
MessageData []byte `protobuf:"bytes,3,opt,name=message_data,json=messageData,proto3" json:"message_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *MessageResponse) Reset() {
*x = MessageResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_resource_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *MessageResponse) Reset() { *m = MessageResponse{} }
func (m *MessageResponse) String() string { return proto.CompactTextString(m) }
func (*MessageResponse) ProtoMessage() {}
func (*MessageResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84ae7440beef4c05, []int{7}
}
func (x *MessageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *MessageResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageResponse.Unmarshal(m, b)
}
func (*MessageResponse) ProtoMessage() {}
func (x *MessageResponse) ProtoReflect() protoreflect.Message {
mi := &file_p2p_v1_resource_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *MessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use MessageResponse.ProtoReflect.Descriptor instead.
func (*MessageResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{7}
func (m *MessageResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageResponse.Merge(m, src)
}
func (m *MessageResponse) XXX_Size() int {
return xxx_messageInfo_MessageResponse.Size(m)
}
func (m *MessageResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageResponse.DiscardUnknown(m)
}
func (x *MessageResponse) GetHeader() *MessageHeader {
if x != nil {
return x.Header
var xxx_messageInfo_MessageResponse proto.InternalMessageInfo
func (m *MessageResponse) GetHeader() *MessageHeader {
if m != nil {
return m.Header
}
return nil
}
func (x *MessageResponse) GetMessageType() int32 {
if x != nil {
return x.MessageType
func (m *MessageResponse) GetMessageType() int32 {
if m != nil {
return m.MessageType
}
return 0
}
func (x *MessageResponse) GetMessageData() []byte {
if x != nil {
return x.MessageData
func (m *MessageResponse) GetMessageData() []byte {
if m != nil {
return m.MessageData
}
return nil
}
var File_p2p_v1_resource_proto protoreflect.FileDescriptor
var file_p2p_v1_resource_proto_rawDesc = []byte{
0x0a, 0x15, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0x8a, 0x02, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72,
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65,
0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
0x12, 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
0x52, 0x06, 0x67, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65,
0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6e,
0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x67,
0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x73, 0x69, 0x67, 0x6e, 0x22, 0x5b, 0x0a,
0x10, 0x48, 0x61, 0x6e, 0x64, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x11, 0x48, 0x61,
0x6e, 0x64, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18,
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x56, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31,
0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06,
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x22, 0x57, 0x0a, 0x0c, 0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5a, 0x0a, 0x11, 0x44, 0x69, 0x73,
0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d,
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a,
0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76,
0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52,
0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x22, 0x86, 0x01,
0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x64,
0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2a, 0x54, 0x0a, 0x0a, 0x50, 0x32, 0x50, 0x4d, 0x73, 0x67,
0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x32, 0x50, 0x5f, 0x4d, 0x53, 0x47, 0x5f,
0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x15,
0x0a, 0x11, 0x50, 0x32, 0x50, 0x5f, 0x4d, 0x53, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50,
0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x32, 0x50, 0x5f, 0x4d, 0x53, 0x47,
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4f, 0x4e, 0x47, 0x10, 0x02, 0x42, 0xa1, 0x01, 0x0a,
0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75,
0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x32, 0x70,
0x2f, 0x76, 0x31, 0x3b, 0x70, 0x32, 0x70, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa,
0x02, 0x06, 0x50, 0x32, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x50, 0x32, 0x70, 0x5c, 0x56,
0x31, 0xe2, 0x02, 0x12, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x50, 0x32, 0x70, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_p2p_v1_resource_proto_rawDescOnce sync.Once
file_p2p_v1_resource_proto_rawDescData = file_p2p_v1_resource_proto_rawDesc
)
func file_p2p_v1_resource_proto_rawDescGZIP() []byte {
file_p2p_v1_resource_proto_rawDescOnce.Do(func() {
file_p2p_v1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_p2p_v1_resource_proto_rawDescData)
})
return file_p2p_v1_resource_proto_rawDescData
}
var file_p2p_v1_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_p2p_v1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_p2p_v1_resource_proto_goTypes = []interface{}{
(P2PMsgType)(0), // 0: p2p.v1.P2PMsgType
(*MessageHeader)(nil), // 1: p2p.v1.MessageHeader
(*HandShakeRequest)(nil), // 2: p2p.v1.HandShakeRequest
(*HandShakeResponse)(nil), // 3: p2p.v1.HandShakeResponse
(*PingRequest)(nil), // 4: p2p.v1.PingRequest
(*PongResponse)(nil), // 5: p2p.v1.PongResponse
(*DisconnectRequest)(nil), // 6: p2p.v1.DisconnectRequest
(*MessageRequest)(nil), // 7: p2p.v1.MessageRequest
(*MessageResponse)(nil), // 8: p2p.v1.MessageResponse
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
}
var file_p2p_v1_resource_proto_depIdxs = []int32{
9, // 0: p2p.v1.MessageHeader.create_time:type_name -> google.protobuf.Timestamp
1, // 1: p2p.v1.HandShakeRequest.header:type_name -> p2p.v1.MessageHeader
1, // 2: p2p.v1.HandShakeResponse.header:type_name -> p2p.v1.MessageHeader
1, // 3: p2p.v1.PingRequest.header:type_name -> p2p.v1.MessageHeader
1, // 4: p2p.v1.PongResponse.header:type_name -> p2p.v1.MessageHeader
1, // 5: p2p.v1.DisconnectRequest.header:type_name -> p2p.v1.MessageHeader
1, // 6: p2p.v1.MessageRequest.header:type_name -> p2p.v1.MessageHeader
1, // 7: p2p.v1.MessageResponse.header:type_name -> p2p.v1.MessageHeader
8, // [8:8] is the sub-list for method output_type
8, // [8:8] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_p2p_v1_resource_proto_init() }
func file_p2p_v1_resource_proto_init() {
if File_p2p_v1_resource_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_p2p_v1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HandShakeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HandShakeResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PingRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PongResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisconnectRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_p2p_v1_resource_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_p2p_v1_resource_proto_rawDesc,
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_p2p_v1_resource_proto_goTypes,
DependencyIndexes: file_p2p_v1_resource_proto_depIdxs,
EnumInfos: file_p2p_v1_resource_proto_enumTypes,
MessageInfos: file_p2p_v1_resource_proto_msgTypes,
}.Build()
File_p2p_v1_resource_proto = out.File
file_p2p_v1_resource_proto_rawDesc = nil
file_p2p_v1_resource_proto_goTypes = nil
file_p2p_v1_resource_proto_depIdxs = nil
func init() {
proto.RegisterEnum("p2p.v1.P2PMsgType", P2PMsgType_name, P2PMsgType_value)
proto.RegisterType((*MessageHeader)(nil), "p2p.v1.MessageHeader")
proto.RegisterType((*HandShakeRequest)(nil), "p2p.v1.HandShakeRequest")
proto.RegisterType((*HandShakeResponse)(nil), "p2p.v1.HandShakeResponse")
proto.RegisterType((*PingRequest)(nil), "p2p.v1.PingRequest")
proto.RegisterType((*PongResponse)(nil), "p2p.v1.PongResponse")
proto.RegisterType((*DisconnectRequest)(nil), "p2p.v1.DisconnectRequest")
proto.RegisterType((*MessageRequest)(nil), "p2p.v1.MessageRequest")
proto.RegisterType((*MessageResponse)(nil), "p2p.v1.MessageResponse")
}
func init() { proto.RegisterFile("p2p/v1/resource.proto", fileDescriptor_84ae7440beef4c05) }
var fileDescriptor_84ae7440beef4c05 = []byte{
// 586 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xc1, 0x6e, 0xd3, 0x4c,
0x10, 0xfe, 0xed, 0xb6, 0x4e, 0x3b, 0x49, 0xfb, 0xa7, 0x2b, 0x5a, 0xac, 0x5e, 0x1a, 0x22, 0x21,
0x45, 0x48, 0xd8, 0x8a, 0xb9, 0xb5, 0x27, 0x4a, 0x51, 0x1a, 0x41, 0xca, 0xca, 0x8d, 0x42, 0x29,
0x95, 0xa2, 0x8d, 0x3d, 0xb8, 0x56, 0x1b, 0xef, 0xe2, 0x5d, 0x47, 0xea, 0x03, 0xc0, 0x81, 0xb7,
0x80, 0x23, 0x8f, 0xc2, 0x63, 0x70, 0xe4, 0x29, 0x90, 0x77, 0x9d, 0xaa, 0x15, 0xb7, 0x28, 0xb7,
0x9d, 0x6f, 0xbe, 0xf9, 0xf4, 0xf9, 0xd3, 0x78, 0x60, 0x47, 0x04, 0xc2, 0x9f, 0x75, 0xfd, 0x1c,
0x25, 0x2f, 0xf2, 0x08, 0x3d, 0x91, 0x73, 0xc5, 0x89, 0x23, 0x02, 0xe1, 0xcd, 0xba, 0x7b, 0xfb,
0x09, 0xe7, 0xc9, 0x0d, 0xfa, 0x1a, 0x9d, 0x14, 0x9f, 0x7c, 0x95, 0x4e, 0x51, 0x2a, 0x36, 0x15,
0x86,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x58, 0x5c, 0x44, 0x58, 0xc8, 0x01, 0x2a, 0x56, 0xde, 0x15, 0x43, 0x8a, 0xf8, 0x8d, 0x3f, 0x45,
0xc5, 0xc4, 0xbc, 0x48, 0x30, 0x33, 0xb7, 0xca, 0x4f, 0xb8, 0x6f, 0x4e, 0xdb, 0xa1, 0x08, 0xc4,
0xac, 0xfb, 0xc3, 0x5e, 0xa1, 0xe7, 0xe7, 0x3f, 0x6d, 0x87, 0x06, 0xc2, 0x1b, 0x75, 0x7f, 0xe9,
0xc7, 0xe5, 0xa8, 0xfb, 0xdb, 0x26, 0xe6, 0x71, 0xd9, 0xa3, 0x47, 0xa5, 0x78, 0x19, 0xc1, 0x1f,
0xbb, 0x46, 0x03, 0x71, 0x70, 0x30, 0xea, 0x4e, 0x1c, 0xad, 0xf6, 0xe2, 0x6f, 0x00, 0x00, 0x00,
0xff, 0xff, 0xcb, 0xbd, 0xb3, 0x0d, 0x28, 0x05, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: p2p/v1/service.proto
package p2pv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/emptypb"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_p2p_v1_service_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_p2p_v1_service_proto_rawDesc = []byte{
0x0a, 0x14, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x1d,
0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x88, 0x04, 0x0a, 0x0a, 0x50,
0x32, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0c, 0x42, 0x72, 0x6f,
0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x2e, 0x70, 0x32, 0x70, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x6f,
0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x4e, 0x0a, 0x0f, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73,
0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x6f,
0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1c, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43,
0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x4a, 0x0a, 0x0b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x73, 0x6d, 0x73, 0x67, 0x12,
0x1b, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78,
0x73, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70,
0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x73, 0x48, 0x61,
0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x07,
0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31,
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x18, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61,
0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0c,
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x70,
0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d,
0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x32, 0x70, 0x2e,
0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0c, 0x4e, 0x65, 0x74,
0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
0x79, 0x1a, 0x1c, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x74, 0x50, 0x65,
0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x42, 0x0a, 0x0a, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31,
0x2e, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xa0, 0x01, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x32,
0x70, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x32, 0x70, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x50, 0x32, 0x70, 0x2e, 0x56, 0x31,
0xca, 0x02, 0x06, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x50, 0x32, 0x70, 0x5c,
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x07, 0x50, 0x32, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_p2p_v1_service_proto_goTypes = []interface{}{
(*BroadCastRequest)(nil), // 0: p2p.v1.BroadCastRequest
(*BroadCastTxsRequest)(nil), // 1: p2p.v1.BroadCastTxsRequest
(*BatchTxsHashRequest)(nil), // 2: p2p.v1.BatchTxsHashRequest
(*SendDataRequest)(nil), // 3: p2p.v1.SendDataRequest
(*SubscribeMsgRequest)(nil), // 4: p2p.v1.SubscribeMsgRequest
(*emptypb.Empty)(nil), // 5: google.protobuf.Empty
(*BroadCastResponse)(nil), // 6: p2p.v1.BroadCastResponse
(*BroadCastTxsResponse)(nil), // 7: p2p.v1.BroadCastTxsResponse
(*BatchTxsHashResponse)(nil), // 8: p2p.v1.BatchTxsHashResponse
(*SendDataResponse)(nil), // 9: p2p.v1.SendDataResponse
(*SubscribeMsgResponse)(nil), // 10: p2p.v1.SubscribeMsgResponse
(*NetPeerCountResponse)(nil), // 11: p2p.v1.NetPeerCountResponse
(*NetVersionResponse)(nil), // 12: p2p.v1.NetVersionResponse
}
var file_p2p_v1_service_proto_depIdxs = []int32{
0, // 0: p2p.v1.P2PService.BroadcastMsg:input_type -> p2p.v1.BroadCastRequest
1, // 1: p2p.v1.P2PService.BroadcastTxsMsg:input_type -> p2p.v1.BroadCastTxsRequest
2, // 2: p2p.v1.P2PService.BatchTxsmsg:input_type -> p2p.v1.BatchTxsHashRequest
3, // 3: p2p.v1.P2PService.SendMsg:input_type -> p2p.v1.SendDataRequest
4, // 4: p2p.v1.P2PService.SubscribeMsg:input_type -> p2p.v1.SubscribeMsgRequest
5, // 5: p2p.v1.P2PService.NetPeerCount:input_type -> google.protobuf.Empty
5, // 6: p2p.v1.P2PService.NetVersion:input_type -> google.protobuf.Empty
6, // 7: p2p.v1.P2PService.BroadcastMsg:output_type -> p2p.v1.BroadCastResponse
7, // 8: p2p.v1.P2PService.BroadcastTxsMsg:output_type -> p2p.v1.BroadCastTxsResponse
8, // 9: p2p.v1.P2PService.BatchTxsmsg:output_type -> p2p.v1.BatchTxsHashResponse
9, // 10: p2p.v1.P2PService.SendMsg:output_type -> p2p.v1.SendDataResponse
10, // 11: p2p.v1.P2PService.SubscribeMsg:output_type -> p2p.v1.SubscribeMsgResponse
11, // 12: p2p.v1.P2PService.NetPeerCount:output_type -> p2p.v1.NetPeerCountResponse
12, // 13: p2p.v1.P2PService.NetVersion:output_type -> p2p.v1.NetVersionResponse
7, // [7:14] is the sub-list for method output_type
0, // [0:7] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("p2p/v1/service.proto", fileDescriptor_44cb8ccd8d1336f3) }
func init() { file_p2p_v1_service_proto_init() }
func file_p2p_v1_service_proto_init() {
if File_p2p_v1_service_proto != nil {
return
}
file_p2p_v1_request_response_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_p2p_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_p2p_v1_service_proto_goTypes,
DependencyIndexes: file_p2p_v1_service_proto_depIdxs,
}.Build()
File_p2p_v1_service_proto = out.File
file_p2p_v1_service_proto_rawDesc = nil
file_p2p_v1_service_proto_goTypes = nil
file_p2p_v1_service_proto_depIdxs = nil
var fileDescriptor_44cb8ccd8d1336f3 = []byte{
// 411 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xd1, 0x8a, 0xd4, 0x30,
0x14, 0x86, 0xdd, 0x2a, 0xb3, 0x10, 0x0b, 0x42, 0x11, 0x5d,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b4, 0x57, 0xff, 0x03, 0x00,
0x00, 0xff, 0xff, 0x01, 0x4d, 0xfd, 0xfc, 0x10, 0x03, 0x00, 0x00,
}
This source diff could not be displayed because it is too large. You can view the blob instead.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ring/v1/request_response.proto
package ringv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ring_v1_request_response_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_ring_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x1e, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x07, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0xaf, 0x01, 0x0a, 0x0b, 0x63, 0x6f,
0x6d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x69, 0x6e, 0x67, 0x76, 0x31,
0xa2, 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31,
0xca, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x52, 0x69, 0x6e,
0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x08, 0x52, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_ring_v1_request_response_proto_goTypes = []interface{}{}
var file_ring_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("ring/v1/request_response.proto", fileDescriptor_a0728241cb087019) }
func init() { file_ring_v1_request_response_proto_init() }
func file_ring_v1_request_response_proto_init() {
if File_ring_v1_request_response_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ring_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_ring_v1_request_response_proto_goTypes,
DependencyIndexes: file_ring_v1_request_response_proto_depIdxs,
}.Build()
File_ring_v1_request_response_proto = out.File
file_ring_v1_request_response_proto_rawDesc = nil
file_ring_v1_request_response_proto_goTypes = nil
file_ring_v1_request_response_proto_depIdxs = nil
var fileDescriptor_a0728241cb087019 = []byte{
// 193 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xca, 0xcc, 0x4b,
0xd7, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x89, 0x2f, 0x4a, 0x2d, 0x2e,
0xc8, 0xcf, 0x2b, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x07, 0xc9, 0xeb, 0x95,
0x19, 0x3a, 0xad, 0x67, 0xe4, 0xe2, 0x4e, 0xce, 0xcf, 0xd5, 0x83, 0xf1, 0x45, 0x82, 0x20, 0x1a,
0x82, 0xa0, 0xea, 0x03, 0x40, 0xca, 0x03, 0x18, 0xa3, 0x7c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93,
0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x9d, 0x13, 0x53, 0x4a, 0x93, 0x53, 0x4b, 0x8b, 0x7d, 0x53, 0x4b,
0x12, 0xcb, 0x52, 0x8b, 0xa0, 0x8a, 0x92, 0xf3, 0x73, 0xf4, 0x73, 0x53, 0x4b, 0x12, 0x0b, 0x60,
0x9c, 0xf4, 0xd4, 0x3c, 0x7d, 0x30, 0x47, 0x3f, 0x3d, 0x5f, 0x1f, 0xea, 0x1e, 0x6b, 0x10, 0x5d,
0x66, 0xb8, 0x88, 0x89, 0x39, 0x28, 0x22, 0x62, 0x15, 0x13, 0x7b, 0x10, 0xc8, 0xda, 0x30, 0xc3,
0x53, 0x10, 0x56, 0x4c, 0x98, 0xe1, 0x23, 0x26, 0x61, 0x28, 0x2b, 0xc6, 0x3d, 0xc0, 0x09, 0x64,
0x43, 0x4a, 0x62, 0x49, 0xe2, 0x2b, 0x26, 0x0e, 0x90, 0xa8, 0x95, 0x55, 0x98, 0x61, 0x12, 0x1b,
0xd8, 0x4c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x75, 0x92, 0xbb, 0x3d, 0xe3, 0x00, 0x00,
0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ring/v1/resource.proto
package ringv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ring_v1_resource_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_ring_v1_resource_proto_rawDesc = []byte{
0x0a, 0x16, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
0x31, 0x42, 0xa8, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x2f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x69, 0x6e, 0x67, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x2e, 0x56,
0x31, 0xca, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x52, 0x69,
0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x08, 0x52, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_ring_v1_resource_proto_goTypes = []interface{}{}
var file_ring_v1_resource_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("ring/v1/resource.proto", fileDescriptor_679f4f17385494fd) }
func init() { file_ring_v1_resource_proto_init() }
func file_ring_v1_resource_proto_init() {
if File_ring_v1_resource_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ring_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_ring_v1_resource_proto_goTypes,
DependencyIndexes: file_ring_v1_resource_proto_depIdxs,
}.Build()
File_ring_v1_resource_proto = out.File
file_ring_v1_resource_proto_rawDesc = nil
file_ring_v1_resource_proto_goTypes = nil
file_ring_v1_resource_proto_depIdxs = nil
var fileDescriptor_679f4f17385494fd = []byte{
// 183 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2b, 0xca, 0xcc, 0x4b,
0xd7, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b, 0x28, 0xca,
0x2f, 0xc9, 0x17, 0x62, 0x07, 0x89, 0xeb, 0x95, 0x19, 0x3a, 0xad, 0x60, 0xe4, 0xe2, 0x4e, 0xce,
0xcf, 0xd5, 0x83, 0xf1, 0x79, 0x83, 0xa0, 0x0a, 0x03, 0x40, 0xea, 0x02, 0x18, 0xa3, 0x7c, 0xd3,
0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x9d, 0x13, 0x53, 0x4a, 0x93, 0x53,
0x4b, 0x8b, 0x7d, 0x53, 0x4b, 0x12, 0xcb, 0x52, 0x8b, 0x8a, 0x21, 0x8a, 0x92, 0xf3, 0x73, 0xf4,
0x73, 0x53, 0x4b, 0x12, 0x0b, 0x60, 0x9c, 0xf4, 0xd4, 0x3c, 0x7d, 0x30, 0x47, 0x3f, 0x3d, 0x5f,
0x1f, 0xea, 0x00, 0x6b, 0x10, 0x5d, 0x66, 0xb8, 0x88, 0x89, 0x39, 0x28, 0x22, 0x62, 0x15, 0x13,
0x7b, 0x10, 0xc8, 0xbe, 0x30, 0xc3, 0x53, 0x10, 0x56, 0x4c, 0x98, 0xe1, 0x23, 0x26, 0x61, 0x28,
0x2b, 0xc6, 0x3d, 0xc0, 0x09, 0x64, 0x43, 0x4a, 0x62, 0x49, 0xe2, 0x2b, 0x26, 0x0e, 0x90, 0xa8,
0x95, 0x55, 0x98, 0x61, 0x12, 0x1b, 0xd8, 0x4c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7e,
0xd5, 0x6c, 0x90, 0xd4, 0x00, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ring/v1/service.proto
package ringv1
import (
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
fmt "fmt"
_ "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/emptypb"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type EmptyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *EmptyRequest) Reset() {
*x = EmptyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_ring_v1_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *EmptyRequest) Reset() { *m = EmptyRequest{} }
func (m *EmptyRequest) String() string { return proto.CompactTextString(m) }
func (*EmptyRequest) ProtoMessage() {}
func (*EmptyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2dc67120507b0009, []int{0}
}
func (x *EmptyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *EmptyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EmptyRequest.Unmarshal(m, b)
}
func (*EmptyRequest) ProtoMessage() {}
func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
mi := &file_ring_v1_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EmptyRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) Descriptor() ([]byte, []int) {
return file_ring_v1_service_proto_rawDescGZIP(), []int{0}
func (m *EmptyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_EmptyRequest.Merge(m, src)
}
type EmptyResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
func (m *EmptyRequest) XXX_Size() int {
return xxx_messageInfo_EmptyRequest.Size(m)
}
func (x *EmptyResponse) Reset() {
*x = EmptyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_ring_v1_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *EmptyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_EmptyRequest.DiscardUnknown(m)
}
func (x *EmptyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
var xxx_messageInfo_EmptyRequest proto.InternalMessageInfo
func (*EmptyResponse) ProtoMessage() {}
func (x *EmptyResponse) ProtoReflect() protoreflect.Message {
mi := &file_ring_v1_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type EmptyResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (m *EmptyResponse) Reset() { *m = EmptyResponse{} }
func (m *EmptyResponse) String() string { return proto.CompactTextString(m) }
func (*EmptyResponse) ProtoMessage() {}
func (*EmptyResponse) Descriptor() ([]byte, []int) {
return file_ring_v1_service_proto_rawDescGZIP(), []int{1}
return fileDescriptor_2dc67120507b0009, []int{1}
}
type Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
func (m *EmptyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EmptyResponse.Unmarshal(m, b)
}
func (x *Request) Reset() {
*x = Request{}
if protoimpl.UnsafeEnabled {
mi := &file_ring_v1_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EmptyResponse.Marshal(b, m, deterministic)
}
func (x *Request) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *EmptyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_EmptyResponse.Merge(m, src)
}
func (m *EmptyResponse) XXX_Size() int {
return xxx_messageInfo_EmptyResponse.Size(m)
}
func (m *EmptyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_EmptyResponse.DiscardUnknown(m)
}
func (*Request) ProtoMessage() {}
var xxx_messageInfo_EmptyResponse proto.InternalMessageInfo
func (x *Request) ProtoReflect() protoreflect.Message {
mi := &file_ring_v1_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type Request struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use Request.ProtoReflect.Descriptor instead.
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) {
return file_ring_v1_service_proto_rawDescGZIP(), []int{2}
return fileDescriptor_2dc67120507b0009, []int{2}
}
type Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
func (m *Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Request.Unmarshal(m, b)
}
func (x *Response) Reset() {
*x = Response{}
if protoimpl.UnsafeEnabled {
mi := &file_ring_v1_service_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Request.Marshal(b, m, deterministic)
}
func (x *Response) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *Request) XXX_Merge(src proto.Message) {
xxx_messageInfo_Request.Merge(m, src)
}
func (m *Request) XXX_Size() int {
return xxx_messageInfo_Request.Size(m)
}
func (m *Request) XXX_DiscardUnknown() {
xxx_messageInfo_Request.DiscardUnknown(m)
}
func (*Response) ProtoMessage() {}
var xxx_messageInfo_Request proto.InternalMessageInfo
func (x *Response) ProtoReflect() protoreflect.Message {
mi := &file_ring_v1_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
type Response struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) {
return file_ring_v1_service_proto_rawDescGZIP(), []int{3}
return fileDescriptor_2dc67120507b0009, []int{3}
}
func (m *Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Response.Unmarshal(m, b)
}
func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Response.Marshal(b, m, deterministic)
}
func (m *Response) XXX_Merge(src proto.Message) {
xxx_messageInfo_Response.Merge(m, src)
}
func (m *Response) XXX_Size() int {
return xxx_messageInfo_Response.Size(m)
}
func (m *Response) XXX_DiscardUnknown() {
xxx_messageInfo_Response.DiscardUnknown(m)
}
var xxx_messageInfo_Response proto.InternalMessageInfo
func (x *Response) GetId() string {
if x != nil {
return x.Id
func (m *Response) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type HelloRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *HelloRequest) Reset() {
*x = HelloRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_ring_v1_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *HelloRequest) Reset() { *m = HelloRequest{} }
func (m *HelloRequest) String() string { return proto.CompactTextString(m) }
func (*HelloRequest) ProtoMessage() {}
func (*HelloRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2dc67120507b0009, []int{4}
}
func (x *HelloRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *HelloRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HelloRequest.Unmarshal(m, b)
}
func (*HelloRequest) ProtoMessage() {}
func (x *HelloRequest) ProtoReflect() protoreflect.Message {
mi := &file_ring_v1_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HelloRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) Descriptor() ([]byte, []int) {
return file_ring_v1_service_proto_rawDescGZIP(), []int{4}
func (m *HelloRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_HelloRequest.Merge(m, src)
}
func (m *HelloRequest) XXX_Size() int {
return xxx_messageInfo_HelloRequest.Size(m)
}
func (m *HelloRequest) XXX_DiscardUnknown() {
xxx_messageInfo_HelloRequest.DiscardUnknown(m)
}
var xxx_messageInfo_HelloRequest proto.InternalMessageInfo
func (x *HelloRequest) GetName() string {
if x != nil {
return x.Name
func (m *HelloRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type HelloReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *HelloReply) Reset() {
*x = HelloReply{}
if protoimpl.UnsafeEnabled {
mi := &file_ring_v1_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *HelloReply) Reset() { *m = HelloReply{} }
func (m *HelloReply) String() string { return proto.CompactTextString(m) }
func (*HelloReply) ProtoMessage() {}
func (*HelloReply) Descriptor() ([]byte, []int) {
return fileDescriptor_2dc67120507b0009, []int{5}
}
func (x *HelloReply) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *HelloReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HelloReply.Unmarshal(m, b)
}
func (*HelloReply) ProtoMessage() {}
func (x *HelloReply) ProtoReflect() protoreflect.Message {
mi := &file_ring_v1_service_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HelloReply.Marshal(b, m, deterministic)
}
// Deprecated: Use HelloReply.ProtoReflect.Descriptor instead.
func (*HelloReply) Descriptor() ([]byte, []int) {
return file_ring_v1_service_proto_rawDescGZIP(), []int{5}
func (m *HelloReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_HelloReply.Merge(m, src)
}
func (x *HelloReply) GetName() string {
if x != nil {
return x.Name
}
return ""
func (m *HelloReply) XXX_Size() int {
return xxx_messageInfo_HelloReply.Size(m)
}
var File_ring_v1_service_proto protoreflect.FileDescriptor
var file_ring_v1_service_proto_rawDesc = []byte{
0x0a, 0x15, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x72,
0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x72,
0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72,
0x65, 0x71, 0x5f, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61,
0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x22, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x0c,
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x22, 0x20, 0x0a, 0x0a, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x32, 0xac, 0x05, 0x0a, 0x0b, 0x52, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x78, 0x41, 0x73, 0x45, 0x74,
0x68, 0x12, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x74, 0x68, 0x1a, 0x23, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x52, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
0x64, 0x45, 0x74, 0x68, 0x54, 0x78, 0x12, 0x16, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x74, 0x68, 0x54, 0x78, 0x1a, 0x23,
0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x70,
0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x64, 0x54, 0x78, 0x12, 0x16, 0x2e, 0x62, 0x61, 0x73,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x64,
0x54, 0x78, 0x1a, 0x23, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e,
0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0b, 0x53, 0x65, 0x6e,
0x64, 0x54, 0x78, 0x41, 0x73, 0x53, 0x74, 0x64, 0x12, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
0x64, 0x1a, 0x23, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64,
0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64,
0x54, 0x78, 0x41, 0x73, 0x41, 0x6e, 0x79, 0x12, 0x14, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x23, 0x2e,
0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54,
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x78, 0x41, 0x73,
0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73,
0x1a, 0x23, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52,
0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x09, 0x53, 0x65, 0x6e, 0x64, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d,
0x70, 0x74, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x15, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x05, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
0x12, 0x15, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
0x31, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x32, 0x39, 0x0a, 0x09, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2c,
0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x10, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x43, 0x0a, 0x07,
0x47, 0x72, 0x65, 0x65, 0x74, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x08, 0x53, 0x61, 0x79, 0x48, 0x65,
0x6c, 0x6c, 0x6f, 0x12, 0x15, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65,
0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
0x00, 0x42, 0xa7, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76,
0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x69, 0x6e, 0x67, 0x76, 0x31,
0xa2, 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31,
0xca, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x52, 0x69, 0x6e,
0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x08, 0x52, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
func (m *HelloReply) XXX_DiscardUnknown() {
xxx_messageInfo_HelloReply.DiscardUnknown(m)
}
var (
file_ring_v1_service_proto_rawDescOnce sync.Once
file_ring_v1_service_proto_rawDescData = file_ring_v1_service_proto_rawDesc
)
func file_ring_v1_service_proto_rawDescGZIP() []byte {
file_ring_v1_service_proto_rawDescOnce.Do(func() {
file_ring_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_ring_v1_service_proto_rawDescData)
})
return file_ring_v1_service_proto_rawDescData
}
var xxx_messageInfo_HelloReply proto.InternalMessageInfo
var file_ring_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_ring_v1_service_proto_goTypes = []interface{}{
(*EmptyRequest)(nil), // 0: ring.v1.EmptyRequest
(*EmptyResponse)(nil), // 1: ring.v1.EmptyResponse
(*Request)(nil), // 2: ring.v1.Request
(*Response)(nil), // 3: ring.v1.Response
(*HelloRequest)(nil), // 4: ring.v1.HelloRequest
(*HelloReply)(nil), // 5: ring.v1.HelloReply
(*v1.TransactionEth)(nil), // 6: base.v1.TransactionEth
(*v1.RepeatedEthTx)(nil), // 7: base.v1.RepeatedEthTx
(*v1.RepeatedStdTx)(nil), // 8: base.v1.RepeatedStdTx
(*v1.TransactionStd)(nil), // 9: base.v1.TransactionStd
(*v1.Transaction)(nil), // 10: base.v1.Transaction
(*v1.TransactionBytes)(nil), // 11: base.v1.TransactionBytes
(*emptypb.Empty)(nil), // 12: google.protobuf.Empty
(*NonceRequest)(nil), // 13: ring.v1.NonceRequest
(*SendRawTransactionResponse)(nil), // 14: ring.v1.SendRawTransactionResponse
(*NonceResponse)(nil), // 15: ring.v1.NonceResponse
}
var file_ring_v1_service_proto_depIdxs = []int32{
6, // 0: ring.v1.RingService.SendTxAsEth:input_type -> base.v1.TransactionEth
7, // 1: ring.v1.RingService.SendRepeatedEthTx:input_type -> base.v1.RepeatedEthTx
8, // 2: ring.v1.RingService.SendRepeatedStdTx:input_type -> base.v1.RepeatedStdTx
9, // 3: ring.v1.RingService.SendTxAsStd:input_type -> base.v1.TransactionStd
10, // 4: ring.v1.RingService.SendTxAsAny:input_type -> base.v1.Transaction
11, // 5: ring.v1.RingService.SendTxAsBytes:input_type -> base.v1.TransactionBytes
12, // 6: ring.v1.RingService.SendEmpty:input_type -> google.protobuf.Empty
0, // 7: ring.v1.RingService.SendEmptyMsg:input_type -> ring.v1.EmptyRequest
13, // 8: ring.v1.RingService.Nonce:input_type -> ring.v1.NonceRequest
2, // 9: ring.v1.MyService.Get:input_type -> ring.v1.Request
4, // 10: ring.v1.Greeter.SayHello:input_type -> ring.v1.HelloRequest
14, // 11: ring.v1.RingService.SendTxAsEth:output_type -> ring.v1.SendRawTransactionResponse
14, // 12: ring.v1.RingService.SendRepeatedEthTx:output_type -> ring.v1.SendRawTransactionResponse
14, // 13: ring.v1.RingService.SendRepeatedStdTx:output_type -> ring.v1.SendRawTransactionResponse
14, // 14: ring.v1.RingService.SendTxAsStd:output_type -> ring.v1.SendRawTransactionResponse
14, // 15: ring.v1.RingService.SendTxAsAny:output_type -> ring.v1.SendRawTransactionResponse
14, // 16: ring.v1.RingService.SendTxAsBytes:output_type -> ring.v1.SendRawTransactionResponse
12, // 17: ring.v1.RingService.SendEmpty:output_type -> google.protobuf.Empty
1, // 18: ring.v1.RingService.SendEmptyMsg:output_type -> ring.v1.EmptyResponse
15, // 19: ring.v1.RingService.Nonce:output_type -> ring.v1.NonceResponse
3, // 20: ring.v1.MyService.Get:output_type -> ring.v1.Response
5, // 21: ring.v1.Greeter.SayHello:output_type -> ring.v1.HelloReply
11, // [11:22] is the sub-list for method output_type
0, // [0:11] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
func (m *HelloReply) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func init() { file_ring_v1_service_proto_init() }
func file_ring_v1_service_proto_init() {
if File_ring_v1_service_proto != nil {
return
}
file_ring_v1_request_response_proto_init()
file_ring_v1_account_req_res_proto_init()
if !protoimpl.UnsafeEnabled {
file_ring_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EmptyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ring_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EmptyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ring_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Request); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ring_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ring_v1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HelloRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ring_v1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HelloReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ring_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 3,
},
GoTypes: file_ring_v1_service_proto_goTypes,
DependencyIndexes: file_ring_v1_service_proto_depIdxs,
MessageInfos: file_ring_v1_service_proto_msgTypes,
}.Build()
File_ring_v1_service_proto = out.File
file_ring_v1_service_proto_rawDesc = nil
file_ring_v1_service_proto_goTypes = nil
file_ring_v1_service_proto_depIdxs = nil
func init() {
proto.RegisterType((*EmptyRequest)(nil), "ring.v1.EmptyRequest")
proto.RegisterType((*EmptyResponse)(nil), "ring.v1.EmptyResponse")
proto.RegisterType((*Request)(nil), "ring.v1.Request")
proto.RegisterType((*Response)(nil), "ring.v1.Response")
proto.RegisterType((*HelloRequest)(nil), "ring.v1.HelloRequest")
proto.RegisterType((*HelloReply)(nil), "ring.v1.HelloReply")
}
func init() { proto.RegisterFile("ring/v1/service.proto", fileDescriptor_2dc67120507b0009) }
var fileDescriptor_2dc67120507b0009 = []byte{
// 410 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xd1, 0x6a, 0xd4, 0x40,
0x14, 0xed, 0xa6, 0xea, 0xee, 0xde, 0xae, 0x55, 0xa7, 0xb4, 0x48, 0x44, 0x29, 0x79, 0xf2, 0x41,
0x32, 0xa4, 0xbe, 0xd4, 0xfa, 0xb6, 0x45, 0xd6, 0x97, 0x95, 0x25, 0x85, 0xa5, 0x48, 0x41, 0x26,
0x93, 0x6b, 0x0c, 0x24, 0x99, 0x74, 0x66, 0x12, 0xc8, 0xef, 0xf8, 0x22, 0xf8, 0x29, 0x7e, 0x86,
0x8f, 0x7e, 0x85, 0x4c, 0x66, 0xa6, 0x2c, 0xa5, 0x4f, 0xb9, 0xf7, 0x9c, 0x73, 0xcf, 0xbd, 0x39,
0x09, 0x1c, 0xcb, 0xb2, 0x29, 0x68, 0x9f, 0x50, 0x85, 0xb2, 0x2f, 0x39, 0xc6, 0xad, 0x14, 0x5a,
0x90, 0xa9, 0x81, 0xe3, 0x3e, 0x09, 0x5f, 0x15, 0x42, 0x14, 0x15, 0xd2, 0x11, 0xce, 0xba, 0xef,
0x14, 0xe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x09, 0x1c, 0x70, 0x51, 0x7b, 0x72, 0xb9,
0x70, 0xb7, 0x6c, 0x4c, 0xe8, 0x9b, 0xc9, 0xd7, 0x75, 0x51, 0xea, 0x1f, 0x5d, 0x16, 0x73, 0x51,
0xd3, 0x4b, 0x96, 0x77, 0x1c, 0x3b, 0xb5, 0x46, 0xcd, 0x7a, 0x94, 0xca, 0x8a, 0xb8, 0xa8, 0x68,
0x8d, 0x9a, 0xb5, 0xbe, 0x29, 0xb0, 0xb1, 0x7f, 0x06, 0x2d, 0x04, 0x75, 0x1f, 0xfb, 0xa3, 0x79,
0xf6, 0xc9, 0xcf, 0x60, 0x3f, 0xbd, 0xbe, 0xfe, 0x1d, 0x4c, 0x4d, 0x78, 0xf1, 0x36, 0xf9, 0x63,
0xab, 0x9b, 0x6d, 0xf2, 0x37, 0x38, 0x72, 0xd5, 0xcd, 0x6a, 0xb3, 0x34, 0x1b, 0x72, 0xa6, 0xd9,
0xbf, 0x60, 0x66, 0xd0, 0x8b, 0x8b, 0x6d, 0x92, 0x3d, 0x19, 0x3d, 0xdf, 0xff, 0x0f, 0x00, 0x00,
0xff, 0xff, 0x11, 0x03, 0x38, 0xca, 0x9d, 0x02, 0x00, 0x00,
}
......@@ -8,11 +8,9 @@ package ringv1
import (
context "context"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
emptypb "google.golang.org/protobuf/types/known/emptypb"
)
// This is a compile-time assertion to ensure that this generated file
......@@ -24,16 +22,7 @@ const _ = grpc.SupportPackageIsVersion7
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type RingServiceClient interface {
// account info service
SendTxAsEth(ctx context.Context, in *v1.TransactionEth, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendRepeatedEthTx(ctx context.Context, in *v1.RepeatedEthTx, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendRepeatedStdTx(ctx context.Context, in *v1.RepeatedStdTx, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendTxAsStd(ctx context.Context, in *v1.TransactionStd, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendTxAsAny(ctx context.Context, in *v1.Transaction, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendTxAsBytes(ctx context.Context, in *v1.TransactionBytes, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
SendEmpty(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
SendEmptyMsg(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
// rpc SendRawTransaction(base.v1.EthTx) returns (SendRawTransactionResponse) {};
//rpc SendRawTransaction(base.v1.EthTx) returns (SendRawTransactionResponse) {};
Nonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error)
}
......@@ -45,78 +34,6 @@ func NewRingServiceClient(cc grpc.ClientConnInterface) RingServiceClient {
return &ringServiceClient{cc}
}
func (c *ringServiceClient) SendTxAsEth(ctx context.Context, in *v1.TransactionEth, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendTxAsEth", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendRepeatedEthTx(ctx context.Context, in *v1.RepeatedEthTx, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendRepeatedEthTx", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendRepeatedStdTx(ctx context.Context, in *v1.RepeatedStdTx, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendRepeatedStdTx", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendTxAsStd(ctx context.Context, in *v1.TransactionStd, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendTxAsStd", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendTxAsAny(ctx context.Context, in *v1.Transaction, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendTxAsAny", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendTxAsBytes(ctx context.Context, in *v1.TransactionBytes, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendTxAsBytes", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendEmpty(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendEmpty", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendEmptyMsg(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error) {
out := new(EmptyResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendEmptyMsg", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Nonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error) {
out := new(NonceResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Nonce", in, out, opts...)
......@@ -130,16 +47,7 @@ func (c *ringServiceClient) Nonce(ctx context.Context, in *NonceRequest, opts ..
// All implementations must embed UnimplementedRingServiceServer
// for forward compatibility
type RingServiceServer interface {
// account info service
SendTxAsEth(context.Context, *v1.TransactionEth) (*SendRawTransactionResponse, error)
SendRepeatedEthTx(context.Context, *v1.RepeatedEthTx) (*SendRawTransactionResponse, error)
SendRepeatedStdTx(context.Context, *v1.RepeatedStdTx) (*SendRawTransactionResponse, error)
SendTxAsStd(context.Context, *v1.TransactionStd) (*SendRawTransactionResponse, error)
SendTxAsAny(context.Context, *v1.Transaction) (*SendRawTransactionResponse, error)
SendTxAsBytes(context.Context, *v1.TransactionBytes) (*SendRawTransactionResponse, error)
SendEmpty(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
SendEmptyMsg(context.Context, *EmptyRequest) (*EmptyResponse, error)
// rpc SendRawTransaction(base.v1.EthTx) returns (SendRawTransactionResponse) {};
//rpc SendRawTransaction(base.v1.EthTx) returns (SendRawTransactionResponse) {};
Nonce(context.Context, *NonceRequest) (*NonceResponse, error)
mustEmbedUnimplementedRingServiceServer()
}
......@@ -148,30 +56,6 @@ type RingServiceServer interface {
type UnimplementedRingServiceServer struct {
}
func (UnimplementedRingServiceServer) SendTxAsEth(context.Context, *v1.TransactionEth) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTxAsEth not implemented")
}
func (UnimplementedRingServiceServer) SendRepeatedEthTx(context.Context, *v1.RepeatedEthTx) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRepeatedEthTx not implemented")
}
func (UnimplementedRingServiceServer) SendRepeatedStdTx(context.Context, *v1.RepeatedStdTx) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRepeatedStdTx not implemented")
}
func (UnimplementedRingServiceServer) SendTxAsStd(context.Context, *v1.TransactionStd) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTxAsStd not implemented")
}
func (UnimplementedRingServiceServer) SendTxAsAny(context.Context, *v1.Transaction) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTxAsAny not implemented")
}
func (UnimplementedRingServiceServer) SendTxAsBytes(context.Context, *v1.TransactionBytes) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTxAsBytes not implemented")
}
func (UnimplementedRingServiceServer) SendEmpty(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendEmpty not implemented")
}
func (UnimplementedRingServiceServer) SendEmptyMsg(context.Context, *EmptyRequest) (*EmptyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendEmptyMsg not implemented")
}
func (UnimplementedRingServiceServer) Nonce(context.Context, *NonceRequest) (*NonceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Nonce not implemented")
}
......@@ -188,150 +72,6 @@ func RegisterRingServiceServer(s grpc.ServiceRegistrar, srv RingServiceServer) {
s.RegisterService(&RingService_ServiceDesc, srv)
}
func _RingService_SendTxAsEth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.TransactionEth)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendTxAsEth(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendTxAsEth",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendTxAsEth(ctx, req.(*v1.TransactionEth))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendRepeatedEthTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.RepeatedEthTx)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendRepeatedEthTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendRepeatedEthTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendRepeatedEthTx(ctx, req.(*v1.RepeatedEthTx))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendRepeatedStdTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.RepeatedStdTx)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendRepeatedStdTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendRepeatedStdTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendRepeatedStdTx(ctx, req.(*v1.RepeatedStdTx))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendTxAsStd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.TransactionStd)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendTxAsStd(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendTxAsStd",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendTxAsStd(ctx, req.(*v1.TransactionStd))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendTxAsAny_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.Transaction)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendTxAsAny(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendTxAsAny",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendTxAsAny(ctx, req.(*v1.Transaction))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendTxAsBytes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(v1.TransactionBytes)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendTxAsBytes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendTxAsBytes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendTxAsBytes(ctx, req.(*v1.TransactionBytes))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendEmpty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(emptypb.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendEmpty(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendEmpty",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendEmpty(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendEmptyMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(EmptyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendEmptyMsg(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendEmptyMsg",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendEmptyMsg(ctx, req.(*EmptyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Nonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(NonceRequest)
if err := dec(in); err != nil {
......@@ -357,38 +97,6 @@ var RingService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "ring.v1.RingService",
HandlerType: (*RingServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "SendTxAsEth",
Handler: _RingService_SendTxAsEth_Handler,
},
{
MethodName: "SendRepeatedEthTx",
Handler: _RingService_SendRepeatedEthTx_Handler,
},
{
MethodName: "SendRepeatedStdTx",
Handler: _RingService_SendRepeatedStdTx_Handler,
},
{
MethodName: "SendTxAsStd",
Handler: _RingService_SendTxAsStd_Handler,
},
{
MethodName: "SendTxAsAny",
Handler: _RingService_SendTxAsAny_Handler,
},
{
MethodName: "SendTxAsBytes",
Handler: _RingService_SendTxAsBytes_Handler,
},
{
MethodName: "SendEmpty",
Handler: _RingService_SendEmpty_Handler,
},
{
MethodName: "SendEmptyMsg",
Handler: _RingService_SendEmptyMsg_Handler,
},
{
MethodName: "Nonce",
Handler: _RingService_Nonce_Handler,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: sentry/v1/request_response.proto
package sentryv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type LimitInfoRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *LimitInfoRequest) Reset() {
*x = LimitInfoRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *LimitInfoRequest) Reset() { *m = LimitInfoRequest{} }
func (m *LimitInfoRequest) String() string { return proto.CompactTextString(m) }
func (*LimitInfoRequest) ProtoMessage() {}
func (*LimitInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{0}
}
func (x *LimitInfoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *LimitInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LimitInfoRequest.Unmarshal(m, b)
}
func (*LimitInfoRequest) ProtoMessage() {}
func (x *LimitInfoRequest) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *LimitInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LimitInfoRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use LimitInfoRequest.ProtoReflect.Descriptor instead.
func (*LimitInfoRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{0}
func (m *LimitInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LimitInfoRequest.Merge(m, src)
}
func (m *LimitInfoRequest) XXX_Size() int {
return xxx_messageInfo_LimitInfoRequest.Size(m)
}
func (m *LimitInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_LimitInfoRequest.DiscardUnknown(m)
}
type LimitInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
var xxx_messageInfo_LimitInfoRequest proto.InternalMessageInfo
type LimitInfoResponse struct {
// tx count in one batchTx.
BatchTxCount uint32 `protobuf:"varint,1,opt,name=batch_tx_count,json=batchTxCount,proto3" json:"batch_tx_count,omitempty"`
// batchTx count in one block.
BlockBatchCount uint32 `protobuf:"varint,2,opt,name=block_batch_count,json=blockBatchCount,proto3" json:"block_batch_count,omitempty"`
BlockBatchCount uint32 `protobuf:"varint,2,opt,name=block_batch_count,json=blockBatchCount,proto3" json:"block_batch_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *LimitInfoResponse) Reset() {
*x = LimitInfoResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *LimitInfoResponse) Reset() { *m = LimitInfoResponse{} }
func (m *LimitInfoResponse) String() string { return proto.CompactTextString(m) }
func (*LimitInfoResponse) ProtoMessage() {}
func (*LimitInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{1}
}
func (x *LimitInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *LimitInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LimitInfoResponse.Unmarshal(m, b)
}
func (*LimitInfoResponse) ProtoMessage() {}
func (x *LimitInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *LimitInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LimitInfoResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use LimitInfoResponse.ProtoReflect.Descriptor instead.
func (*LimitInfoResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{1}
func (m *LimitInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_LimitInfoResponse.Merge(m, src)
}
func (m *LimitInfoResponse) XXX_Size() int {
return xxx_messageInfo_LimitInfoResponse.Size(m)
}
func (m *LimitInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_LimitInfoResponse.DiscardUnknown(m)
}
func (x *LimitInfoResponse) GetBatchTxCount() uint32 {
if x != nil {
return x.BatchTxCount
var xxx_messageInfo_LimitInfoResponse proto.InternalMessageInfo
func (m *LimitInfoResponse) GetBatchTxCount() uint32 {
if m != nil {
return m.BatchTxCount
}
return 0
}
func (x *LimitInfoResponse) GetBlockBatchCount() uint32 {
if x != nil {
return x.BlockBatchCount
func (m *LimitInfoResponse) GetBlockBatchCount() uint32 {
if m != nil {
return m.BlockBatchCount
}
return 0
}
type CommitBatchTxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txdata []byte `protobuf:"bytes,1,opt,name=txdata,proto3" json:"txdata,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` //为了合约计算提交了多少个交易;
Txdata []byte `protobuf:"bytes,1,opt,name=txdata,proto3" json:"txdata,omitempty"`
Size_ int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *CommitBatchTxRequest) Reset() {
*x = CommitBatchTxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *CommitBatchTxRequest) Reset() { *m = CommitBatchTxRequest{} }
func (m *CommitBatchTxRequest) String() string { return proto.CompactTextString(m) }
func (*CommitBatchTxRequest) ProtoMessage() {}
func (*CommitBatchTxRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{2}
}
func (x *CommitBatchTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *CommitBatchTxRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommitBatchTxRequest.Unmarshal(m, b)
}
func (*CommitBatchTxRequest) ProtoMessage() {}
func (x *CommitBatchTxRequest) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *CommitBatchTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommitBatchTxRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use CommitBatchTxRequest.ProtoReflect.Descriptor instead.
func (*CommitBatchTxRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{2}
func (m *CommitBatchTxRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommitBatchTxRequest.Merge(m, src)
}
func (m *CommitBatchTxRequest) XXX_Size() int {
return xxx_messageInfo_CommitBatchTxRequest.Size(m)
}
func (m *CommitBatchTxRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CommitBatchTxRequest.DiscardUnknown(m)
}
func (x *CommitBatchTxRequest) GetTxdata() []byte {
if x != nil {
return x.Txdata
var xxx_messageInfo_CommitBatchTxRequest proto.InternalMessageInfo
func (m *CommitBatchTxRequest) GetTxdata() []byte {
if m != nil {
return m.Txdata
}
return nil
}
func (x *CommitBatchTxRequest) GetSize() int64 {
if x != nil {
return x.Size
func (m *CommitBatchTxRequest) GetSize_() int64 {
if m != nil {
return m.Size_
}
return 0
}
type CommitBatchTxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *CommitBatchTxResponse) Reset() {
*x = CommitBatchTxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *CommitBatchTxResponse) Reset() { *m = CommitBatchTxResponse{} }
func (m *CommitBatchTxResponse) String() string { return proto.CompactTextString(m) }
func (*CommitBatchTxResponse) ProtoMessage() {}
func (*CommitBatchTxResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{3}
}
func (x *CommitBatchTxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *CommitBatchTxResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommitBatchTxResponse.Unmarshal(m, b)
}
func (*CommitBatchTxResponse) ProtoMessage() {}
func (x *CommitBatchTxResponse) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *CommitBatchTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommitBatchTxResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use CommitBatchTxResponse.ProtoReflect.Descriptor instead.
func (*CommitBatchTxResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{3}
func (m *CommitBatchTxResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommitBatchTxResponse.Merge(m, src)
}
func (m *CommitBatchTxResponse) XXX_Size() int {
return xxx_messageInfo_CommitBatchTxResponse.Size(m)
}
func (m *CommitBatchTxResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CommitBatchTxResponse.DiscardUnknown(m)
}
func (x *CommitBatchTxResponse) GetTxhash() string {
if x != nil {
return x.Txhash
var xxx_messageInfo_CommitBatchTxResponse proto.InternalMessageInfo
func (m *CommitBatchTxResponse) GetTxhash() string {
if m != nil {
return m.Txhash
}
return ""
}
func (x *CommitBatchTxResponse) GetErrMsg() string {
if x != nil {
return x.ErrMsg
func (m *CommitBatchTxResponse) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
type GetReceiptRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *GetReceiptRequest) Reset() {
*x = GetReceiptRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *GetReceiptRequest) Reset() { *m = GetReceiptRequest{} }
func (m *GetReceiptRequest) String() string { return proto.CompactTextString(m) }
func (*GetReceiptRequest) ProtoMessage() {}
func (*GetReceiptRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{4}
}
func (x *GetReceiptRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *GetReceiptRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetReceiptRequest.Unmarshal(m, b)
}
func (*GetReceiptRequest) ProtoMessage() {}
func (x *GetReceiptRequest) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *GetReceiptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetReceiptRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use GetReceiptRequest.ProtoReflect.Descriptor instead.
func (*GetReceiptRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{4}
func (m *GetReceiptRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetReceiptRequest.Merge(m, src)
}
func (m *GetReceiptRequest) XXX_Size() int {
return xxx_messageInfo_GetReceiptRequest.Size(m)
}
func (m *GetReceiptRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetReceiptRequest.DiscardUnknown(m)
}
func (x *GetReceiptRequest) GetTxhash() string {
if x != nil {
return x.Txhash
var xxx_messageInfo_GetReceiptRequest proto.InternalMessageInfo
func (m *GetReceiptRequest) GetTxhash() string {
if m != nil {
return m.Txhash
}
return ""
}
type GetReceiptResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReceiptData []byte `protobuf:"bytes,1,opt,name=receipt_data,json=receiptData,proto3" json:"receipt_data,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
ReceiptData []byte `protobuf:"bytes,1,opt,name=receipt_data,json=receiptData,proto3" json:"receipt_data,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *GetReceiptResponse) Reset() {
*x = GetReceiptResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *GetReceiptResponse) Reset() { *m = GetReceiptResponse{} }
func (m *GetReceiptResponse) String() string { return proto.CompactTextString(m) }
func (*GetReceiptResponse) ProtoMessage() {}
func (*GetReceiptResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{5}
}
func (x *GetReceiptResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *GetReceiptResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetReceiptResponse.Unmarshal(m, b)
}
func (*GetReceiptResponse) ProtoMessage() {}
func (x *GetReceiptResponse) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *GetReceiptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetReceiptResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use GetReceiptResponse.ProtoReflect.Descriptor instead.
func (*GetReceiptResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{5}
func (m *GetReceiptResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetReceiptResponse.Merge(m, src)
}
func (m *GetReceiptResponse) XXX_Size() int {
return xxx_messageInfo_GetReceiptResponse.Size(m)
}
func (m *GetReceiptResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetReceiptResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetReceiptResponse proto.InternalMessageInfo
func (x *GetReceiptResponse) GetReceiptData() []byte {
if x != nil {
return x.ReceiptData
func (m *GetReceiptResponse) GetReceiptData() []byte {
if m != nil {
return m.ReceiptData
}
return nil
}
func (x *GetReceiptResponse) GetErrMsg() string {
if x != nil {
return x.ErrMsg
func (m *GetReceiptResponse) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
type GetNewBlockRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LastBlock uint32 `protobuf:"varint,1,opt,name=last_block,json=lastBlock,proto3" json:"last_block,omitempty"`
LastBlock uint32 `protobuf:"varint,1,opt,name=last_block,json=lastBlock,proto3" json:"last_block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *GetNewBlockRequest) Reset() {
*x = GetNewBlockRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *GetNewBlockRequest) Reset() { *m = GetNewBlockRequest{} }
func (m *GetNewBlockRequest) String() string { return proto.CompactTextString(m) }
func (*GetNewBlockRequest) ProtoMessage() {}
func (*GetNewBlockRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{6}
}
func (x *GetNewBlockRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *GetNewBlockRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetNewBlockRequest.Unmarshal(m, b)
}
func (*GetNewBlockRequest) ProtoMessage() {}
func (x *GetNewBlockRequest) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *GetNewBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetNewBlockRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use GetNewBlockRequest.ProtoReflect.Descriptor instead.
func (*GetNewBlockRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{6}
func (m *GetNewBlockRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetNewBlockRequest.Merge(m, src)
}
func (m *GetNewBlockRequest) XXX_Size() int {
return xxx_messageInfo_GetNewBlockRequest.Size(m)
}
func (m *GetNewBlockRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetNewBlockRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetNewBlockRequest proto.InternalMessageInfo
func (x *GetNewBlockRequest) GetLastBlock() uint32 {
if x != nil {
return x.LastBlock
func (m *GetNewBlockRequest) GetLastBlock() uint32 {
if m != nil {
return m.LastBlock
}
return 0
}
type GetNewBlockResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BlockNum uint32 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
BlockTime uint64 `protobuf:"varint,2,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
BatchTxs string `protobuf:"bytes,3,opt,name=batch_txs,json=batchTxs,proto3" json:"batch_txs,omitempty"`
BlockNum uint32 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
BlockTime uint64 `protobuf:"varint,2,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
BatchTxs string `protobuf:"bytes,3,opt,name=batch_txs,json=batchTxs,proto3" json:"batch_txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *GetNewBlockResponse) Reset() {
*x = GetNewBlockResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *GetNewBlockResponse) Reset() { *m = GetNewBlockResponse{} }
func (m *GetNewBlockResponse) String() string { return proto.CompactTextString(m) }
func (*GetNewBlockResponse) ProtoMessage() {}
func (*GetNewBlockResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{7}
}
func (x *GetNewBlockResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *GetNewBlockResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetNewBlockResponse.Unmarshal(m, b)
}
func (*GetNewBlockResponse) ProtoMessage() {}
func (x *GetNewBlockResponse) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *GetNewBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetNewBlockResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use GetNewBlockResponse.ProtoReflect.Descriptor instead.
func (*GetNewBlockResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{7}
func (m *GetNewBlockResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetNewBlockResponse.Merge(m, src)
}
func (m *GetNewBlockResponse) XXX_Size() int {
return xxx_messageInfo_GetNewBlockResponse.Size(m)
}
func (m *GetNewBlockResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetNewBlockResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetNewBlockResponse proto.InternalMessageInfo
func (x *GetNewBlockResponse) GetBlockNum() uint32 {
if x != nil {
return x.BlockNum
func (m *GetNewBlockResponse) GetBlockNum() uint32 {
if m != nil {
return m.BlockNum
}
return 0
}
func (x *GetNewBlockResponse) GetBlockTime() uint64 {
if x != nil {
return x.BlockTime
func (m *GetNewBlockResponse) GetBlockTime() uint64 {
if m != nil {
return m.BlockTime
}
return 0
}
func (x *GetNewBlockResponse) GetBatchTxs() string {
if x != nil {
return x.BatchTxs
func (m *GetNewBlockResponse) GetBatchTxs() string {
if m != nil {
return m.BatchTxs
}
return ""
}
type CommitBlockRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Validator string `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
BlockNumber uint64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockData []byte `protobuf:"bytes,3,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
Validator string `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
BlockNumber uint64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockData []byte `protobuf:"bytes,3,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *CommitBlockRequest) Reset() {
*x = CommitBlockRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *CommitBlockRequest) Reset() { *m = CommitBlockRequest{} }
func (m *CommitBlockRequest) String() string { return proto.CompactTextString(m) }
func (*CommitBlockRequest) ProtoMessage() {}
func (*CommitBlockRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{8}
}
func (x *CommitBlockRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *CommitBlockRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommitBlockRequest.Unmarshal(m, b)
}
func (*CommitBlockRequest) ProtoMessage() {}
func (x *CommitBlockRequest) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *CommitBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommitBlockRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use CommitBlockRequest.ProtoReflect.Descriptor instead.
func (*CommitBlockRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{8}
func (m *CommitBlockRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommitBlockRequest.Merge(m, src)
}
func (m *CommitBlockRequest) XXX_Size() int {
return xxx_messageInfo_CommitBlockRequest.Size(m)
}
func (m *CommitBlockRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CommitBlockRequest.DiscardUnknown(m)
}
func (x *CommitBlockRequest) GetValidator() string {
if x != nil {
return x.Validator
var xxx_messageInfo_CommitBlockRequest proto.InternalMessageInfo
func (m *CommitBlockRequest) GetValidator() string {
if m != nil {
return m.Validator
}
return ""
}
func (x *CommitBlockRequest) GetBlockNumber() uint64 {
if x != nil {
return x.BlockNumber
func (m *CommitBlockRequest) GetBlockNumber() uint64 {
if m != nil {
return m.BlockNumber
}
return 0
}
func (x *CommitBlockRequest) GetBlockData() []byte {
if x != nil {
return x.BlockData
func (m *CommitBlockRequest) GetBlockData() []byte {
if m != nil {
return m.BlockData
}
return nil
}
type CommitBlockResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *CommitBlockResponse) Reset() {
*x = CommitBlockResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *CommitBlockResponse) Reset() { *m = CommitBlockResponse{} }
func (m *CommitBlockResponse) String() string { return proto.CompactTextString(m) }
func (*CommitBlockResponse) ProtoMessage() {}
func (*CommitBlockResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{9}
}
func (x *CommitBlockResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *CommitBlockResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommitBlockResponse.Unmarshal(m, b)
}
func (*CommitBlockResponse) ProtoMessage() {}
func (x *CommitBlockResponse) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *CommitBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommitBlockResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use CommitBlockResponse.ProtoReflect.Descriptor instead.
func (*CommitBlockResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{9}
func (m *CommitBlockResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommitBlockResponse.Merge(m, src)
}
func (m *CommitBlockResponse) XXX_Size() int {
return xxx_messageInfo_CommitBlockResponse.Size(m)
}
func (m *CommitBlockResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CommitBlockResponse.DiscardUnknown(m)
}
func (x *CommitBlockResponse) GetTxhash() string {
if x != nil {
return x.Txhash
var xxx_messageInfo_CommitBlockResponse proto.InternalMessageInfo
func (m *CommitBlockResponse) GetTxhash() string {
if m != nil {
return m.Txhash
}
return ""
}
func (x *CommitBlockResponse) GetErrMsg() string {
if x != nil {
return x.ErrMsg
func (m *CommitBlockResponse) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
type GetConsensusedBlockRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *GetConsensusedBlockRequest) Reset() {
*x = GetConsensusedBlockRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *GetConsensusedBlockRequest) Reset() { *m = GetConsensusedBlockRequest{} }
func (m *GetConsensusedBlockRequest) String() string { return proto.CompactTextString(m) }
func (*GetConsensusedBlockRequest) ProtoMessage() {}
func (*GetConsensusedBlockRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{10}
}
func (x *GetConsensusedBlockRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *GetConsensusedBlockRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConsensusedBlockRequest.Unmarshal(m, b)
}
func (*GetConsensusedBlockRequest) ProtoMessage() {}
func (x *GetConsensusedBlockRequest) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *GetConsensusedBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConsensusedBlockRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use GetConsensusedBlockRequest.ProtoReflect.Descriptor instead.
func (*GetConsensusedBlockRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{10}
func (m *GetConsensusedBlockRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConsensusedBlockRequest.Merge(m, src)
}
func (m *GetConsensusedBlockRequest) XXX_Size() int {
return xxx_messageInfo_GetConsensusedBlockRequest.Size(m)
}
func (m *GetConsensusedBlockRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetConsensusedBlockRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetConsensusedBlockRequest proto.InternalMessageInfo
func (x *GetConsensusedBlockRequest) GetBlockNumber() uint64 {
if x != nil {
return x.BlockNumber
func (m *GetConsensusedBlockRequest) GetBlockNumber() uint64 {
if m != nil {
return m.BlockNumber
}
return 0
}
type GetConsensusedBlockResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockData []byte `protobuf:"bytes,2,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockData []byte `protobuf:"bytes,2,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *GetConsensusedBlockResponse) Reset() {
*x = GetConsensusedBlockResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_sentry_v1_request_response_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *GetConsensusedBlockResponse) Reset() { *m = GetConsensusedBlockResponse{} }
func (m *GetConsensusedBlockResponse) String() string { return proto.CompactTextString(m) }
func (*GetConsensusedBlockResponse) ProtoMessage() {}
func (*GetConsensusedBlockResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2589e4ceb3230fa4, []int{11}
}
func (x *GetConsensusedBlockResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *GetConsensusedBlockResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConsensusedBlockResponse.Unmarshal(m, b)
}
func (*GetConsensusedBlockResponse) ProtoMessage() {}
func (x *GetConsensusedBlockResponse) ProtoReflect() protoreflect.Message {
mi := &file_sentry_v1_request_response_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *GetConsensusedBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConsensusedBlockResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use GetConsensusedBlockResponse.ProtoReflect.Descriptor instead.
func (*GetConsensusedBlockResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{11}
func (m *GetConsensusedBlockResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConsensusedBlockResponse.Merge(m, src)
}
func (m *GetConsensusedBlockResponse) XXX_Size() int {
return xxx_messageInfo_GetConsensusedBlockResponse.Size(m)
}
func (m *GetConsensusedBlockResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetConsensusedBlockResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetConsensusedBlockResponse proto.InternalMessageInfo
func (x *GetConsensusedBlockResponse) GetBlockNumber() uint64 {
if x != nil {
return x.BlockNumber
func (m *GetConsensusedBlockResponse) GetBlockNumber() uint64 {
if m != nil {
return m.BlockNumber
}
return 0
}
func (x *GetConsensusedBlockResponse) GetBlockData() []byte {
if x != nil {
return x.BlockData
func (m *GetConsensusedBlockResponse) GetBlockData() []byte {
if m != nil {
return m.BlockData
}
return nil
}
var File_sentry_v1_request_response_proto protoreflect.FileDescriptor
var file_sentry_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x18, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x4c, 0x69,
0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65,
0x0a, 0x11, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x78, 0x5f,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x62, 0x61, 0x74,
0x63, 0x68, 0x54, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x6c, 0x6f,
0x63, 0x6b, 0x5f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x74, 0x63, 0x68,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42,
0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
0x06, 0x74, 0x78, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74,
0x78, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x43, 0x6f, 0x6d,
0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72,
0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72,
0x4d, 0x73, 0x67, 0x22, 0x2b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x68, 0x61,
0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68,
0x22, 0x50, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70,
0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65,
0x63, 0x65, 0x69, 0x70, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72,
0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d,
0x73, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74,
0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x61,
0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x6e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4e, 0x65,
0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b,
0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62,
0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61,
0x74, 0x63, 0x68, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62,
0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x73, 0x22, 0x74, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a,
0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x62,
0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d,
0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x22, 0x46, 0x0a,
0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x12, 0x17, 0x0a, 0x07,
0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65,
0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x3f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73,
0x65, 0x6e, 0x73, 0x75, 0x73, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e,
0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e,
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f,
0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63,
0x6b, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x42, 0xbd, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e,
0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x6e, 0x74,
0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x53, 0x65, 0x6e,
0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c,
0x56, 0x31, 0xe2, 0x02, 0x15, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47,
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x53, 0x65, 0x6e,
0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_sentry_v1_request_response_proto_rawDescOnce sync.Once
file_sentry_v1_request_response_proto_rawDescData = file_sentry_v1_request_response_proto_rawDesc
)
func file_sentry_v1_request_response_proto_rawDescGZIP() []byte {
file_sentry_v1_request_response_proto_rawDescOnce.Do(func() {
file_sentry_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_sentry_v1_request_response_proto_rawDescData)
})
return file_sentry_v1_request_response_proto_rawDescData
}
var file_sentry_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_sentry_v1_request_response_proto_goTypes = []interface{}{
(*LimitInfoRequest)(nil), // 0: sentry.v1.LimitInfoRequest
(*LimitInfoResponse)(nil), // 1: sentry.v1.LimitInfoResponse
(*CommitBatchTxRequest)(nil), // 2: sentry.v1.CommitBatchTxRequest
(*CommitBatchTxResponse)(nil), // 3: sentry.v1.CommitBatchTxResponse
(*GetReceiptRequest)(nil), // 4: sentry.v1.GetReceiptRequest
(*GetReceiptResponse)(nil), // 5: sentry.v1.GetReceiptResponse
(*GetNewBlockRequest)(nil), // 6: sentry.v1.GetNewBlockRequest
(*GetNewBlockResponse)(nil), // 7: sentry.v1.GetNewBlockResponse
(*CommitBlockRequest)(nil), // 8: sentry.v1.CommitBlockRequest
(*CommitBlockResponse)(nil), // 9: sentry.v1.CommitBlockResponse
(*GetConsensusedBlockRequest)(nil), // 10: sentry.v1.GetConsensusedBlockRequest
(*GetConsensusedBlockResponse)(nil), // 11: sentry.v1.GetConsensusedBlockResponse
}
var file_sentry_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_sentry_v1_request_response_proto_init() }
func file_sentry_v1_request_response_proto_init() {
if File_sentry_v1_request_response_proto != nil {
return
}
file_sentry_v1_resource_proto_init()
if !protoimpl.UnsafeEnabled {
file_sentry_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LimitInfoRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LimitInfoResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CommitBatchTxRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CommitBatchTxResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetReceiptRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetReceiptResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNewBlockRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNewBlockResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CommitBlockRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CommitBlockResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetConsensusedBlockRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_sentry_v1_request_response_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetConsensusedBlockResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_sentry_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 12,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_sentry_v1_request_response_proto_goTypes,
DependencyIndexes: file_sentry_v1_request_response_proto_depIdxs,
MessageInfos: file_sentry_v1_request_response_proto_msgTypes,
}.Build()
File_sentry_v1_request_response_proto = out.File
file_sentry_v1_request_response_proto_rawDesc = nil
file_sentry_v1_request_response_proto_goTypes = nil
file_sentry_v1_request_response_proto_depIdxs = nil
func init() {
proto.RegisterType((*LimitInfoRequest)(nil), "sentry.v1.LimitInfoRequest")
proto.RegisterType((*LimitInfoResponse)(nil), "sentry.v1.LimitInfoResponse")
proto.RegisterType((*CommitBatchTxRequest)(nil), "sentry.v1.CommitBatchTxRequest")
proto.RegisterType((*CommitBatchTxResponse)(nil), "sentry.v1.CommitBatchTxResponse")
proto.RegisterType((*GetReceiptRequest)(nil), "sentry.v1.GetReceiptRequest")
proto.RegisterType((*GetReceiptResponse)(nil), "sentry.v1.GetReceiptResponse")
proto.RegisterType((*GetNewBlockRequest)(nil), "sentry.v1.GetNewBlockRequest")
proto.RegisterType((*GetNewBlockResponse)(nil), "sentry.v1.GetNewBlockResponse")
proto.RegisterType((*CommitBlockRequest)(nil), "sentry.v1.CommitBlockRequest")
proto.RegisterType((*CommitBlockResponse)(nil), "sentry.v1.CommitBlockResponse")
proto.RegisterType((*GetConsensusedBlockRequest)(nil), "sentry.v1.GetConsensusedBlockRequest")
proto.RegisterType((*GetConsensusedBlockResponse)(nil), "sentry.v1.GetConsensusedBlockResponse")
}
func init() { proto.RegisterFile("sentry/v1/request_response.proto", fileDescriptor_2589e4ceb3230fa4) }
var fileDescriptor_2589e4ceb3230fa4 = []byte{
// 595 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x6a, 0xd4, 0x40,
0x14, 0x66, 0xb3, 0xa5, 0x36, 0xa7, 0xad, 0xda, 0xb4, 0xd5, 0xd2, 0x2a, 0xd6, 0xe0, 0x85, 0x28,
0x6c, 0x08, 0xbd, 0xab, 0x17, 0x42, 0x56, 0xac, 0x82, 0x2d, 0x6b, 0x5a, 0x96, 0x22, 0x85, 0x30,
0xc9, 0x9e, 0xcd, 0x86, 0x66, 0x32, 0xeb, 0xcc, 0x64, 0x5d, 0x7d, 0x1c, 0x2f, 0x7d, 0x07, 0x5f,
0xc0, 0xc7, 0xf0, 0xd2, 0xa7, 0x90, 0xf9, 0xd9, 0xdf, 0x2a, 0x82, 0x77, 0x33, 0xdf, 0x7c, 0xf3,
0x7d, 0xdf, 0x39, 0x27, 0x19, 0x38, 0x14, 0x58, 0x49, 0xfe, 0x39, 0x18, 0x85, 0x01, 0xc7, 0x8f,
0x35, 0x0a, 0x99, 0x70, 0x14, 0x43, 0x56, 0x09, 0x6c, 0x0d, 0x39, 0x93, 0xcc, 0x73, 0x0d, 0xa3,
0x35, 0x0a, 0xf7, 0x0f, 0x73, 0xc6, 0xf2, 0x12, 0x03, 0x7d, 0x90, 0xd6, 0xfd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3, 0xc3,
0xfb, 0xbc, 0x90, 0x83, 0x3a, 0x6d, 0x65, 0x8c, 0x06, 0x6d, 0xd2, 0xab, 0x33, 0xac, 0xc5, 0x29,
0x4a, 0x32, 0x42, 0x6e, 0x49, 0x19, 0x2b, 0x03, 0x8a, 0x92, 0x0c, 0x27, 0x9b, 0x1c, 0x2b, 0xf3,
0x40, 0x04, 0x39, 0x0b, 0xa6, 0xef, 0xc1, 0x0b, 0xb3, 0x1a, 0x85, 0x5f, 0x9d, 0xe6, 0xf9, 0xe5,
0xe5, 0x37, 0xc7, 0x3d, 0x37, 0xe6, 0xdd, 0xf0, 0xc7, 0x64, 0x7d, 0xd5, 0x0d, 0x7f, 0x3a, 0xbb,
0xd3, 0xf5, 0xd5, 0x49, 0x27, 0x52, 0x5e, 0xaa, 0x86, 0x5f, 0x0e, 0x18, 0xfc, 0xf8, 0xb8, 0x1b,
0xa6, 0xab, 0x5a, 0xff, 0xe8, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x28, 0xf9, 0x9c, 0xe6, 0xdf,
0x04, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: sentry/v1/resource.proto
package sentryv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_sentry_v1_resource_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_sentry_v1_resource_proto_rawDesc = []byte{
0x0a, 0x18, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x73, 0x65, 0x6e, 0x74,
0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0xb6, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65,
0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74,
0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d,
0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f,
0x76, 0x31, 0x3b, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58,
0x58, 0xaa, 0x02, 0x09, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09,
0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x53, 0x65, 0x6e, 0x74,
0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x0a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_sentry_v1_resource_proto_goTypes = []interface{}{}
var file_sentry_v1_resource_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("sentry/v1/resource.proto", fileDescriptor_9d29b21b77d30ba1) }
func init() { file_sentry_v1_resource_proto_init() }
func file_sentry_v1_resource_proto_init() {
if File_sentry_v1_resource_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_sentry_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_sentry_v1_resource_proto_goTypes,
DependencyIndexes: file_sentry_v1_resource_proto_depIdxs,
}.Build()
File_sentry_v1_resource_proto = out.File
file_sentry_v1_resource_proto_rawDesc = nil
file_sentry_v1_resource_proto_goTypes = nil
file_sentry_v1_resource_proto_depIdxs = nil
var fileDescriptor_9d29b21b77d30ba1 = []byte{
// 185 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x4e, 0xcd, 0x2b,
0x29, 0xaa, 0xd4, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0xc8, 0xe8, 0x95, 0x19, 0x3a, 0x6d, 0x63, 0xe4, 0xe2,
0x4d, 0xce, 0xcf, 0xd5, 0x43, 0x88, 0xf0, 0x06, 0x41, 0x15, 0x07, 0x80, 0xd4, 0x06, 0x30, 0x46,
0x05, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x3b, 0x27, 0xa6, 0x94,
0x26, 0xa7, 0x96, 0x16, 0xfb, 0xa6, 0x96, 0x24, 0x96, 0xa5, 0x16, 0x15, 0x43, 0x14, 0x25, 0xe7,
0xe7, 0xe8, 0xe7, 0xa6, 0x96, 0x24, 0x16, 0xc0, 0x38, 0xe9, 0xa9, 0x79, 0xfa, 0x60, 0x8e, 0x7e,
0x7a, 0xbe, 0x3e, 0xdc, 0x19, 0xd6, 0x10, 0x56, 0x99, 0xe1, 0x22, 0x26, 0xe6, 0xe0, 0x88, 0x88,
0x55, 0x4c, 0x9c, 0xc1, 0x10, 0x5b, 0xc3, 0x0c, 0x4f, 0xc1, 0xd8, 0x31, 0x61, 0x86, 0x8f, 0x98,
0x44, 0xe1, 0xec, 0x18, 0xf7, 0x00, 0x27, 0x90, 0x5d, 0x29, 0x89, 0x25, 0x89, 0xaf, 0x98, 0xb8,
0x20, 0xe2, 0x56, 0x56, 0x61, 0x86, 0x49, 0x6c, 0x60, 0xf3, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff,
0xff, 0x54, 0x9b, 0x5f, 0xcd, 0xe6, 0x00, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: sentry/v1/service.proto
package sentryv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_sentry_v1_service_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_sentry_v1_service_proto_rawDesc = []byte{
0x0a, 0x17, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x72,
0x79, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f,
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x32, 0x8b, 0x04, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69,
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76,
0x31, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63,
0x68, 0x54, 0x78, 0x12, 0x1f, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e,
0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31,
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42,
0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x2e, 0x73,
0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65,
0x69, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x73, 0x65, 0x6e,
0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x47,
0x65, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x6e,
0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x6e, 0x74,
0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x43,
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x6e,
0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x6e, 0x74,
0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x11, 0x47,
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x12, 0x25, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79,
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73,
0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x42, 0xb5, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79,
0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,
0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73,
0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x65,
0x6e, 0x74, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x53,
0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x53, 0x65, 0x6e, 0x74, 0x72,
0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31,
0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x53,
0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_sentry_v1_service_proto_goTypes = []interface{}{
(*LimitInfoRequest)(nil), // 0: sentry.v1.LimitInfoRequest
(*CommitBatchTxRequest)(nil), // 1: sentry.v1.CommitBatchTxRequest
(*GetReceiptRequest)(nil), // 2: sentry.v1.GetReceiptRequest
(*GetNewBlockRequest)(nil), // 3: sentry.v1.GetNewBlockRequest
(*CommitBlockRequest)(nil), // 4: sentry.v1.CommitBlockRequest
(*GetConsensusedBlockRequest)(nil), // 5: sentry.v1.GetConsensusedBlockRequest
(*LimitInfoResponse)(nil), // 6: sentry.v1.LimitInfoResponse
(*CommitBatchTxResponse)(nil), // 7: sentry.v1.CommitBatchTxResponse
(*GetReceiptResponse)(nil), // 8: sentry.v1.GetReceiptResponse
(*GetNewBlockResponse)(nil), // 9: sentry.v1.GetNewBlockResponse
(*CommitBlockResponse)(nil), // 10: sentry.v1.CommitBlockResponse
(*GetConsensusedBlockResponse)(nil), // 11: sentry.v1.GetConsensusedBlockResponse
}
var file_sentry_v1_service_proto_depIdxs = []int32{
0, // 0: sentry.v1.SentryService.GetLimitInfo:input_type -> sentry.v1.LimitInfoRequest
1, // 1: sentry.v1.SentryService.CommitBatchTx:input_type -> sentry.v1.CommitBatchTxRequest
2, // 2: sentry.v1.SentryService.GetBatchTxResult:input_type -> sentry.v1.GetReceiptRequest
3, // 3: sentry.v1.SentryService.GetNewBlock:input_type -> sentry.v1.GetNewBlockRequest
4, // 4: sentry.v1.SentryService.CommitBlock:input_type -> sentry.v1.CommitBlockRequest
5, // 5: sentry.v1.SentryService.GetConfirmedBlock:input_type -> sentry.v1.GetConsensusedBlockRequest
6, // 6: sentry.v1.SentryService.GetLimitInfo:output_type -> sentry.v1.LimitInfoResponse
7, // 7: sentry.v1.SentryService.CommitBatchTx:output_type -> sentry.v1.CommitBatchTxResponse
8, // 8: sentry.v1.SentryService.GetBatchTxResult:output_type -> sentry.v1.GetReceiptResponse
9, // 9: sentry.v1.SentryService.GetNewBlock:output_type -> sentry.v1.GetNewBlockResponse
10, // 10: sentry.v1.SentryService.CommitBlock:output_type -> sentry.v1.CommitBlockResponse
11, // 11: sentry.v1.SentryService.GetConfirmedBlock:output_type -> sentry.v1.GetConsensusedBlockResponse
6, // [6:12] is the sub-list for method output_type
0, // [0:6] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("sentry/v1/service.proto", fileDescriptor_5e573e003b2c29f6) }
func init() { file_sentry_v1_service_proto_init() }
func file_sentry_v1_service_proto_init() {
if File_sentry_v1_service_proto != nil {
return
}
file_sentry_v1_request_response_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_sentry_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_sentry_v1_service_proto_goTypes,
DependencyIndexes: file_sentry_v1_service_proto_depIdxs,
}.Build()
File_sentry_v1_service_proto = out.File
file_sentry_v1_service_proto_rawDesc = nil
file_sentry_v1_service_proto_goTypes = nil
file_sentry_v1_service_proto_depIdxs = nil
var fileDescriptor_5e573e003b2c29f6 = []byte{
// 398 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x6a, 0xdb, 0x40,
0x14, 0x85, 0x6b, 0xb5, 0x14, 0x3c, 0xb5, 0xa1, 0x15, 0x94, 0x82, 0xdd, 0x1f, 0x53, 0x68, 0x97,
0x1a, 0xd4, 0xee, 0xdc, 0x9d, 0xb4, 0x10, 0xa5, 0xad, 0xf1, 0x1f, 0xc6, 0x14, 0x43, 0x91, 0x47,
0xd7, 0xb2, 0xa8, 0x46, 0xa3, 0x6a, 0xae, 0xd4, 0xf8, 0x19, 0xf2, 0x16, 0x59, 0x66, 0x9f, 0x97,
0xc8, 0x63, 0x64, 0x99, 0xa7, 0x08, 0xf6, 0x68, 0x64, 0x39, 0xb1, 0xc9, 0xee, 0xce, 0x3d, 0x67,
0xbe, 0x73, 0x17, 0x87, 0xbc, 0x91, 0x90, 0x60, 0xb6, 0xa1, 0x85, 0x4d, 0x25, 0x64, 0x45, 0xc4,
0xc0, 0x4a, 0x33, 0x81, 0xc2, 0x6c, 0x2a, 0xc1, 0x2a, 0xec, 0x4e, 0x6f, 0xef, 0xc9, 0xe0, 0x5f,
0x0e, 0x12, 0xff, 0x64, 0x20, 0x53, 0x91, 0xc8, 0xd2, 0xdc, 0xe9, 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16, 0x13, 0x9c, 0xba, 0x7e, 0x90, 0x33, 0xc8, 0xe5, 0x2f, 0x40, 0xbf, 0x80,
0x4c, 0x2a, 0x13, 0x13, 0x31, 0xe5, 0x80, 0x7e, 0xaa, 0x1f, 0x21, 0x24, 0xaa, 0x7b, 0x34, 0x14,
0xb4, 0x6a, 0xeb, 0x37, 0x35, 0x15, 0xf6, 0x85, 0xf1, 0x74, 0x32, 0x9f, 0x5f, 0x1a, 0x4d, 0x55,
0x43, 0x6b, 0x66, 0x5f, 0xeb, 0x79, 0x31, 0xb3, 0x6f, 0x8c, 0xd7, 0xd5, 0xbc, 0xf0, 0x86, 0xce,
0x36, 0x2b, 0xf0, 0xd1, 0xbf, 0x35, 0x88, 0xda, 0xf7, 0xfb, 0x33, 0x7b, 0xf9, 0x7c, 0xc7, 0xff,
0x7a, 0x17, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xa6, 0x49, 0xe8, 0x31, 0x03, 0x00, 0x00,
}
......@@ -22,13 +22,14 @@ const _ = grpc.SupportPackageIsVersion7
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type SentryServiceClient interface {
// for ring
// LimitInfo get latest param for make batch tx.
GetLimitInfo(ctx context.Context, in *LimitInfoRequest, opts ...grpc.CallOption) (*LimitInfoResponse, error)
// CommitBatchTx used to commit batch tx to tx-sort-network
CommitBatchTx(ctx context.Context, in *CommitBatchTxRequest, opts ...grpc.CallOption) (*CommitBatchTxResponse, error)
// GetTxReceipt from tx-sort-network with txhash
GetBatchTxResult(ctx context.Context, in *GetReceiptRequest, opts ...grpc.CallOption) (*GetReceiptResponse, error)
// for val
//for validator
// GetNewBlock used for nebula get new virtual block info from contract with lastblock.
GetNewBlock(ctx context.Context, in *GetNewBlockRequest, opts ...grpc.CallOption) (*GetNewBlockResponse, error)
// CommitBlock used for nebula commit new block and state info to contract.
......@@ -103,13 +104,14 @@ func (c *sentryServiceClient) GetConfirmedBlock(ctx context.Context, in *GetCons
// All implementations must embed UnimplementedSentryServiceServer
// for forward compatibility
type SentryServiceServer interface {
// for ring
// LimitInfo get latest param for make batch tx.
GetLimitInfo(context.Context, *LimitInfoRequest) (*LimitInfoResponse, error)
// CommitBatchTx used to commit batch tx to tx-sort-network
CommitBatchTx(context.Context, *CommitBatchTxRequest) (*CommitBatchTxResponse, error)
// GetTxReceipt from tx-sort-network with txhash
GetBatchTxResult(context.Context, *GetReceiptRequest) (*GetReceiptResponse, error)
// for val
//for validator
// GetNewBlock used for nebula get new virtual block info from contract with lastblock.
GetNewBlock(context.Context, *GetNewBlockRequest) (*GetNewBlockResponse, error)
// CommitBlock used for nebula commit new block and state info to contract.
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: txchecker/v1/request_response.proto
package txcheckerv1
import (
fmt "fmt"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// The standard BatchGet request definition.
type BatchCheckTxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txs []*v1.EthTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
Txs []*v1.MetaTxBase `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchCheckTxRequest) Reset() {
*x = BatchCheckTxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_txchecker_v1_request_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchCheckTxRequest) Reset() { *m = BatchCheckTxRequest{} }
func (m *BatchCheckTxRequest) String() string { return proto.CompactTextString(m) }
func (*BatchCheckTxRequest) ProtoMessage() {}
func (*BatchCheckTxRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_06c2bcfcfa17b24a, []int{0}
}
func (x *BatchCheckTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchCheckTxRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCheckTxRequest.Unmarshal(m, b)
}
func (*BatchCheckTxRequest) ProtoMessage() {}
func (x *BatchCheckTxRequest) ProtoReflect() protoreflect.Message {
mi := &file_txchecker_v1_request_response_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchCheckTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCheckTxRequest.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchCheckTxRequest.ProtoReflect.Descriptor instead.
func (*BatchCheckTxRequest) Descriptor() ([]byte, []int) {
return file_txchecker_v1_request_response_proto_rawDescGZIP(), []int{0}
func (m *BatchCheckTxRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCheckTxRequest.Merge(m, src)
}
func (m *BatchCheckTxRequest) XXX_Size() int {
return xxx_messageInfo_BatchCheckTxRequest.Size(m)
}
func (m *BatchCheckTxRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCheckTxRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchCheckTxRequest proto.InternalMessageInfo
func (x *BatchCheckTxRequest) GetTxs() []*v1.EthTx {
if x != nil {
return x.Txs
func (m *BatchCheckTxRequest) GetTxs() []*v1.MetaTxBase {
if m != nil {
return m.Txs
}
return nil
}
// The standard BatchGet response definition.
type BatchCheckTxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The retrieved shelves.
Status []bool `protobuf:"varint,1,rep,packed,name=status,proto3" json:"status,omitempty"`
CheckedTxs []*v1.MetaProofTx `protobuf:"bytes,1,rep,name=checked_txs,json=checkedTxs,proto3" json:"checked_txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *BatchCheckTxResponse) Reset() {
*x = BatchCheckTxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_txchecker_v1_request_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *BatchCheckTxResponse) Reset() { *m = BatchCheckTxResponse{} }
func (m *BatchCheckTxResponse) String() string { return proto.CompactTextString(m) }
func (*BatchCheckTxResponse) ProtoMessage() {}
func (*BatchCheckTxResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_06c2bcfcfa17b24a, []int{1}
}
func (x *BatchCheckTxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *BatchCheckTxResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCheckTxResponse.Unmarshal(m, b)
}
func (*BatchCheckTxResponse) ProtoMessage() {}
func (x *BatchCheckTxResponse) ProtoReflect() protoreflect.Message {
mi := &file_txchecker_v1_request_response_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
func (m *BatchCheckTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCheckTxResponse.Marshal(b, m, deterministic)
}
// Deprecated: Use BatchCheckTxResponse.ProtoReflect.Descriptor instead.
func (*BatchCheckTxResponse) Descriptor() ([]byte, []int) {
return file_txchecker_v1_request_response_proto_rawDescGZIP(), []int{1}
func (m *BatchCheckTxResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCheckTxResponse.Merge(m, src)
}
func (x *BatchCheckTxResponse) GetStatus() []bool {
if x != nil {
return x.Status
}
return nil
func (m *BatchCheckTxResponse) XXX_Size() int {
return xxx_messageInfo_BatchCheckTxResponse.Size(m)
}
var File_txchecker_v1_request_response_proto protoreflect.FileDescriptor
var file_txchecker_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x23, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72,
0x2e, 0x76, 0x31, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x13, 0x42,
0x61, 0x74, 0x63, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x0e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x54, 0x78, 0x52,
0x03, 0x74, 0x78, 0x73, 0x22, 0x2e, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x68, 0x65,
0x63, 0x6b, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x42, 0xd2, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x78, 0x63,
0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x74,
0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58,
0xaa, 0x02, 0x0c, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca,
0x02, 0x0c, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02,
0x18, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x54, 0x78, 0x63, 0x68,
0x65, 0x63, 0x6b, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
func (m *BatchCheckTxResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCheckTxResponse.DiscardUnknown(m)
}
var (
file_txchecker_v1_request_response_proto_rawDescOnce sync.Once
file_txchecker_v1_request_response_proto_rawDescData = file_txchecker_v1_request_response_proto_rawDesc
)
func file_txchecker_v1_request_response_proto_rawDescGZIP() []byte {
file_txchecker_v1_request_response_proto_rawDescOnce.Do(func() {
file_txchecker_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_txchecker_v1_request_response_proto_rawDescData)
})
return file_txchecker_v1_request_response_proto_rawDescData
}
var xxx_messageInfo_BatchCheckTxResponse proto.InternalMessageInfo
var file_txchecker_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_txchecker_v1_request_response_proto_goTypes = []interface{}{
(*BatchCheckTxRequest)(nil), // 0: txchecker.v1.BatchCheckTxRequest
(*BatchCheckTxResponse)(nil), // 1: txchecker.v1.BatchCheckTxResponse
(*v1.EthTx)(nil), // 2: base.v1.EthTx
}
var file_txchecker_v1_request_response_proto_depIdxs = []int32{
2, // 0: txchecker.v1.BatchCheckTxRequest.txs:type_name -> base.v1.EthTx
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
func (m *BatchCheckTxResponse) GetCheckedTxs() []*v1.MetaProofTx {
if m != nil {
return m.CheckedTxs
}
return nil
}
func init() { file_txchecker_v1_request_response_proto_init() }
func file_txchecker_v1_request_response_proto_init() {
if File_txchecker_v1_request_response_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_txchecker_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchCheckTxRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_txchecker_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchCheckTxResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_txchecker_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_txchecker_v1_request_response_proto_goTypes,
DependencyIndexes: file_txchecker_v1_request_response_proto_depIdxs,
MessageInfos: file_txchecker_v1_request_response_proto_msgTypes,
}.Build()
File_txchecker_v1_request_response_proto = out.File
file_txchecker_v1_request_response_proto_rawDesc = nil
file_txchecker_v1_request_response_proto_goTypes = nil
file_txchecker_v1_request_response_proto_depIdxs = nil
func init() {
proto.RegisterType((*BatchCheckTxRequest)(nil), "txchecker.v1.BatchCheckTxRequest")
proto.RegisterType((*BatchCheckTxResponse)(nil), "txchecker.v1.BatchCheckTxResponse")
}
func init() {
proto.RegisterFile("txchecker/v1/request_response.proto", fileDescriptor_06c2bcfcfa17b24a)
}
var fileDescriptor_06c2bcfcfa17b24a = []byte{
// 293 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x4f, 0x4b, 0xf3, 0x30,
0x1c, 0xc7, 0x59, 0x07, 0xcf, 0x21, 0xdb, 0x03, 0xd2, 0xed, 0x30, 0x3c, 0xc9, 0x44, 0xf0, 0x94,
0x10, 0xc5, 0xcb, 0xf4, 0xd4, 0x1d, 0x3c, 0x0d, 0xca, 0x08, 0x75, 0xc8, 0x60, 0xa4, 0xe9, 0xcf,
0x56, 0xb4, 0x4b, 0x4d, 0xd2, 0x92, 0xd7, 0xe3, 0xd1, 0x97, 0xe2, 0xd1, 0x97, 0xe0, 0xd1, 0x57,
0x21, 0x69, 0xbb, 0xda, 0x1d, 0xbf, 0xfc, 0x3e, 0xdf, 0x3f, 0x09, 0x3a, 0x37, 0x56, 0x64, 0x20,
0x5e, 0x40, 0x91, 0x8a, 0x12, 0x05, 0x6f, 0x25, 0x68, 0xb3, 0x53, 0xa0, 0x0b, 0xb9, 0xd7, 0x80,
0x0b, 0x25, 0x8d, 0xf4, 0xc7, 0x1d, 0x84, 0x2b, 0x7a, 0xea, 0xc7, 0x5c, 0x83, 0xa3, 0x73, 0x30,
0xbc, 0x21, 0xe6, 0x77, 0x68, 0x12, 0x70, 0x23, 0xb2, 0xa5, 0xc3, 0x98, 0x5d, 0x37, 0x39, 0xfe,
0x05, 0x1a, 0x1a, 0xab, 0x67, 0x83, 0xb3, 0xe1, 0xe5, 0xe8, 0x6a, 0x82, 0x9d, 0x11, 0x57, 0x14,
0xaf, 0xc0, 0x70, 0x66, 0x03, 0xae, 0x61, 0xed, 0xee, 0xf3, 0x15, 0x9a, 0x1e, 0xbb, 0x9b, 0x76,
0xff, 0x06, 0x8d, 0x9a, 0xde, 0x64, 0xf7, 0x17, 0x33, 0x3d, 0x8a, 0x09, 0x95, 0x94, 0x4f, 0xcc,
0xae, 0x51, 0x0b, 0x32, 0xab, 0x83, 0xaf, 0x01, 0x3a, 0x11, 0x32, 0xc7, 0xfd, 0xd5, 0xc1, 0xb4,
0xdd, 0x74, 0x08, 0x0f, 0xdd, 0xee, 0x70, 0xf0, 0xf8, 0x90, 0x3e, 0x9b, 0xac, 0x8c, 0xb1, 0x90,
0x39, 0x59, 0xf2, 0xa4, 0x14, 0x50, 0x6a, 0x17, 0x5c, 0x81, 0x6a, 0x21, 0x21, 0x5f, 0xeb, 0xa7,
0x16, 0x07, 0x91, 0xc2, 0x9e, 0xd4, 0x82, 0xa4, 0x92, 0xf4, 0xff, 0xef, 0xb6, 0x13, 0x15, 0x7d,
0xf7, 0x86, 0x6c, 0xb3, 0xf9, 0xf0, 0xc6, 0xac, 0x5b, 0x11, 0xd1, 0xcf, 0x9e, 0xdc, 0x46, 0xf4,
0xdb, 0x9b, 0xf5, 0xe5, 0xf6, 0x3e, 0x0c, 0x5c, 0x75, 0xc2, 0x0d, 0xff, 0xf1, 0xfe, 0x77, 0xa7,
0xc5, 0x22, 0xa2, 0xf1, 0xbf, 0xba, 0xf1, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x1f, 0xc2,
0x08, 0xb1, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: txchecker/v1/resource.proto
package txcheckerv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_txchecker_v1_resource_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_txchecker_v1_resource_proto_rawDesc = []byte{
0x0a, 0x1b, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x74,
0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0xcb, 0x01, 0x0a, 0x10,
0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31,
0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x74,
0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58,
0xaa, 0x02, 0x0c, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca,
0x02, 0x0c, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02,
0x18, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x54, 0x78, 0x63, 0x68,
0x65, 0x63, 0x6b, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_txchecker_v1_resource_proto_goTypes = []interface{}{}
var file_txchecker_v1_resource_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("txchecker/v1/resource.proto", fileDescriptor_9d5e09e8fd871530) }
func init() { file_txchecker_v1_resource_proto_init() }
func file_txchecker_v1_resource_proto_init() {
if File_txchecker_v1_resource_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_txchecker_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_txchecker_v1_resource_proto_goTypes,
DependencyIndexes: file_txchecker_v1_resource_proto_depIdxs,
}.Build()
File_txchecker_v1_resource_proto = out.File
file_txchecker_v1_resource_proto_rawDesc = nil
file_txchecker_v1_resource_proto_goTypes = nil
file_txchecker_v1_resource_proto_depIdxs = nil
var fileDescriptor_9d5e09e8fd871530 = []byte{
// 188 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0xa9, 0x48, 0xce,
0x48, 0x4d, 0xce, 0x4e, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a,
0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0x4b, 0xea, 0x95, 0x19, 0x3a, 0x9d,
0x66, 0xe4, 0x12, 0x48, 0xce, 0xcf, 0xd5, 0x43, 0x11, 0xe4, 0x0d, 0x82, 0x6a, 0x09, 0x00, 0xe9,
0x08, 0x60, 0x8c, 0x0a, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x77,
0x4e, 0x4c, 0x29, 0x4d, 0x4e, 0x2d, 0x2d, 0xf6, 0x4d, 0x2d, 0x49, 0x2c, 0x4b, 0x2d, 0x2a, 0x86,
0x28, 0x4a, 0xce, 0xcf, 0xd1, 0xcf, 0x4d, 0x2d, 0x49, 0x2c, 0x80, 0x71, 0xd2, 0x53, 0xf3, 0xf4,
0xc1, 0x1c, 0xfd, 0xf4, 0x7c, 0x7d, 0x64, 0xf7, 0x58, 0xc3, 0x39, 0x65, 0x86, 0x8b, 0x98, 0x98,
0x43, 0x22, 0x22, 0x56, 0x31, 0xf1, 0x84, 0xc0, 0xad, 0x0f, 0x33, 0x3c, 0x85, 0xc4, 0x8d, 0x09,
0x33, 0x7c, 0xc4, 0x24, 0x81, 0xcc, 0x8d, 0x71, 0x0f, 0x70, 0x02, 0x59, 0x9d, 0x92, 0x58, 0x92,
0xf8, 0x8a, 0x89, 0x17, 0x2e, 0x65, 0x65, 0x15, 0x66, 0x98, 0xc4, 0x06, 0xb6, 0xd1, 0x18, 0x10,
0x00, 0x00, 0xff, 0xff, 0xd0, 0xd9, 0xab, 0x4c, 0x01, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: txchecker/v1/service.proto
package txcheckerv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_txchecker_v1_service_proto protoreflect.FileDescriptor
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var file_txchecker_v1_service_proto_rawDesc = []byte{
0x0a, 0x1a, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x74, 0x78,
0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x74, 0x78, 0x63, 0x68,
0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32,
0x6b, 0x0a, 0x10, 0x54, 0x78, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x68, 0x65, 0x63,
0x6b, 0x54, 0x78, 0x12, 0x21, 0x2e, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b,
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,
0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xca, 0x01, 0x0a,
0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76,
0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x74, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x74,
0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58,
0xaa, 0x02, 0x0c, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca,
0x02, 0x0c, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02,
0x18, 0x54, 0x78, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x54, 0x78, 0x63, 0x68,
0x65, 0x63, 0x6b, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_txchecker_v1_service_proto_goTypes = []interface{}{
(*BatchCheckTxRequest)(nil), // 0: txchecker.v1.BatchCheckTxRequest
(*BatchCheckTxResponse)(nil), // 1: txchecker.v1.BatchCheckTxResponse
}
var file_txchecker_v1_service_proto_depIdxs = []int32{
0, // 0: txchecker.v1.TxCheckerService.BatchCheckTx:input_type -> txchecker.v1.BatchCheckTxRequest
1, // 1: txchecker.v1.TxCheckerService.BatchCheckTx:output_type -> txchecker.v1.BatchCheckTxResponse
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { proto.RegisterFile("txchecker/v1/service.proto", fileDescriptor_879a31c9059be40b) }
func init() { file_txchecker_v1_service_proto_init() }
func file_txchecker_v1_service_proto_init() {
if File_txchecker_v1_service_proto != nil {
return
}
file_txchecker_v1_request_response_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_txchecker_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_txchecker_v1_service_proto_goTypes,
DependencyIndexes: file_txchecker_v1_service_proto_depIdxs,
}.Build()
File_txchecker_v1_service_proto = out.File
file_txchecker_v1_service_proto_rawDesc = nil
file_txchecker_v1_service_proto_goTypes = nil
file_txchecker_v1_service_proto_depIdxs = nil
var fileDescriptor_879a31c9059be40b = []byte{
// 253 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0xa9, 0x48, 0xce,
0x48, 0x4d, 0xce, 0x4e, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e,
0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0xcb, 0xe9, 0x95, 0x19, 0x4a, 0x29, 0xa3,
0xa8, 0x2c, 0x4a, 0x2d, 0x2c, 0x4d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x00, 0x00, 0xff, 0xff, 0xe2, 0x37, 0xde, 0x4e, 0x91, 0x01, 0x00, 0x00,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment