Commit 85cd9a7f authored by Ubuntu's avatar Ubuntu

commit generated go codes

parent 02f2d815
.idea .idea
.vscode .vscode
protocol protocol
*.go
// 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, 0x9e, 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, 0x3c,
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68,
0x61, 0x69, 0x6e, 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)
// 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"
)
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 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[0]
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[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 Hash.ProtoReflect.Descriptor instead.
func (*Hash) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{0}
}
func (x *Hash) GetHash() []byte {
if x != nil {
return x.Hash
}
return nil
}
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 (x *Address) Reset() {
*x = Address{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Address) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Address) ProtoMessage() {}
func (x *Address) 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)
}
// Deprecated: Use Address.ProtoReflect.Descriptor instead.
func (*Address) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{1}
}
func (x *Address) GetAddress() []byte {
if x != nil {
return x.Address
}
return nil
}
type EthTransaction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *Txdata `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
}
func (x *EthTransaction) Reset() {
*x = EthTransaction{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EthTransaction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EthTransaction) ProtoMessage() {}
func (x *EthTransaction) 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)
}
// Deprecated: Use EthTransaction.ProtoReflect.Descriptor instead.
func (*EthTransaction) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{2}
}
func (x *EthTransaction) GetData() *Txdata {
if x != nil {
return x.Data
}
return nil
}
func (x *EthTransaction) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
}
return nil
}
type Txdata 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"`
}
func (x *Txdata) Reset() {
*x = Txdata{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Txdata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Txdata) ProtoMessage() {}
func (x *Txdata) 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)
}
// Deprecated: Use Txdata.ProtoReflect.Descriptor instead.
func (*Txdata) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{3}
}
func (x *Txdata) GetAccountNonce() uint64 {
if x != nil {
return x.AccountNonce
}
return 0
}
func (x *Txdata) GetPrice() []byte {
if x != nil {
return x.Price
}
return nil
}
func (x *Txdata) GetGasLimit() uint64 {
if x != nil {
return x.GasLimit
}
return 0
}
func (x *Txdata) GetRecipient() *Address {
if x != nil {
return x.Recipient
}
return nil
}
func (x *Txdata) GetAmount() []byte {
if x != nil {
return x.Amount
}
return nil
}
func (x *Txdata) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
}
func (x *Txdata) GetV() []byte {
if x != nil {
return x.V
}
return nil
}
func (x *Txdata) GetR() []byte {
if x != nil {
return x.R
}
return nil
}
func (x *Txdata) GetS() []byte {
if x != nil {
return x.S
}
return nil
}
func (x *Txdata) GetHash() *Hash {
if x != nil {
return x.Hash
}
return nil
}
type CheckTx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Tx *anypb.Any `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
From *Address `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
}
func (x *CheckTx) Reset() {
*x = CheckTx{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CheckTx) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckTx) ProtoMessage() {}
func (x *CheckTx) 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 CheckTx.ProtoReflect.Descriptor instead.
func (*CheckTx) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{4}
}
func (x *CheckTx) GetTx() *anypb.Any {
if x != nil {
return x.Tx
}
return nil
}
func (x *CheckTx) GetFrom() *Address {
if x != nil {
return x.From
}
return nil
}
type Transaction 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"`
TimeoutBlockNum int64 `protobuf:"varint,5,opt,name=timeout_block_num,json=timeoutBlockNum,proto3" json:"timeout_block_num,omitempty"`
CheckTx *CheckTx `protobuf:"bytes,6,opt,name=check_tx,json=checkTx,proto3" json:"check_tx,omitempty"`
}
func (x *Transaction) Reset() {
*x = Transaction{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_resource_proto_msgTypes[5]
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[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)
}
// Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) Descriptor() ([]byte, []int) {
return file_base_v1_resource_proto_rawDescGZIP(), []int{5}
}
func (x *Transaction) GetRset() []byte {
if x != nil {
return x.Rset
}
return nil
}
func (x *Transaction) GetWset() []byte {
if x != nil {
return x.Wset
}
return nil
}
func (x *Transaction) GetProof() []byte {
if x != nil {
return x.Proof
}
return nil
}
func (x *Transaction) GetStateBlockNum() int64 {
if x != nil {
return x.StateBlockNum
}
return 0
}
func (x *Transaction) GetTimeoutBlockNum() int64 {
if x != nil {
return x.TimeoutBlockNum
}
return 0
}
func (x *Transaction) GetCheckTx() *CheckTx {
if x != nil {
return x.CheckTx
}
return nil
}
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, 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, 0x65,
0x0a, 0x0e, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x23, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x78, 0x64, 0x61, 0x74, 0x61, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 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, 0x8f, 0x02, 0x0a, 0x06, 0x54, 0x78, 0x64, 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, 0x22, 0x55, 0x0a, 0x07, 0x43, 0x68, 0x65, 0x63, 0x6b,
0x54, 0x78, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 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, 0x12, 0x24, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0xcc,
0x01, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f,
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d,
0x12, 0x2b, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x78, 0x18, 0x06, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65,
0x63, 0x6b, 0x54, 0x78, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x42, 0x97, 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, 0x3c,
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68,
0x61, 0x69, 0x6e, 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_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, 6)
var file_base_v1_resource_proto_goTypes = []interface{}{
(*Hash)(nil), // 0: base.v1.Hash
(*Address)(nil), // 1: base.v1.Address
(*EthTransaction)(nil), // 2: base.v1.EthTransaction
(*Txdata)(nil), // 3: base.v1.Txdata
(*CheckTx)(nil), // 4: base.v1.CheckTx
(*Transaction)(nil), // 5: base.v1.transaction
(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
(*anypb.Any)(nil), // 7: google.protobuf.Any
}
var file_base_v1_resource_proto_depIdxs = []int32{
3, // 0: base.v1.EthTransaction.data:type_name -> base.v1.Txdata
6, // 1: base.v1.EthTransaction.time:type_name -> google.protobuf.Timestamp
1, // 2: base.v1.Txdata.recipient:type_name -> base.v1.Address
0, // 3: base.v1.Txdata.hash:type_name -> base.v1.Hash
7, // 4: base.v1.CheckTx.tx:type_name -> google.protobuf.Any
1, // 5: base.v1.CheckTx.from:type_name -> base.v1.Address
4, // 6: base.v1.transaction.check_tx:type_name -> base.v1.CheckTx
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_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.(*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[1].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[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EthTransaction); 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.(*Txdata); 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.(*CheckTx); 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.(*Transaction); 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: 6,
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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/service.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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_service_proto protoreflect.FileDescriptor
var file_base_v1_service_proto_rawDesc = []byte{
0x0a, 0x15, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x1a, 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,
0x32, 0x43, 0x0a, 0x0b, 0x42, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x34, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x4c, 0x50, 0x44, 0x61, 0x74,
0x61, 0x1a, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x22, 0x00, 0x42, 0x96, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61,
0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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_service_proto_goTypes = []interface{}{
(*RLPData)(nil), // 0: base.v1.RLPData
(*Account)(nil), // 1: base.v1.Account
}
var file_base_v1_service_proto_depIdxs = []int32{
0, // 0: base.v1.BaseService.ParseAccount:input_type -> base.v1.RLPData
1, // 1: base.v1.BaseService.ParseAccount:output_type -> base.v1.Account
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() { file_base_v1_service_proto_init() }
func file_base_v1_service_proto_init() {
if File_base_v1_service_proto != nil {
return
}
file_base_v1_request_response_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_base_v1_service_proto_goTypes,
DependencyIndexes: file_base_v1_service_proto_depIdxs,
}.Build()
File_base_v1_service_proto = out.File
file_base_v1_service_proto_rawDesc = nil
file_base_v1_service_proto_goTypes = nil
file_base_v1_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: base/v1/service.proto
package basev1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// BaseServiceClient is the client API for BaseService service.
//
// 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 BaseServiceClient interface {
ParseAccount(ctx context.Context, in *RLPData, opts ...grpc.CallOption) (*Account, error)
}
type baseServiceClient struct {
cc grpc.ClientConnInterface
}
func NewBaseServiceClient(cc grpc.ClientConnInterface) BaseServiceClient {
return &baseServiceClient{cc}
}
func (c *baseServiceClient) ParseAccount(ctx context.Context, in *RLPData, opts ...grpc.CallOption) (*Account, error) {
out := new(Account)
err := c.cc.Invoke(ctx, "/base.v1.BaseService/ParseAccount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// BaseServiceServer is the server API for BaseService service.
// All implementations must embed UnimplementedBaseServiceServer
// for forward compatibility
type BaseServiceServer interface {
ParseAccount(context.Context, *RLPData) (*Account, error)
mustEmbedUnimplementedBaseServiceServer()
}
// UnimplementedBaseServiceServer must be embedded to have forward compatible implementations.
type UnimplementedBaseServiceServer struct {
}
func (UnimplementedBaseServiceServer) ParseAccount(context.Context, *RLPData) (*Account, error) {
return nil, status.Errorf(codes.Unimplemented, "method ParseAccount not implemented")
}
func (UnimplementedBaseServiceServer) mustEmbedUnimplementedBaseServiceServer() {}
// UnsafeBaseServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to BaseServiceServer will
// result in compilation errors.
type UnsafeBaseServiceServer interface {
mustEmbedUnimplementedBaseServiceServer()
}
func RegisterBaseServiceServer(s grpc.ServiceRegistrar, srv BaseServiceServer) {
s.RegisterService(&BaseService_ServiceDesc, srv)
}
func _BaseService_ParseAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RLPData)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(BaseServiceServer).ParseAccount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/base.v1.BaseService/ParseAccount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(BaseServiceServer).ParseAccount(ctx, req.(*RLPData))
}
return interceptor(ctx, in, info, handler)
}
// BaseService_ServiceDesc is the grpc.ServiceDesc for BaseService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var BaseService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "base.v1.BaseService",
HandlerType: (*BaseServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ParseAccount",
Handler: _BaseService_ParseAccount_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "base/v1/service.proto",
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: crypter/v1/request_response.proto
package crypterv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "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 BatchSignRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
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 (x *BatchSignRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchSignRequest.ProtoReflect.Descriptor instead.
func (*BatchSignRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{0}
}
func (x *BatchSignRequest) GetPrivk() [][]byte {
if x != nil {
return x.Privk
}
return nil
}
func (x *BatchSignRequest) GetData() [][]byte {
if x != nil {
return x.Data
}
return nil
}
func (x *BatchSignRequest) GetCryptType() CryptType {
if x != nil {
return x.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"`
}
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 (x *BatchSignResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchSignResponse.ProtoReflect.Descriptor instead.
func (*BatchSignResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{1}
}
func (x *BatchSignResponse) GetSignature() [][]byte {
if x != nil {
return x.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"`
}
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 (x *BatchVerifyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchVerifyRequest.ProtoReflect.Descriptor instead.
func (*BatchVerifyRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{2}
}
func (x *BatchVerifyRequest) GetPubkey() [][]byte {
if x != nil {
return x.Pubkey
}
return nil
}
func (x *BatchVerifyRequest) GetSignature() [][]byte {
if x != nil {
return x.Signature
}
return nil
}
func (x *BatchVerifyRequest) GetCryptType() CryptType {
if x != nil {
return x.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"`
}
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 (x *BatchVerifyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchVerifyResponse.ProtoReflect.Descriptor instead.
func (*BatchVerifyResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{3}
}
func (x *BatchVerifyResponse) GetVerified() []bool {
if x != nil {
return x.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"`
}
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 (x *BatchRecoverRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchRecoverRequest.ProtoReflect.Descriptor instead.
func (*BatchRecoverRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{4}
}
func (x *BatchRecoverRequest) GetData() [][]byte {
if x != nil {
return x.Data
}
return nil
}
func (x *BatchRecoverRequest) GetSignature() [][]byte {
if x != nil {
return x.Signature
}
return nil
}
func (x *BatchRecoverRequest) GetCryptType() CryptType {
if x != nil {
return x.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"`
}
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 (x *BatchRecoverResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchRecoverResponse.ProtoReflect.Descriptor instead.
func (*BatchRecoverResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{5}
}
func (x *BatchRecoverResponse) GetPubkey() [][]byte {
if x != nil {
return x.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"`
}
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 (x *BatchRecoverTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchRecoverTxRequest.ProtoReflect.Descriptor instead.
func (*BatchRecoverTxRequest) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{6}
}
func (x *BatchRecoverTxRequest) GetRawTx() []*EthTx {
if x != nil {
return x.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"`
}
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 (x *BatchRecoverTxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchRecoverTxResponse.ProtoReflect.Descriptor instead.
func (*BatchRecoverTxResponse) Descriptor() ([]byte, []int) {
return file_crypter_v1_request_response_proto_rawDescGZIP(), []int{7}
}
func (x *BatchRecoverTxResponse) GetRecoverTx() []*RethTx {
if x != nil {
return x.RecoverTx
}
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, 0xb3, 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, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// 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"
)
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 CryptType int32
const (
CryptType_CRYPT_TYPE_INVALID CryptType = 0
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()
}
func (CryptType) Type() protoreflect.EnumType {
return &file_crypter_v1_resource_proto_enumTypes[0]
}
func (x CryptType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(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, 0xac, 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, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: crypter/v1/service.proto
package crypterv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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
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, 0xab, 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, 0x42, 0x67,
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61,
0x69, 0x6e, 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_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() { 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
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: crypter/v1/service.proto
package crypterv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// CrypterServiceClient is the client API for CrypterService service.
//
// 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 CrypterServiceClient interface {
BatchSign(ctx context.Context, in *BatchSignRequest, opts ...grpc.CallOption) (*BatchSignResponse, error)
BatchVerify(ctx context.Context, in *BatchVerifyRequest, opts ...grpc.CallOption) (*BatchVerifyResponse, error)
BatchRecover(ctx context.Context, in *BatchRecoverRequest, opts ...grpc.CallOption) (*BatchRecoverResponse, error)
BatchRecoverTx(ctx context.Context, in *BatchRecoverTxRequest, opts ...grpc.CallOption) (*BatchRecoverTxResponse, error)
}
type crypterServiceClient struct {
cc grpc.ClientConnInterface
}
func NewCrypterServiceClient(cc grpc.ClientConnInterface) CrypterServiceClient {
return &crypterServiceClient{cc}
}
func (c *crypterServiceClient) BatchSign(ctx context.Context, in *BatchSignRequest, opts ...grpc.CallOption) (*BatchSignResponse, error) {
out := new(BatchSignResponse)
err := c.cc.Invoke(ctx, "/crypter.v1.CrypterService/BatchSign", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) BatchVerify(ctx context.Context, in *BatchVerifyRequest, opts ...grpc.CallOption) (*BatchVerifyResponse, error) {
out := new(BatchVerifyResponse)
err := c.cc.Invoke(ctx, "/crypter.v1.CrypterService/BatchVerify", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) BatchRecover(ctx context.Context, in *BatchRecoverRequest, opts ...grpc.CallOption) (*BatchRecoverResponse, error) {
out := new(BatchRecoverResponse)
err := c.cc.Invoke(ctx, "/crypter.v1.CrypterService/BatchRecover", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) BatchRecoverTx(ctx context.Context, in *BatchRecoverTxRequest, opts ...grpc.CallOption) (*BatchRecoverTxResponse, error) {
out := new(BatchRecoverTxResponse)
err := c.cc.Invoke(ctx, "/crypter.v1.CrypterService/BatchRecoverTx", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// CrypterServiceServer is the server API for CrypterService service.
// All implementations must embed UnimplementedCrypterServiceServer
// for forward compatibility
type CrypterServiceServer interface {
BatchSign(context.Context, *BatchSignRequest) (*BatchSignResponse, error)
BatchVerify(context.Context, *BatchVerifyRequest) (*BatchVerifyResponse, error)
BatchRecover(context.Context, *BatchRecoverRequest) (*BatchRecoverResponse, error)
BatchRecoverTx(context.Context, *BatchRecoverTxRequest) (*BatchRecoverTxResponse, error)
mustEmbedUnimplementedCrypterServiceServer()
}
// UnimplementedCrypterServiceServer must be embedded to have forward compatible implementations.
type UnimplementedCrypterServiceServer struct {
}
func (UnimplementedCrypterServiceServer) BatchSign(context.Context, *BatchSignRequest) (*BatchSignResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchSign not implemented")
}
func (UnimplementedCrypterServiceServer) BatchVerify(context.Context, *BatchVerifyRequest) (*BatchVerifyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchVerify not implemented")
}
func (UnimplementedCrypterServiceServer) BatchRecover(context.Context, *BatchRecoverRequest) (*BatchRecoverResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchRecover not implemented")
}
func (UnimplementedCrypterServiceServer) BatchRecoverTx(context.Context, *BatchRecoverTxRequest) (*BatchRecoverTxResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchRecoverTx not implemented")
}
func (UnimplementedCrypterServiceServer) mustEmbedUnimplementedCrypterServiceServer() {}
// UnsafeCrypterServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to CrypterServiceServer will
// result in compilation errors.
type UnsafeCrypterServiceServer interface {
mustEmbedUnimplementedCrypterServiceServer()
}
func RegisterCrypterServiceServer(s grpc.ServiceRegistrar, srv CrypterServiceServer) {
s.RegisterService(&CrypterService_ServiceDesc, srv)
}
func _CrypterService_BatchSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchSignRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchSign(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/crypter.v1.CrypterService/BatchSign",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchSign(ctx, req.(*BatchSignRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_BatchVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchVerifyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchVerify(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/crypter.v1.CrypterService/BatchVerify",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchVerify(ctx, req.(*BatchVerifyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_BatchRecover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchRecoverRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchRecover(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/crypter.v1.CrypterService/BatchRecover",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchRecover(ctx, req.(*BatchRecoverRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_BatchRecoverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchRecoverTxRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchRecoverTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/crypter.v1.CrypterService/BatchRecoverTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchRecoverTx(ctx, req.(*BatchRecoverTxRequest))
}
return interceptor(ctx, in, info, handler)
}
// CrypterService_ServiceDesc is the grpc.ServiceDesc for CrypterService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var CrypterService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "crypter.v1.CrypterService",
HandlerType: (*CrypterServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "BatchSign",
Handler: _CrypterService_BatchSign_Handler,
},
{
MethodName: "BatchVerify",
Handler: _CrypterService_BatchVerify_Handler,
},
{
MethodName: "BatchRecover",
Handler: _CrypterService_BatchRecover_Handler,
},
{
MethodName: "BatchRecoverTx",
Handler: _CrypterService_BatchRecoverTx_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "crypter/v1/service.proto",
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: ethrpc/v1/eth.proto
package ethrpcv1
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"
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)
)
// GetAccounts only for ganache
type GetAccountsReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *GetAccountsReq) Reset() {
*x = GetAccountsReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAccountsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccountsReq) ProtoMessage() {}
func (x *GetAccountsReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_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 GetAccountsReq.ProtoReflect.Descriptor instead.
func (*GetAccountsReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{0}
}
type TestnetReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (x *TestnetReq) Reset() {
*x = TestnetReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TestnetReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TestnetReq) ProtoMessage() {}
func (x *TestnetReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_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 TestnetReq.ProtoReflect.Descriptor instead.
func (*TestnetReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{1}
}
func (x *TestnetReq) GetId() uint32 {
if x != nil {
return x.Id
}
return 0
}
type HashStringOrNumber struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReqString string `protobuf:"bytes,1,opt,name=reqString,proto3" json:"reqString,omitempty"`
ReqNum uint64 `protobuf:"varint,2,opt,name=reqNum,proto3" json:"reqNum,omitempty"`
}
func (x *HashStringOrNumber) Reset() {
*x = HashStringOrNumber{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HashStringOrNumber) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HashStringOrNumber) ProtoMessage() {}
func (x *HashStringOrNumber) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_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 HashStringOrNumber.ProtoReflect.Descriptor instead.
func (*HashStringOrNumber) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{2}
}
func (x *HashStringOrNumber) GetReqString() string {
if x != nil {
return x.ReqString
}
return ""
}
func (x *HashStringOrNumber) GetReqNum() uint64 {
if x != nil {
return x.ReqNum
}
return 0
}
type InfoWithIndex struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Req *HashStringOrNumber `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
}
func (x *InfoWithIndex) Reset() {
*x = InfoWithIndex{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InfoWithIndex) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InfoWithIndex) ProtoMessage() {}
func (x *InfoWithIndex) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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)
}
// Deprecated: Use InfoWithIndex.ProtoReflect.Descriptor instead.
func (*InfoWithIndex) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{3}
}
func (x *InfoWithIndex) GetReq() *HashStringOrNumber {
if x != nil {
return x.Req
}
return nil
}
func (x *InfoWithIndex) GetIndex() uint64 {
if x != nil {
return x.Index
}
return 0
}
type CountResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *CountResp) Reset() {
*x = CountResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountResp) ProtoMessage() {}
func (x *CountResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 CountResp.ProtoReflect.Descriptor instead.
func (*CountResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{4}
}
func (x *CountResp) GetCount() uint64 {
if x != nil {
return x.Count
}
return 0
}
type ObjResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RespObj string `protobuf:"bytes,1,opt,name=respObj,proto3" json:"respObj,omitempty"`
}
func (x *ObjResp) Reset() {
*x = ObjResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ObjResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ObjResp) ProtoMessage() {}
func (x *ObjResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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)
}
// Deprecated: Use ObjResp.ProtoReflect.Descriptor instead.
func (*ObjResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{5}
}
func (x *ObjResp) GetRespObj() string {
if x != nil {
return x.RespObj
}
return ""
}
type GetAccountsResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
}
func (x *GetAccountsResp) Reset() {
*x = GetAccountsResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAccountsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccountsResp) ProtoMessage() {}
func (x *GetAccountsResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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)
}
// Deprecated: Use GetAccountsResp.ProtoReflect.Descriptor instead.
func (*GetAccountsResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{6}
}
func (x *GetAccountsResp) GetAccounts() []string {
if x != nil {
return x.Accounts
}
return nil
}
// GetBalance -> eth.getBalance -> eth_getBalance
type GetBalanceReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
}
func (x *GetBalanceReq) Reset() {
*x = GetBalanceReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBalanceReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBalanceReq) ProtoMessage() {}
func (x *GetBalanceReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 GetBalanceReq.ProtoReflect.Descriptor instead.
func (*GetBalanceReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{7}
}
func (x *GetBalanceReq) GetAddress() []string {
if x != nil {
return x.Address
}
return nil
}
type GetBalanceResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Balance []string `protobuf:"bytes,1,rep,name=balance,proto3" json:"balance,omitempty"`
}
func (x *GetBalanceResp) Reset() {
*x = GetBalanceResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBalanceResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBalanceResp) ProtoMessage() {}
func (x *GetBalanceResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 GetBalanceResp.ProtoReflect.Descriptor instead.
func (*GetBalanceResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{8}
}
func (x *GetBalanceResp) GetBalance() []string {
if x != nil {
return x.Balance
}
return nil
}
// GetNonce -> eth.GetNonce -> GetNonce
type GetNonceReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
}
func (x *GetNonceReq) Reset() {
*x = GetNonceReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetNonceReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetNonceReq) ProtoMessage() {}
func (x *GetNonceReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 GetNonceReq.ProtoReflect.Descriptor instead.
func (*GetNonceReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{9}
}
func (x *GetNonceReq) GetAddress() []string {
if x != nil {
return x.Address
}
return nil
}
type GetNonceResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Balance []string `protobuf:"bytes,1,rep,name=balance,proto3" json:"balance,omitempty"`
}
func (x *GetNonceResp) Reset() {
*x = GetNonceResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetNonceResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetNonceResp) ProtoMessage() {}
func (x *GetNonceResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 GetNonceResp.ProtoReflect.Descriptor instead.
func (*GetNonceResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{10}
}
func (x *GetNonceResp) GetBalance() []string {
if x != nil {
return x.Balance
}
return nil
}
type CreateRawTransactionReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Gas uint32 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`
Value uint32 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *CreateRawTransactionReq) Reset() {
*x = CreateRawTransactionReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateRawTransactionReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateRawTransactionReq) ProtoMessage() {}
func (x *CreateRawTransactionReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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)
}
// Deprecated: Use CreateRawTransactionReq.ProtoReflect.Descriptor instead.
func (*CreateRawTransactionReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{11}
}
func (x *CreateRawTransactionReq) GetTo() string {
if x != nil {
return x.To
}
return ""
}
func (x *CreateRawTransactionReq) GetData() string {
if x != nil {
return x.Data
}
return ""
}
func (x *CreateRawTransactionReq) GetGas() uint32 {
if x != nil {
return x.Gas
}
return 0
}
func (x *CreateRawTransactionReq) GetValue() uint32 {
if x != nil {
return x.Value
}
return 0
}
type CreateRawTransactionResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RawTX string `protobuf:"bytes,1,opt,name=rawTX,proto3" json:"rawTX,omitempty"`
}
func (x *CreateRawTransactionResp) Reset() {
*x = CreateRawTransactionResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateRawTransactionResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateRawTransactionResp) ProtoMessage() {}
func (x *CreateRawTransactionResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 CreateRawTransactionResp.ProtoReflect.Descriptor instead.
func (*CreateRawTransactionResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{12}
}
func (x *CreateRawTransactionResp) GetRawTX() string {
if x != nil {
return x.RawTX
}
return ""
}
type DeploySignedTransactionReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SignedTX string `protobuf:"bytes,1,opt,name=signedTX,proto3" json:"signedTX,omitempty"`
}
func (x *DeploySignedTransactionReq) Reset() {
*x = DeploySignedTransactionReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeploySignedTransactionReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeploySignedTransactionReq) ProtoMessage() {}
func (x *DeploySignedTransactionReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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)
}
// Deprecated: Use DeploySignedTransactionReq.ProtoReflect.Descriptor instead.
func (*DeploySignedTransactionReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{13}
}
func (x *DeploySignedTransactionReq) GetSignedTX() string {
if x != nil {
return x.SignedTX
}
return ""
}
type DeploySignedTransactionResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxReciept string `protobuf:"bytes,1,opt,name=txReciept,proto3" json:"txReciept,omitempty"`
}
func (x *DeploySignedTransactionResp) Reset() {
*x = DeploySignedTransactionResp{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeploySignedTransactionResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeploySignedTransactionResp) ProtoMessage() {}
func (x *DeploySignedTransactionResp) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_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 DeploySignedTransactionResp.ProtoReflect.Descriptor instead.
func (*DeploySignedTransactionResp) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{14}
}
func (x *DeploySignedTransactionResp) GetTxReciept() string {
if x != nil {
return x.TxReciept
}
return ""
}
// GetTransaction -> Eth.getTransaction -> eth_getTransactionByHAsh
type TxHash struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
}
func (x *TxHash) Reset() {
*x = TxHash{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TxHash) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TxHash) ProtoMessage() {}
func (x *TxHash) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[15]
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 TxHash.ProtoReflect.Descriptor instead.
func (*TxHash) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{15}
}
func (x *TxHash) GetTxhash() string {
if x != nil {
return x.Txhash
}
return ""
}
type TransactionInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Transaction string `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
}
func (x *TransactionInfo) Reset() {
*x = TransactionInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransactionInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransactionInfo) ProtoMessage() {}
func (x *TransactionInfo) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[16]
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 TransactionInfo.ProtoReflect.Descriptor instead.
func (*TransactionInfo) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{16}
}
func (x *TransactionInfo) GetTransaction() string {
if x != nil {
return x.Transaction
}
return ""
}
type TxReceipt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxReceipt string `protobuf:"bytes,1,opt,name=txReceipt,proto3" json:"txReceipt,omitempty"`
}
func (x *TxReceipt) Reset() {
*x = TxReceipt{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TxReceipt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TxReceipt) ProtoMessage() {}
func (x *TxReceipt) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[17]
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 TxReceipt.ProtoReflect.Descriptor instead.
func (*TxReceipt) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{17}
}
func (x *TxReceipt) GetTxReceipt() string {
if x != nil {
return x.TxReceipt
}
return ""
}
type RawTxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Networkid uint32 `protobuf:"varint,1,opt,name=networkid,proto3" json:"networkid,omitempty"`
Tx string `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"`
}
func (x *RawTxRequest) Reset() {
*x = RawTxRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RawTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RawTxRequest) ProtoMessage() {}
func (x *RawTxRequest) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[18]
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 RawTxRequest.ProtoReflect.Descriptor instead.
func (*RawTxRequest) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{18}
}
func (x *RawTxRequest) GetNetworkid() uint32 {
if x != nil {
return x.Networkid
}
return 0
}
func (x *RawTxRequest) GetTx() string {
if x != nil {
return x.Tx
}
return ""
}
type BlockNumber struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Blocknum uint64 `protobuf:"varint,1,opt,name=blocknum,proto3" json:"blocknum,omitempty"`
}
func (x *BlockNumber) Reset() {
*x = BlockNumber{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BlockNumber) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BlockNumber) ProtoMessage() {}
func (x *BlockNumber) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[19]
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 BlockNumber.ProtoReflect.Descriptor instead.
func (*BlockNumber) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{19}
}
func (x *BlockNumber) GetBlocknum() uint64 {
if x != nil {
return x.Blocknum
}
return 0
}
type TxResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TxData string `protobuf:"bytes,1,opt,name=txData,proto3" json:"txData,omitempty"`
}
func (x *TxResponse) Reset() {
*x = TxResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TxResponse) ProtoMessage() {}
func (x *TxResponse) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[20]
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 TxResponse.ProtoReflect.Descriptor instead.
func (*TxResponse) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{20}
}
func (x *TxResponse) GetTxData() string {
if x != nil {
return x.TxData
}
return ""
}
type NumResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ResultNum uint64 `protobuf:"varint,1,opt,name=resultNum,proto3" json:"resultNum,omitempty"`
}
func (x *NumResult) Reset() {
*x = NumResult{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NumResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NumResult) ProtoMessage() {}
func (x *NumResult) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[21]
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 NumResult.ProtoReflect.Descriptor instead.
func (*NumResult) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{21}
}
func (x *NumResult) GetResultNum() uint64 {
if x != nil {
return x.ResultNum
}
return 0
}
type GetTxReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Networkid uint32 `protobuf:"varint,1,opt,name=networkid,proto3" json:"networkid,omitempty"`
Txhash string `protobuf:"bytes,2,opt,name=txhash,proto3" json:"txhash,omitempty"`
}
func (x *GetTxReq) Reset() {
*x = GetTxReq{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetTxReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetTxReq) ProtoMessage() {}
func (x *GetTxReq) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[22]
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 GetTxReq.ProtoReflect.Descriptor instead.
func (*GetTxReq) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{22}
}
func (x *GetTxReq) GetNetworkid() uint32 {
if x != nil {
return x.Networkid
}
return 0
}
func (x *GetTxReq) GetTxhash() string {
if x != nil {
return x.Txhash
}
return ""
}
type CallRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Networkid uint32 `protobuf:"varint,1,opt,name=networkid,proto3" json:"networkid,omitempty"`
Fn string `protobuf:"bytes,2,opt,name=fn,proto3" json:"fn,omitempty"`
Params string `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"`
Abi string `protobuf:"bytes,4,opt,name=abi,proto3" json:"abi,omitempty"`
Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
FromAddress string `protobuf:"bytes,6,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` // python will not allow .from so it has to be fromAddress
Value uint64 `protobuf:"varint,7,opt,name=value,proto3" json:"value,omitempty"`
GasSupply uint64 `protobuf:"varint,8,opt,name=gasSupply,proto3" json:"gasSupply,omitempty"`
}
func (x *CallRequest) Reset() {
*x = CallRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CallRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallRequest) ProtoMessage() {}
func (x *CallRequest) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[23]
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 CallRequest.ProtoReflect.Descriptor instead.
func (*CallRequest) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{23}
}
func (x *CallRequest) GetNetworkid() uint32 {
if x != nil {
return x.Networkid
}
return 0
}
func (x *CallRequest) GetFn() string {
if x != nil {
return x.Fn
}
return ""
}
func (x *CallRequest) GetParams() string {
if x != nil {
return x.Params
}
return ""
}
func (x *CallRequest) GetAbi() string {
if x != nil {
return x.Abi
}
return ""
}
func (x *CallRequest) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *CallRequest) GetFromAddress() string {
if x != nil {
return x.FromAddress
}
return ""
}
func (x *CallRequest) GetValue() uint64 {
if x != nil {
return x.Value
}
return 0
}
func (x *CallRequest) GetGasSupply() uint64 {
if x != nil {
return x.GasSupply
}
return 0
}
type CallResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
}
func (x *CallResponse) Reset() {
*x = CallResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_ethrpc_v1_eth_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CallResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallResponse) ProtoMessage() {}
func (x *CallResponse) ProtoReflect() protoreflect.Message {
mi := &file_ethrpc_v1_eth_proto_msgTypes[24]
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 CallResponse.ProtoReflect.Descriptor instead.
func (*CallResponse) Descriptor() ([]byte, []int) {
return file_ethrpc_v1_eth_proto_rawDescGZIP(), []int{24}
}
func (x *CallResponse) GetResult() string {
if x != nil {
return x.Result
}
return ""
}
var File_ethrpc_v1_eth_proto protoreflect.FileDescriptor
var file_ethrpc_v1_eth_proto_rawDesc = []byte{
0x0a, 0x13, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x74, 0x68, 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, 0x22, 0x10, 0x0a,
0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x22,
0x1c, 0x0a, 0x0a, 0x54, 0x65, 0x73, 0x74, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a,
0x12, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x4e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e,
0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x71, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
0x04, 0x52, 0x06, 0x72, 0x65, 0x71, 0x4e, 0x75, 0x6d, 0x22, 0x56, 0x0a, 0x0d, 0x49, 0x6e, 0x66,
0x6f, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x0a, 0x03, 0x72, 0x65,
0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72,
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x69,
0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65,
0x78, 0x22, 0x21, 0x0a, 0x09, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x22, 0x23, 0x0a, 0x07, 0x4f, 0x62, 0x6a, 0x52, 0x65, 0x73, 0x70, 0x12,
0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x70, 0x4f, 0x62, 0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x72, 0x65, 0x73, 0x70, 0x4f, 0x62, 0x6a, 0x22, 0x2d, 0x0a, 0x0f, 0x47, 0x65, 0x74,
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x29, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42,
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22,
0x27, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18,
0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x28, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e,
0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61,
0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e,
0x63, 0x65, 0x22, 0x65, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x61, 0x77, 0x54,
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a,
0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74,
0x61, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03,
0x67, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x30, 0x0a, 0x18, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x77, 0x54, 0x58, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x61, 0x77, 0x54, 0x58, 0x22, 0x38, 0x0a, 0x1a, 0x44,
0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73,
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x54, 0x58, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x54, 0x58, 0x22, 0x3b, 0x0a, 0x1b, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53,
0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x78, 0x52, 0x65, 0x63, 0x69, 0x65, 0x70,
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x78, 0x52, 0x65, 0x63, 0x69, 0x65,
0x70, 0x74, 0x22, 0x20, 0x0a, 0x06, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 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, 0x33, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73,
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72,
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x09, 0x54, 0x78, 0x52,
0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x78, 0x52, 0x65, 0x63, 0x65,
0x69, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x78, 0x52, 0x65, 0x63,
0x65, 0x69, 0x70, 0x74, 0x22, 0x3c, 0x0a, 0x0c, 0x52, 0x61, 0x77, 0x54, 0x78, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
0x74, 0x78, 0x22, 0x29, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65,
0x72, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20,
0x01, 0x28, 0x04, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x6e, 0x75, 0x6d, 0x22, 0x24, 0x0a,
0x0a, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x78, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x44,
0x61, 0x74, 0x61, 0x22, 0x29, 0x0a, 0x09, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20,
0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6d, 0x22, 0x40,
0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x78, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65,
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6e,
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x68, 0x61,
0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68,
0x22, 0xd5, 0x01, 0x0a, 0x0b, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x64, 0x12, 0x0e,
0x0a, 0x02, 0x66, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x66, 0x6e, 0x12, 0x16,
0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x62, 0x69, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x62, 0x69, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64,
0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20,
0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x61,
0x73, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67,
0x61, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x22, 0x26, 0x0a, 0x0c, 0x43, 0x61, 0x6c, 0x6c,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x32, 0xcb, 0x06, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x74, 0x68, 0x53, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e,
0x63, 0x65, 0x12, 0x18, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47,
0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,
0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x08, 0x47, 0x65, 0x74,
0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e,
0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x6e,
0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54,
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x52, 0x65, 0x71, 0x1a,
0x1a, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a,
0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x11, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e,
0x76, 0x31, 0x2e, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x1a, 0x14, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x78, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x22,
0x00, 0x12, 0x41, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x3d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x48, 0x61, 0x73, 0x68, 0x72,
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, 0x14, 0x2e, 0x65, 0x74,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c,
0x74, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 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, 0x14, 0x2e, 0x65, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x22, 0x00, 0x12, 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 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, 0x16, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75,
0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x48,
0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65,
0x72, 0x1a, 0x14, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x08, 0x47, 0x65, 0x74,
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x4e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x1a, 0x12, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x2e, 0x4f, 0x62, 0x6a, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x17, 0x47, 0x65,
0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d,
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a,
0x12, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x52,
0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x17, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x77, 0x54, 0x78, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x31, 0x2e, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xa0,
0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x42, 0x08, 0x45, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69,
0x6e, 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_eth_proto_rawDescOnce sync.Once
file_ethrpc_v1_eth_proto_rawDescData = file_ethrpc_v1_eth_proto_rawDesc
)
func file_ethrpc_v1_eth_proto_rawDescGZIP() []byte {
file_ethrpc_v1_eth_proto_rawDescOnce.Do(func() {
file_ethrpc_v1_eth_proto_rawDescData = protoimpl.X.CompressGZIP(file_ethrpc_v1_eth_proto_rawDescData)
})
return file_ethrpc_v1_eth_proto_rawDescData
}
var file_ethrpc_v1_eth_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
var file_ethrpc_v1_eth_proto_goTypes = []interface{}{
(*GetAccountsReq)(nil), // 0: ethrpc.v1.GetAccountsReq
(*TestnetReq)(nil), // 1: ethrpc.v1.TestnetReq
(*HashStringOrNumber)(nil), // 2: ethrpc.v1.HashStringOrNumber
(*InfoWithIndex)(nil), // 3: ethrpc.v1.InfoWithIndex
(*CountResp)(nil), // 4: ethrpc.v1.CountResp
(*ObjResp)(nil), // 5: ethrpc.v1.ObjResp
(*GetAccountsResp)(nil), // 6: ethrpc.v1.GetAccountsResp
(*GetBalanceReq)(nil), // 7: ethrpc.v1.GetBalanceReq
(*GetBalanceResp)(nil), // 8: ethrpc.v1.GetBalanceResp
(*GetNonceReq)(nil), // 9: ethrpc.v1.GetNonceReq
(*GetNonceResp)(nil), // 10: ethrpc.v1.GetNonceResp
(*CreateRawTransactionReq)(nil), // 11: ethrpc.v1.CreateRawTransactionReq
(*CreateRawTransactionResp)(nil), // 12: ethrpc.v1.CreateRawTransactionResp
(*DeploySignedTransactionReq)(nil), // 13: ethrpc.v1.DeploySignedTransactionReq
(*DeploySignedTransactionResp)(nil), // 14: ethrpc.v1.DeploySignedTransactionResp
(*TxHash)(nil), // 15: ethrpc.v1.TxHash
(*TransactionInfo)(nil), // 16: ethrpc.v1.TransactionInfo
(*TxReceipt)(nil), // 17: ethrpc.v1.TxReceipt
(*RawTxRequest)(nil), // 18: ethrpc.v1.RawTxRequest
(*BlockNumber)(nil), // 19: ethrpc.v1.BlockNumber
(*TxResponse)(nil), // 20: ethrpc.v1.TxResponse
(*NumResult)(nil), // 21: ethrpc.v1.NumResult
(*GetTxReq)(nil), // 22: ethrpc.v1.GetTxReq
(*CallRequest)(nil), // 23: ethrpc.v1.CallRequest
(*CallResponse)(nil), // 24: ethrpc.v1.CallResponse
(*emptypb.Empty)(nil), // 25: google.protobuf.Empty
}
var file_ethrpc_v1_eth_proto_depIdxs = []int32{
2, // 0: ethrpc.v1.InfoWithIndex.req:type_name -> ethrpc.v1.HashStringOrNumber
7, // 1: ethrpc.v1.ProtoEthService.GetBalance:input_type -> ethrpc.v1.GetBalanceReq
9, // 2: ethrpc.v1.ProtoEthService.GetNonce:input_type -> ethrpc.v1.GetNonceReq
22, // 3: ethrpc.v1.ProtoEthService.GetTransaction:input_type -> ethrpc.v1.GetTxReq
15, // 4: ethrpc.v1.ProtoEthService.GetTransactionReceipt:input_type -> ethrpc.v1.TxHash
23, // 5: ethrpc.v1.ProtoEthService.ContractCall:input_type -> ethrpc.v1.CallRequest
25, // 6: ethrpc.v1.ProtoEthService.GetHashrate:input_type -> google.protobuf.Empty
25, // 7: ethrpc.v1.ProtoEthService.GetGasPrice:input_type -> google.protobuf.Empty
25, // 8: ethrpc.v1.ProtoEthService.GetBlockNumber:input_type -> google.protobuf.Empty
2, // 9: ethrpc.v1.ProtoEthService.GetBlockTransactionCount:input_type -> ethrpc.v1.HashStringOrNumber
2, // 10: ethrpc.v1.ProtoEthService.GetBlock:input_type -> ethrpc.v1.HashStringOrNumber
3, // 11: ethrpc.v1.ProtoEthService.GetTransactionFromBlock:input_type -> ethrpc.v1.InfoWithIndex
18, // 12: ethrpc.v1.ProtoEthService.SendRawTransactions:input_type -> ethrpc.v1.RawTxRequest
8, // 13: ethrpc.v1.ProtoEthService.GetBalance:output_type -> ethrpc.v1.GetBalanceResp
10, // 14: ethrpc.v1.ProtoEthService.GetNonce:output_type -> ethrpc.v1.GetNonceResp
16, // 15: ethrpc.v1.ProtoEthService.GetTransaction:output_type -> ethrpc.v1.TransactionInfo
17, // 16: ethrpc.v1.ProtoEthService.GetTransactionReceipt:output_type -> ethrpc.v1.TxReceipt
24, // 17: ethrpc.v1.ProtoEthService.ContractCall:output_type -> ethrpc.v1.CallResponse
21, // 18: ethrpc.v1.ProtoEthService.GetHashrate:output_type -> ethrpc.v1.NumResult
21, // 19: ethrpc.v1.ProtoEthService.GetGasPrice:output_type -> ethrpc.v1.NumResult
19, // 20: ethrpc.v1.ProtoEthService.GetBlockNumber:output_type -> ethrpc.v1.BlockNumber
4, // 21: ethrpc.v1.ProtoEthService.GetBlockTransactionCount:output_type -> ethrpc.v1.CountResp
5, // 22: ethrpc.v1.ProtoEthService.GetBlock:output_type -> ethrpc.v1.ObjResp
5, // 23: ethrpc.v1.ProtoEthService.GetTransactionFromBlock:output_type -> ethrpc.v1.ObjResp
20, // 24: ethrpc.v1.ProtoEthService.SendRawTransactions:output_type -> ethrpc.v1.TxResponse
13, // [13:25] is the sub-list for method output_type
1, // [1:13] 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 init() { file_ethrpc_v1_eth_proto_init() }
func file_ethrpc_v1_eth_proto_init() {
if File_ethrpc_v1_eth_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_ethrpc_v1_eth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAccountsReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TestnetReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HashStringOrNumber); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InfoWithIndex); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ObjResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAccountsResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBalanceReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBalanceResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNonceReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetNonceResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateRawTransactionReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateRawTransactionResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeploySignedTransactionReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeploySignedTransactionResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TxHash); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransactionInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TxReceipt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RawTxRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockNumber); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TxResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NumResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetTxReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CallRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_ethrpc_v1_eth_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CallResponse); 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_eth_proto_rawDesc,
NumEnums: 0,
NumMessages: 25,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_ethrpc_v1_eth_proto_goTypes,
DependencyIndexes: file_ethrpc_v1_eth_proto_depIdxs,
MessageInfos: file_ethrpc_v1_eth_proto_msgTypes,
}.Build()
File_ethrpc_v1_eth_proto = out.File
file_ethrpc_v1_eth_proto_rawDesc = nil
file_ethrpc_v1_eth_proto_goTypes = nil
file_ethrpc_v1_eth_proto_depIdxs = nil
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: ethrpc/v1/eth.proto
package ethrpcv1
import (
context "context"
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
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// ProtoEthServiceClient is the client API for ProtoEthService service.
//
// 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 ProtoEthServiceClient interface {
GetBalance(ctx context.Context, in *GetBalanceReq, opts ...grpc.CallOption) (*GetBalanceResp, error)
GetNonce(ctx context.Context, in *GetNonceReq, opts ...grpc.CallOption) (*GetNonceResp, error)
GetTransaction(ctx context.Context, in *GetTxReq, opts ...grpc.CallOption) (*TransactionInfo, error)
GetTransactionReceipt(ctx context.Context, in *TxHash, opts ...grpc.CallOption) (*TxReceipt, error)
ContractCall(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error)
GetHashrate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NumResult, error)
GetGasPrice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NumResult, error)
GetBlockNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BlockNumber, error)
GetBlockTransactionCount(ctx context.Context, in *HashStringOrNumber, opts ...grpc.CallOption) (*CountResp, error)
GetBlock(ctx context.Context, in *HashStringOrNumber, opts ...grpc.CallOption) (*ObjResp, error)
GetTransactionFromBlock(ctx context.Context, in *InfoWithIndex, opts ...grpc.CallOption) (*ObjResp, error)
// eth_sendRawTransaction should have simple requests but stream of responses
SendRawTransactions(ctx context.Context, in *RawTxRequest, opts ...grpc.CallOption) (*TxResponse, error)
}
type protoEthServiceClient struct {
cc grpc.ClientConnInterface
}
func NewProtoEthServiceClient(cc grpc.ClientConnInterface) ProtoEthServiceClient {
return &protoEthServiceClient{cc}
}
func (c *protoEthServiceClient) GetBalance(ctx context.Context, in *GetBalanceReq, opts ...grpc.CallOption) (*GetBalanceResp, error) {
out := new(GetBalanceResp)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetBalance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetNonce(ctx context.Context, in *GetNonceReq, opts ...grpc.CallOption) (*GetNonceResp, error) {
out := new(GetNonceResp)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetNonce", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetTransaction(ctx context.Context, in *GetTxReq, opts ...grpc.CallOption) (*TransactionInfo, error) {
out := new(TransactionInfo)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetTransactionReceipt(ctx context.Context, in *TxHash, opts ...grpc.CallOption) (*TxReceipt, error) {
out := new(TxReceipt)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetTransactionReceipt", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) ContractCall(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) {
out := new(CallResponse)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/ContractCall", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetHashrate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NumResult, error) {
out := new(NumResult)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetHashrate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetGasPrice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NumResult, error) {
out := new(NumResult)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetGasPrice", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetBlockNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BlockNumber, error) {
out := new(BlockNumber)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetBlockNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetBlockTransactionCount(ctx context.Context, in *HashStringOrNumber, opts ...grpc.CallOption) (*CountResp, error) {
out := new(CountResp)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetBlockTransactionCount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetBlock(ctx context.Context, in *HashStringOrNumber, opts ...grpc.CallOption) (*ObjResp, error) {
out := new(ObjResp)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetBlock", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) GetTransactionFromBlock(ctx context.Context, in *InfoWithIndex, opts ...grpc.CallOption) (*ObjResp, error) {
out := new(ObjResp)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/GetTransactionFromBlock", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *protoEthServiceClient) SendRawTransactions(ctx context.Context, in *RawTxRequest, opts ...grpc.CallOption) (*TxResponse, error) {
out := new(TxResponse)
err := c.cc.Invoke(ctx, "/ethrpc.v1.ProtoEthService/SendRawTransactions", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ProtoEthServiceServer is the server API for ProtoEthService service.
// All implementations must embed UnimplementedProtoEthServiceServer
// for forward compatibility
type ProtoEthServiceServer interface {
GetBalance(context.Context, *GetBalanceReq) (*GetBalanceResp, error)
GetNonce(context.Context, *GetNonceReq) (*GetNonceResp, error)
GetTransaction(context.Context, *GetTxReq) (*TransactionInfo, error)
GetTransactionReceipt(context.Context, *TxHash) (*TxReceipt, error)
ContractCall(context.Context, *CallRequest) (*CallResponse, error)
GetHashrate(context.Context, *emptypb.Empty) (*NumResult, error)
GetGasPrice(context.Context, *emptypb.Empty) (*NumResult, error)
GetBlockNumber(context.Context, *emptypb.Empty) (*BlockNumber, error)
GetBlockTransactionCount(context.Context, *HashStringOrNumber) (*CountResp, error)
GetBlock(context.Context, *HashStringOrNumber) (*ObjResp, error)
GetTransactionFromBlock(context.Context, *InfoWithIndex) (*ObjResp, error)
// eth_sendRawTransaction should have simple requests but stream of responses
SendRawTransactions(context.Context, *RawTxRequest) (*TxResponse, error)
mustEmbedUnimplementedProtoEthServiceServer()
}
// UnimplementedProtoEthServiceServer must be embedded to have forward compatible implementations.
type UnimplementedProtoEthServiceServer struct {
}
func (UnimplementedProtoEthServiceServer) GetBalance(context.Context, *GetBalanceReq) (*GetBalanceResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBalance not implemented")
}
func (UnimplementedProtoEthServiceServer) GetNonce(context.Context, *GetNonceReq) (*GetNonceResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetNonce not implemented")
}
func (UnimplementedProtoEthServiceServer) GetTransaction(context.Context, *GetTxReq) (*TransactionInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTransaction not implemented")
}
func (UnimplementedProtoEthServiceServer) GetTransactionReceipt(context.Context, *TxHash) (*TxReceipt, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTransactionReceipt not implemented")
}
func (UnimplementedProtoEthServiceServer) ContractCall(context.Context, *CallRequest) (*CallResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ContractCall not implemented")
}
func (UnimplementedProtoEthServiceServer) GetHashrate(context.Context, *emptypb.Empty) (*NumResult, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetHashrate not implemented")
}
func (UnimplementedProtoEthServiceServer) GetGasPrice(context.Context, *emptypb.Empty) (*NumResult, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetGasPrice not implemented")
}
func (UnimplementedProtoEthServiceServer) GetBlockNumber(context.Context, *emptypb.Empty) (*BlockNumber, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBlockNumber not implemented")
}
func (UnimplementedProtoEthServiceServer) GetBlockTransactionCount(context.Context, *HashStringOrNumber) (*CountResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBlockTransactionCount not implemented")
}
func (UnimplementedProtoEthServiceServer) GetBlock(context.Context, *HashStringOrNumber) (*ObjResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented")
}
func (UnimplementedProtoEthServiceServer) GetTransactionFromBlock(context.Context, *InfoWithIndex) (*ObjResp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTransactionFromBlock not implemented")
}
func (UnimplementedProtoEthServiceServer) SendRawTransactions(context.Context, *RawTxRequest) (*TxResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRawTransactions not implemented")
}
func (UnimplementedProtoEthServiceServer) mustEmbedUnimplementedProtoEthServiceServer() {}
// UnsafeProtoEthServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ProtoEthServiceServer will
// result in compilation errors.
type UnsafeProtoEthServiceServer interface {
mustEmbedUnimplementedProtoEthServiceServer()
}
func RegisterProtoEthServiceServer(s grpc.ServiceRegistrar, srv ProtoEthServiceServer) {
s.RegisterService(&ProtoEthService_ServiceDesc, srv)
}
func _ProtoEthService_GetBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetBalanceReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetBalance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetBalance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetBalance(ctx, req.(*GetBalanceReq))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetNonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetNonceReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetNonce(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetNonce",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetNonce(ctx, req.(*GetNonceReq))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetTxReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetTransaction(ctx, req.(*GetTxReq))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetTransactionReceipt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TxHash)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetTransactionReceipt(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetTransactionReceipt",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetTransactionReceipt(ctx, req.(*TxHash))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_ContractCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CallRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).ContractCall(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/ContractCall",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).ContractCall(ctx, req.(*CallRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetHashrate_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.(ProtoEthServiceServer).GetHashrate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetHashrate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetHashrate(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetGasPrice_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.(ProtoEthServiceServer).GetGasPrice(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetGasPrice",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetGasPrice(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetBlockNumber_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.(ProtoEthServiceServer).GetBlockNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetBlockNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetBlockNumber(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetBlockTransactionCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(HashStringOrNumber)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetBlockTransactionCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetBlockTransactionCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetBlockTransactionCount(ctx, req.(*HashStringOrNumber))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(HashStringOrNumber)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetBlock(ctx, req.(*HashStringOrNumber))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_GetTransactionFromBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(InfoWithIndex)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).GetTransactionFromBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/GetTransactionFromBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).GetTransactionFromBlock(ctx, req.(*InfoWithIndex))
}
return interceptor(ctx, in, info, handler)
}
func _ProtoEthService_SendRawTransactions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RawTxRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ProtoEthServiceServer).SendRawTransactions(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ethrpc.v1.ProtoEthService/SendRawTransactions",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ProtoEthServiceServer).SendRawTransactions(ctx, req.(*RawTxRequest))
}
return interceptor(ctx, in, info, handler)
}
// ProtoEthService_ServiceDesc is the grpc.ServiceDesc for ProtoEthService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ProtoEthService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "ethrpc.v1.ProtoEthService",
HandlerType: (*ProtoEthServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetBalance",
Handler: _ProtoEthService_GetBalance_Handler,
},
{
MethodName: "GetNonce",
Handler: _ProtoEthService_GetNonce_Handler,
},
{
MethodName: "GetTransaction",
Handler: _ProtoEthService_GetTransaction_Handler,
},
{
MethodName: "GetTransactionReceipt",
Handler: _ProtoEthService_GetTransactionReceipt_Handler,
},
{
MethodName: "ContractCall",
Handler: _ProtoEthService_ContractCall_Handler,
},
{
MethodName: "GetHashrate",
Handler: _ProtoEthService_GetHashrate_Handler,
},
{
MethodName: "GetGasPrice",
Handler: _ProtoEthService_GetGasPrice_Handler,
},
{
MethodName: "GetBlockNumber",
Handler: _ProtoEthService_GetBlockNumber_Handler,
},
{
MethodName: "GetBlockTransactionCount",
Handler: _ProtoEthService_GetBlockTransactionCount_Handler,
},
{
MethodName: "GetBlock",
Handler: _ProtoEthService_GetBlock_Handler,
},
{
MethodName: "GetTransactionFromBlock",
Handler: _ProtoEthService_GetTransactionFromBlock_Handler,
},
{
MethodName: "SendRawTransactions",
Handler: _ProtoEthService_SendRawTransactions_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "ethrpc/v1/eth.proto",
}
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)
// source: nebula/v1/request_response.proto
package nebulav1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
)
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
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, 0xac, 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, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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_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() { 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: nebula/v1/resource.proto
package nebulav1
import (
v1 "github.com/cmpchain/metaprotocol/gen/proto/go/base/v1"
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 Tx struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
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 (x *Tx) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use Tx.ProtoReflect.Descriptor instead.
func (*Tx) Descriptor() ([]byte, []int) {
return file_nebula_v1_resource_proto_rawDescGZIP(), []int{0}
}
func (x *Tx) GetAddress() *v1.Address {
if x != nil {
return x.Address
}
return nil
}
func (x *Tx) GetHash() *v1.Hash {
if x != nil {
return x.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, 0xa5, 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, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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() { 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// 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"
)
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
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, 0xa4, 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, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75,
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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_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() { 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
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: nebula/v1/service.proto
package nebulav1
import (
context "context"
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
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// NebulaServiceClient is the client API for NebulaService service.
//
// 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 NebulaServiceClient interface {
// web3
Sha3(ctx context.Context, in *Sha3Request, opts ...grpc.CallOption) (*Sha3Response, error)
NodeVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeVersionResponse, error)
// network info service
NetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetVersionResponse, error)
NetPeerCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetPeerCountResponse, error)
// node status
ProtocolVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProtocolVersionResponse, error)
Syncing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SyncingResponse, error)
Coinbase(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CoinbaseResponse, error)
Mining(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MiningResponse, error)
HashRate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HashRateResponse, error)
Accounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccountsResponse, error)
// tx operatoration
GasPrice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GasPriceResponse, error)
// block info service
BlockNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HeightResponse, error)
BlockByHash(ctx context.Context, in *BlockByHashRequest, opts ...grpc.CallOption) (*BlockByHashResponse, error)
BlockByNumber(ctx context.Context, in *BlockByNumberRequest, opts ...grpc.CallOption) (*BlockByNumberResponse, error)
BlockTransactionCountByHash(ctx context.Context, in *BlockTransactionCountByHashRequest, opts ...grpc.CallOption) (*BlockTransactionCountByHashResponse, error)
BlockTransactionCountByNumber(ctx context.Context, in *BlockTransactionCountByNumberRequest, opts ...grpc.CallOption) (*BlockTransactionCountByNumberResponse, error)
UncleCountByHash(ctx context.Context, in *UncleCountByHashRequest, opts ...grpc.CallOption) (*UncleCountByHashResponse, error)
UncleCountByNumber(ctx context.Context, in *UncleCountByNumberRequest, opts ...grpc.CallOption) (*UncleCountByNumberResponse, error)
UncleByBlockHashAndIndex(ctx context.Context, in *UncleByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockHashAndIndexResponse, error)
UncleByBlockNumberAndIndex(ctx context.Context, in *UncleByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockNumberAndIndexResponse, error)
// compiler
Compilers(ctx context.Context, in *CompilersRequest, opts ...grpc.CallOption) (*CompilersResponse, error)
CompileSolidity(ctx context.Context, in *CompileSolidityRequest, opts ...grpc.CallOption) (*CompileSolidityResponse, error)
CompileLLL(ctx context.Context, in *CompileLLLRequest, opts ...grpc.CallOption) (*CompileLLLResponse, error)
CompileSerpent(ctx context.Context, in *CompileSerpentRequest, opts ...grpc.CallOption) (*CompileSerpentResponse, error)
// transaction info service
EstimateGas(ctx context.Context, in *EstimateGasRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error)
TransactionByHash(ctx context.Context, in *TransactionByHashRequest, opts ...grpc.CallOption) (*TransactionByHashResponse, error)
TransactionByBlockHashAndIndex(ctx context.Context, in *TransactionByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockHashAndIndexResponse, error)
TransactionByBlockNumberAndIndex(ctx context.Context, in *TransactionByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockNumberAndIndexResponse, error)
TransactionReceipt(ctx context.Context, in *TransactionReceiptRequest, opts ...grpc.CallOption) (*TransactionReceiptResponse, error)
// account info service
Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error)
Storage(ctx context.Context, in *StorageRequest, opts ...grpc.CallOption) (*StorageResponse, error)
Nonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error)
RepeatedNonce(ctx context.Context, in *RepeatedNonceRequest, opts ...grpc.CallOption) (*RepeatedNonceResponse, error)
TransactionCount(ctx context.Context, in *TransactionCountRequest, opts ...grpc.CallOption) (*TransactionCountResponse, error)
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 *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error)
SendRawTransaction(ctx context.Context, in *SendRawTransactionRequest, 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)
NewBlockFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewBlockFilterResponse, error)
PendingTransactionFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PendingTransactionFilterResponse, error)
UninstallFilter(ctx context.Context, in *UninstallFilterRequest, opts ...grpc.CallOption) (*UninstallFilterResponse, error)
FilterChanges(ctx context.Context, in *FilterChangesRequest, opts ...grpc.CallOption) (*FilterChangesResponse, error)
FilterLogs(ctx context.Context, in *FilterLogsRequest, opts ...grpc.CallOption) (*FilterLogsResponse, error)
Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (*LogsResponse, error)
}
type nebulaServiceClient struct {
cc grpc.ClientConnInterface
}
func NewNebulaServiceClient(cc grpc.ClientConnInterface) NebulaServiceClient {
return &nebulaServiceClient{cc}
}
func (c *nebulaServiceClient) Sha3(ctx context.Context, in *Sha3Request, opts ...grpc.CallOption) (*Sha3Response, error) {
out := new(Sha3Response)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Sha3", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) NodeVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeVersionResponse, error) {
out := new(NodeVersionResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/NodeVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) NetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetVersionResponse, error) {
out := new(NetVersionResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/NetVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) NetPeerCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetPeerCountResponse, error) {
out := new(NetPeerCountResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/NetPeerCount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) ProtocolVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProtocolVersionResponse, error) {
out := new(ProtocolVersionResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/ProtocolVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Syncing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SyncingResponse, error) {
out := new(SyncingResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Syncing", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Coinbase(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CoinbaseResponse, error) {
out := new(CoinbaseResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Coinbase", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Mining(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MiningResponse, error) {
out := new(MiningResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Mining", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) HashRate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HashRateResponse, error) {
out := new(HashRateResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/HashRate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Accounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccountsResponse, error) {
out := new(AccountsResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Accounts", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) GasPrice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GasPriceResponse, error) {
out := new(GasPriceResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/GasPrice", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) BlockNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HeightResponse, error) {
out := new(HeightResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/BlockNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) BlockByHash(ctx context.Context, in *BlockByHashRequest, opts ...grpc.CallOption) (*BlockByHashResponse, error) {
out := new(BlockByHashResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/BlockByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) BlockByNumber(ctx context.Context, in *BlockByNumberRequest, opts ...grpc.CallOption) (*BlockByNumberResponse, error) {
out := new(BlockByNumberResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/BlockByNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) BlockTransactionCountByHash(ctx context.Context, in *BlockTransactionCountByHashRequest, opts ...grpc.CallOption) (*BlockTransactionCountByHashResponse, error) {
out := new(BlockTransactionCountByHashResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/BlockTransactionCountByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) BlockTransactionCountByNumber(ctx context.Context, in *BlockTransactionCountByNumberRequest, opts ...grpc.CallOption) (*BlockTransactionCountByNumberResponse, error) {
out := new(BlockTransactionCountByNumberResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/BlockTransactionCountByNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) UncleCountByHash(ctx context.Context, in *UncleCountByHashRequest, opts ...grpc.CallOption) (*UncleCountByHashResponse, error) {
out := new(UncleCountByHashResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/UncleCountByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) UncleCountByNumber(ctx context.Context, in *UncleCountByNumberRequest, opts ...grpc.CallOption) (*UncleCountByNumberResponse, error) {
out := new(UncleCountByNumberResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/UncleCountByNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) UncleByBlockHashAndIndex(ctx context.Context, in *UncleByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockHashAndIndexResponse, error) {
out := new(UncleByBlockHashAndIndexResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/UncleByBlockHashAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) UncleByBlockNumberAndIndex(ctx context.Context, in *UncleByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockNumberAndIndexResponse, error) {
out := new(UncleByBlockNumberAndIndexResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/UncleByBlockNumberAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Compilers(ctx context.Context, in *CompilersRequest, opts ...grpc.CallOption) (*CompilersResponse, error) {
out := new(CompilersResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Compilers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) CompileSolidity(ctx context.Context, in *CompileSolidityRequest, opts ...grpc.CallOption) (*CompileSolidityResponse, error) {
out := new(CompileSolidityResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/CompileSolidity", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) CompileLLL(ctx context.Context, in *CompileLLLRequest, opts ...grpc.CallOption) (*CompileLLLResponse, error) {
out := new(CompileLLLResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/CompileLLL", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) CompileSerpent(ctx context.Context, in *CompileSerpentRequest, opts ...grpc.CallOption) (*CompileSerpentResponse, error) {
out := new(CompileSerpentResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/CompileSerpent", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) EstimateGas(ctx context.Context, in *EstimateGasRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error) {
out := new(EstimateGasResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/EstimateGas", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) TransactionByHash(ctx context.Context, in *TransactionByHashRequest, opts ...grpc.CallOption) (*TransactionByHashResponse, error) {
out := new(TransactionByHashResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/TransactionByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) TransactionByBlockHashAndIndex(ctx context.Context, in *TransactionByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockHashAndIndexResponse, error) {
out := new(TransactionByBlockHashAndIndexResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/TransactionByBlockHashAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) TransactionByBlockNumberAndIndex(ctx context.Context, in *TransactionByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockNumberAndIndexResponse, error) {
out := new(TransactionByBlockNumberAndIndexResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/TransactionByBlockNumberAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) TransactionReceipt(ctx context.Context, in *TransactionReceiptRequest, opts ...grpc.CallOption) (*TransactionReceiptResponse, error) {
out := new(TransactionReceiptResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/TransactionReceipt", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error) {
out := new(BalanceResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Balance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Storage(ctx context.Context, in *StorageRequest, opts ...grpc.CallOption) (*StorageResponse, error) {
out := new(StorageResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Storage", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Nonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error) {
out := new(NonceResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Nonce", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) RepeatedNonce(ctx context.Context, in *RepeatedNonceRequest, opts ...grpc.CallOption) (*RepeatedNonceResponse, error) {
out := new(RepeatedNonceResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/RepeatedNonce", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) TransactionCount(ctx context.Context, in *TransactionCountRequest, opts ...grpc.CallOption) (*TransactionCountResponse, error) {
out := new(TransactionCountResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/TransactionCount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) GetCode(ctx context.Context, in *GetCodeRequest, opts ...grpc.CallOption) (*GetCodeResponse, error) {
out := new(GetCodeResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/GetCode", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) {
out := new(SignResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Sign", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error) {
out := new(SignTransactionResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/SignTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error) {
out := new(SendTransactionResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/SendTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) SendRawTransaction(ctx context.Context, in *SendRawTransactionRequest, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/SendRawTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) {
out := new(CallResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Call", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) NewFilter(ctx context.Context, in *NewFilterRequest, opts ...grpc.CallOption) (*NewFilterResponse, error) {
out := new(NewFilterResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/NewFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) NewBlockFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewBlockFilterResponse, error) {
out := new(NewBlockFilterResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/NewBlockFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) PendingTransactionFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PendingTransactionFilterResponse, error) {
out := new(PendingTransactionFilterResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/PendingTransactionFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) UninstallFilter(ctx context.Context, in *UninstallFilterRequest, opts ...grpc.CallOption) (*UninstallFilterResponse, error) {
out := new(UninstallFilterResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/UninstallFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) FilterChanges(ctx context.Context, in *FilterChangesRequest, opts ...grpc.CallOption) (*FilterChangesResponse, error) {
out := new(FilterChangesResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/FilterChanges", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) FilterLogs(ctx context.Context, in *FilterLogsRequest, opts ...grpc.CallOption) (*FilterLogsResponse, error) {
out := new(FilterLogsResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/FilterLogs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *nebulaServiceClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (*LogsResponse, error) {
out := new(LogsResponse)
err := c.cc.Invoke(ctx, "/nebula.v1.NebulaService/Logs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// NebulaServiceServer is the server API for NebulaService service.
// All implementations must embed UnimplementedNebulaServiceServer
// for forward compatibility
type NebulaServiceServer interface {
// web3
Sha3(context.Context, *Sha3Request) (*Sha3Response, error)
NodeVersion(context.Context, *emptypb.Empty) (*NodeVersionResponse, error)
// network info service
NetVersion(context.Context, *emptypb.Empty) (*NetVersionResponse, error)
NetPeerCount(context.Context, *emptypb.Empty) (*NetPeerCountResponse, error)
// node status
ProtocolVersion(context.Context, *emptypb.Empty) (*ProtocolVersionResponse, error)
Syncing(context.Context, *emptypb.Empty) (*SyncingResponse, error)
Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error)
Mining(context.Context, *emptypb.Empty) (*MiningResponse, error)
HashRate(context.Context, *emptypb.Empty) (*HashRateResponse, error)
Accounts(context.Context, *emptypb.Empty) (*AccountsResponse, error)
// tx operatoration
GasPrice(context.Context, *emptypb.Empty) (*GasPriceResponse, error)
// block info service
BlockNumber(context.Context, *emptypb.Empty) (*HeightResponse, error)
BlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error)
BlockByNumber(context.Context, *BlockByNumberRequest) (*BlockByNumberResponse, error)
BlockTransactionCountByHash(context.Context, *BlockTransactionCountByHashRequest) (*BlockTransactionCountByHashResponse, error)
BlockTransactionCountByNumber(context.Context, *BlockTransactionCountByNumberRequest) (*BlockTransactionCountByNumberResponse, error)
UncleCountByHash(context.Context, *UncleCountByHashRequest) (*UncleCountByHashResponse, error)
UncleCountByNumber(context.Context, *UncleCountByNumberRequest) (*UncleCountByNumberResponse, error)
UncleByBlockHashAndIndex(context.Context, *UncleByBlockHashAndIndexRequest) (*UncleByBlockHashAndIndexResponse, error)
UncleByBlockNumberAndIndex(context.Context, *UncleByBlockNumberAndIndexRequest) (*UncleByBlockNumberAndIndexResponse, error)
// compiler
Compilers(context.Context, *CompilersRequest) (*CompilersResponse, error)
CompileSolidity(context.Context, *CompileSolidityRequest) (*CompileSolidityResponse, error)
CompileLLL(context.Context, *CompileLLLRequest) (*CompileLLLResponse, error)
CompileSerpent(context.Context, *CompileSerpentRequest) (*CompileSerpentResponse, error)
// transaction info service
EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasResponse, error)
TransactionByHash(context.Context, *TransactionByHashRequest) (*TransactionByHashResponse, error)
TransactionByBlockHashAndIndex(context.Context, *TransactionByBlockHashAndIndexRequest) (*TransactionByBlockHashAndIndexResponse, error)
TransactionByBlockNumberAndIndex(context.Context, *TransactionByBlockNumberAndIndexRequest) (*TransactionByBlockNumberAndIndexResponse, error)
TransactionReceipt(context.Context, *TransactionReceiptRequest) (*TransactionReceiptResponse, error)
// account info service
Balance(context.Context, *BalanceRequest) (*BalanceResponse, error)
Storage(context.Context, *StorageRequest) (*StorageResponse, error)
Nonce(context.Context, *NonceRequest) (*NonceResponse, error)
RepeatedNonce(context.Context, *RepeatedNonceRequest) (*RepeatedNonceResponse, error)
TransactionCount(context.Context, *TransactionCountRequest) (*TransactionCountResponse, error)
GetCode(context.Context, *GetCodeRequest) (*GetCodeResponse, error)
Sign(context.Context, *SignRequest) (*SignResponse, error)
SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
SendRawTransaction(context.Context, *SendRawTransactionRequest) (*SendRawTransactionResponse, error)
Call(context.Context, *CallRequest) (*CallResponse, error)
// filter
NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error)
NewBlockFilter(context.Context, *emptypb.Empty) (*NewBlockFilterResponse, error)
PendingTransactionFilter(context.Context, *emptypb.Empty) (*PendingTransactionFilterResponse, error)
UninstallFilter(context.Context, *UninstallFilterRequest) (*UninstallFilterResponse, error)
FilterChanges(context.Context, *FilterChangesRequest) (*FilterChangesResponse, error)
FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsResponse, error)
Logs(context.Context, *LogsRequest) (*LogsResponse, error)
mustEmbedUnimplementedNebulaServiceServer()
}
// UnimplementedNebulaServiceServer must be embedded to have forward compatible implementations.
type UnimplementedNebulaServiceServer struct {
}
func (UnimplementedNebulaServiceServer) Sha3(context.Context, *Sha3Request) (*Sha3Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Sha3 not implemented")
}
func (UnimplementedNebulaServiceServer) NodeVersion(context.Context, *emptypb.Empty) (*NodeVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NodeVersion not implemented")
}
func (UnimplementedNebulaServiceServer) NetVersion(context.Context, *emptypb.Empty) (*NetVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NetVersion not implemented")
}
func (UnimplementedNebulaServiceServer) NetPeerCount(context.Context, *emptypb.Empty) (*NetPeerCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NetPeerCount not implemented")
}
func (UnimplementedNebulaServiceServer) ProtocolVersion(context.Context, *emptypb.Empty) (*ProtocolVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ProtocolVersion not implemented")
}
func (UnimplementedNebulaServiceServer) Syncing(context.Context, *emptypb.Empty) (*SyncingResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Syncing not implemented")
}
func (UnimplementedNebulaServiceServer) Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Coinbase not implemented")
}
func (UnimplementedNebulaServiceServer) Mining(context.Context, *emptypb.Empty) (*MiningResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Mining not implemented")
}
func (UnimplementedNebulaServiceServer) HashRate(context.Context, *emptypb.Empty) (*HashRateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method HashRate not implemented")
}
func (UnimplementedNebulaServiceServer) Accounts(context.Context, *emptypb.Empty) (*AccountsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Accounts not implemented")
}
func (UnimplementedNebulaServiceServer) GasPrice(context.Context, *emptypb.Empty) (*GasPriceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GasPrice not implemented")
}
func (UnimplementedNebulaServiceServer) BlockNumber(context.Context, *emptypb.Empty) (*HeightResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockNumber not implemented")
}
func (UnimplementedNebulaServiceServer) BlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockByHash not implemented")
}
func (UnimplementedNebulaServiceServer) BlockByNumber(context.Context, *BlockByNumberRequest) (*BlockByNumberResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockByNumber not implemented")
}
func (UnimplementedNebulaServiceServer) BlockTransactionCountByHash(context.Context, *BlockTransactionCountByHashRequest) (*BlockTransactionCountByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockTransactionCountByHash not implemented")
}
func (UnimplementedNebulaServiceServer) BlockTransactionCountByNumber(context.Context, *BlockTransactionCountByNumberRequest) (*BlockTransactionCountByNumberResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockTransactionCountByNumber not implemented")
}
func (UnimplementedNebulaServiceServer) UncleCountByHash(context.Context, *UncleCountByHashRequest) (*UncleCountByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleCountByHash not implemented")
}
func (UnimplementedNebulaServiceServer) UncleCountByNumber(context.Context, *UncleCountByNumberRequest) (*UncleCountByNumberResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleCountByNumber not implemented")
}
func (UnimplementedNebulaServiceServer) UncleByBlockHashAndIndex(context.Context, *UncleByBlockHashAndIndexRequest) (*UncleByBlockHashAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleByBlockHashAndIndex not implemented")
}
func (UnimplementedNebulaServiceServer) UncleByBlockNumberAndIndex(context.Context, *UncleByBlockNumberAndIndexRequest) (*UncleByBlockNumberAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleByBlockNumberAndIndex not implemented")
}
func (UnimplementedNebulaServiceServer) Compilers(context.Context, *CompilersRequest) (*CompilersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Compilers not implemented")
}
func (UnimplementedNebulaServiceServer) CompileSolidity(context.Context, *CompileSolidityRequest) (*CompileSolidityResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompileSolidity not implemented")
}
func (UnimplementedNebulaServiceServer) CompileLLL(context.Context, *CompileLLLRequest) (*CompileLLLResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompileLLL not implemented")
}
func (UnimplementedNebulaServiceServer) CompileSerpent(context.Context, *CompileSerpentRequest) (*CompileSerpentResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompileSerpent not implemented")
}
func (UnimplementedNebulaServiceServer) EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method EstimateGas not implemented")
}
func (UnimplementedNebulaServiceServer) TransactionByHash(context.Context, *TransactionByHashRequest) (*TransactionByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionByHash not implemented")
}
func (UnimplementedNebulaServiceServer) TransactionByBlockHashAndIndex(context.Context, *TransactionByBlockHashAndIndexRequest) (*TransactionByBlockHashAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionByBlockHashAndIndex not implemented")
}
func (UnimplementedNebulaServiceServer) TransactionByBlockNumberAndIndex(context.Context, *TransactionByBlockNumberAndIndexRequest) (*TransactionByBlockNumberAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionByBlockNumberAndIndex not implemented")
}
func (UnimplementedNebulaServiceServer) TransactionReceipt(context.Context, *TransactionReceiptRequest) (*TransactionReceiptResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionReceipt not implemented")
}
func (UnimplementedNebulaServiceServer) Balance(context.Context, *BalanceRequest) (*BalanceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Balance not implemented")
}
func (UnimplementedNebulaServiceServer) Storage(context.Context, *StorageRequest) (*StorageResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Storage not implemented")
}
func (UnimplementedNebulaServiceServer) Nonce(context.Context, *NonceRequest) (*NonceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Nonce not implemented")
}
func (UnimplementedNebulaServiceServer) RepeatedNonce(context.Context, *RepeatedNonceRequest) (*RepeatedNonceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RepeatedNonce not implemented")
}
func (UnimplementedNebulaServiceServer) TransactionCount(context.Context, *TransactionCountRequest) (*TransactionCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionCount not implemented")
}
func (UnimplementedNebulaServiceServer) GetCode(context.Context, *GetCodeRequest) (*GetCodeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCode not implemented")
}
func (UnimplementedNebulaServiceServer) Sign(context.Context, *SignRequest) (*SignResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Sign not implemented")
}
func (UnimplementedNebulaServiceServer) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SignTransaction not implemented")
}
func (UnimplementedNebulaServiceServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented")
}
func (UnimplementedNebulaServiceServer) SendRawTransaction(context.Context, *SendRawTransactionRequest) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRawTransaction not implemented")
}
func (UnimplementedNebulaServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Call not implemented")
}
func (UnimplementedNebulaServiceServer) NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NewFilter not implemented")
}
func (UnimplementedNebulaServiceServer) NewBlockFilter(context.Context, *emptypb.Empty) (*NewBlockFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NewBlockFilter not implemented")
}
func (UnimplementedNebulaServiceServer) PendingTransactionFilter(context.Context, *emptypb.Empty) (*PendingTransactionFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method PendingTransactionFilter not implemented")
}
func (UnimplementedNebulaServiceServer) UninstallFilter(context.Context, *UninstallFilterRequest) (*UninstallFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UninstallFilter not implemented")
}
func (UnimplementedNebulaServiceServer) FilterChanges(context.Context, *FilterChangesRequest) (*FilterChangesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterChanges not implemented")
}
func (UnimplementedNebulaServiceServer) FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterLogs not implemented")
}
func (UnimplementedNebulaServiceServer) Logs(context.Context, *LogsRequest) (*LogsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Logs not implemented")
}
func (UnimplementedNebulaServiceServer) mustEmbedUnimplementedNebulaServiceServer() {}
// UnsafeNebulaServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to NebulaServiceServer will
// result in compilation errors.
type UnsafeNebulaServiceServer interface {
mustEmbedUnimplementedNebulaServiceServer()
}
func RegisterNebulaServiceServer(s grpc.ServiceRegistrar, srv NebulaServiceServer) {
s.RegisterService(&NebulaService_ServiceDesc, srv)
}
func _NebulaService_Sha3_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Sha3Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Sha3(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Sha3",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Sha3(ctx, req.(*Sha3Request))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_NodeVersion_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.(NebulaServiceServer).NodeVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/NodeVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).NodeVersion(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_NetVersion_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.(NebulaServiceServer).NetVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/NetVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).NetVersion(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_NetPeerCount_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.(NebulaServiceServer).NetPeerCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/NetPeerCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).NetPeerCount(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_ProtocolVersion_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.(NebulaServiceServer).ProtocolVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/ProtocolVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).ProtocolVersion(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Syncing_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.(NebulaServiceServer).Syncing(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Syncing",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Syncing(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Coinbase_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.(NebulaServiceServer).Coinbase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Coinbase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Coinbase(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Mining_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.(NebulaServiceServer).Mining(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Mining",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Mining(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_HashRate_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.(NebulaServiceServer).HashRate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/HashRate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).HashRate(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Accounts_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.(NebulaServiceServer).Accounts(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Accounts",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Accounts(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_GasPrice_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.(NebulaServiceServer).GasPrice(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/GasPrice",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).GasPrice(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_BlockNumber_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.(NebulaServiceServer).BlockNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/BlockNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).BlockNumber(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_BlockByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).BlockByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/BlockByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).BlockByHash(ctx, req.(*BlockByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_BlockByNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockByNumberRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).BlockByNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/BlockByNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).BlockByNumber(ctx, req.(*BlockByNumberRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_BlockTransactionCountByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockTransactionCountByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).BlockTransactionCountByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/BlockTransactionCountByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).BlockTransactionCountByHash(ctx, req.(*BlockTransactionCountByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_BlockTransactionCountByNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockTransactionCountByNumberRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).BlockTransactionCountByNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/BlockTransactionCountByNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).BlockTransactionCountByNumber(ctx, req.(*BlockTransactionCountByNumberRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_UncleCountByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleCountByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).UncleCountByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/UncleCountByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).UncleCountByHash(ctx, req.(*UncleCountByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_UncleCountByNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleCountByNumberRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).UncleCountByNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/UncleCountByNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).UncleCountByNumber(ctx, req.(*UncleCountByNumberRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_UncleByBlockHashAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleByBlockHashAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).UncleByBlockHashAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/UncleByBlockHashAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).UncleByBlockHashAndIndex(ctx, req.(*UncleByBlockHashAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_UncleByBlockNumberAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleByBlockNumberAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).UncleByBlockNumberAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/UncleByBlockNumberAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).UncleByBlockNumberAndIndex(ctx, req.(*UncleByBlockNumberAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Compilers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompilersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Compilers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Compilers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Compilers(ctx, req.(*CompilersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_CompileSolidity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompileSolidityRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).CompileSolidity(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/CompileSolidity",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).CompileSolidity(ctx, req.(*CompileSolidityRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_CompileLLL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompileLLLRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).CompileLLL(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/CompileLLL",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).CompileLLL(ctx, req.(*CompileLLLRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_CompileSerpent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompileSerpentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).CompileSerpent(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/CompileSerpent",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).CompileSerpent(ctx, req.(*CompileSerpentRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_EstimateGas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(EstimateGasRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).EstimateGas(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/EstimateGas",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).EstimateGas(ctx, req.(*EstimateGasRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_TransactionByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).TransactionByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/TransactionByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).TransactionByHash(ctx, req.(*TransactionByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_TransactionByBlockHashAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionByBlockHashAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).TransactionByBlockHashAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/TransactionByBlockHashAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).TransactionByBlockHashAndIndex(ctx, req.(*TransactionByBlockHashAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_TransactionByBlockNumberAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionByBlockNumberAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).TransactionByBlockNumberAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/TransactionByBlockNumberAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).TransactionByBlockNumberAndIndex(ctx, req.(*TransactionByBlockNumberAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_TransactionReceipt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionReceiptRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).TransactionReceipt(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/TransactionReceipt",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).TransactionReceipt(ctx, req.(*TransactionReceiptRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Balance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BalanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Balance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Balance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Balance(ctx, req.(*BalanceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Storage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(StorageRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Storage(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Storage",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Storage(ctx, req.(*StorageRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_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 {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Nonce(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Nonce",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Nonce(ctx, req.(*NonceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_RepeatedNonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepeatedNonceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).RepeatedNonce(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/RepeatedNonce",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).RepeatedNonce(ctx, req.(*RepeatedNonceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_TransactionCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionCountRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).TransactionCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/TransactionCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).TransactionCount(ctx, req.(*TransactionCountRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_GetCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetCodeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).GetCode(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/GetCode",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).GetCode(ctx, req.(*GetCodeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Sign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SignRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Sign(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Sign",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Sign(ctx, req.(*SignRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_SignTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SignTransactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).SignTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/SignTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).SignTransaction(ctx, req.(*SignTransactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_SendTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendTransactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).SendTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/SendTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).SendTransaction(ctx, req.(*SendTransactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_SendRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendRawTransactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).SendRawTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/SendRawTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).SendRawTransaction(ctx, req.(*SendRawTransactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Call_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CallRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Call(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Call",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Call(ctx, req.(*CallRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_NewFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(NewFilterRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).NewFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/NewFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).NewFilter(ctx, req.(*NewFilterRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_NewBlockFilter_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.(NebulaServiceServer).NewBlockFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/NewBlockFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).NewBlockFilter(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_PendingTransactionFilter_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.(NebulaServiceServer).PendingTransactionFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/PendingTransactionFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).PendingTransactionFilter(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_UninstallFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UninstallFilterRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).UninstallFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/UninstallFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).UninstallFilter(ctx, req.(*UninstallFilterRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_FilterChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FilterChangesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).FilterChanges(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/FilterChanges",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).FilterChanges(ctx, req.(*FilterChangesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_FilterLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FilterLogsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).FilterLogs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/FilterLogs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).FilterLogs(ctx, req.(*FilterLogsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NebulaService_Logs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LogsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NebulaServiceServer).Logs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/nebula.v1.NebulaService/Logs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).Logs(ctx, req.(*LogsRequest))
}
return interceptor(ctx, in, info, handler)
}
// NebulaService_ServiceDesc is the grpc.ServiceDesc for NebulaService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var NebulaService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "nebula.v1.NebulaService",
HandlerType: (*NebulaServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Sha3",
Handler: _NebulaService_Sha3_Handler,
},
{
MethodName: "NodeVersion",
Handler: _NebulaService_NodeVersion_Handler,
},
{
MethodName: "NetVersion",
Handler: _NebulaService_NetVersion_Handler,
},
{
MethodName: "NetPeerCount",
Handler: _NebulaService_NetPeerCount_Handler,
},
{
MethodName: "ProtocolVersion",
Handler: _NebulaService_ProtocolVersion_Handler,
},
{
MethodName: "Syncing",
Handler: _NebulaService_Syncing_Handler,
},
{
MethodName: "Coinbase",
Handler: _NebulaService_Coinbase_Handler,
},
{
MethodName: "Mining",
Handler: _NebulaService_Mining_Handler,
},
{
MethodName: "HashRate",
Handler: _NebulaService_HashRate_Handler,
},
{
MethodName: "Accounts",
Handler: _NebulaService_Accounts_Handler,
},
{
MethodName: "GasPrice",
Handler: _NebulaService_GasPrice_Handler,
},
{
MethodName: "BlockNumber",
Handler: _NebulaService_BlockNumber_Handler,
},
{
MethodName: "BlockByHash",
Handler: _NebulaService_BlockByHash_Handler,
},
{
MethodName: "BlockByNumber",
Handler: _NebulaService_BlockByNumber_Handler,
},
{
MethodName: "BlockTransactionCountByHash",
Handler: _NebulaService_BlockTransactionCountByHash_Handler,
},
{
MethodName: "BlockTransactionCountByNumber",
Handler: _NebulaService_BlockTransactionCountByNumber_Handler,
},
{
MethodName: "UncleCountByHash",
Handler: _NebulaService_UncleCountByHash_Handler,
},
{
MethodName: "UncleCountByNumber",
Handler: _NebulaService_UncleCountByNumber_Handler,
},
{
MethodName: "UncleByBlockHashAndIndex",
Handler: _NebulaService_UncleByBlockHashAndIndex_Handler,
},
{
MethodName: "UncleByBlockNumberAndIndex",
Handler: _NebulaService_UncleByBlockNumberAndIndex_Handler,
},
{
MethodName: "Compilers",
Handler: _NebulaService_Compilers_Handler,
},
{
MethodName: "CompileSolidity",
Handler: _NebulaService_CompileSolidity_Handler,
},
{
MethodName: "CompileLLL",
Handler: _NebulaService_CompileLLL_Handler,
},
{
MethodName: "CompileSerpent",
Handler: _NebulaService_CompileSerpent_Handler,
},
{
MethodName: "EstimateGas",
Handler: _NebulaService_EstimateGas_Handler,
},
{
MethodName: "TransactionByHash",
Handler: _NebulaService_TransactionByHash_Handler,
},
{
MethodName: "TransactionByBlockHashAndIndex",
Handler: _NebulaService_TransactionByBlockHashAndIndex_Handler,
},
{
MethodName: "TransactionByBlockNumberAndIndex",
Handler: _NebulaService_TransactionByBlockNumberAndIndex_Handler,
},
{
MethodName: "TransactionReceipt",
Handler: _NebulaService_TransactionReceipt_Handler,
},
{
MethodName: "Balance",
Handler: _NebulaService_Balance_Handler,
},
{
MethodName: "Storage",
Handler: _NebulaService_Storage_Handler,
},
{
MethodName: "Nonce",
Handler: _NebulaService_Nonce_Handler,
},
{
MethodName: "RepeatedNonce",
Handler: _NebulaService_RepeatedNonce_Handler,
},
{
MethodName: "TransactionCount",
Handler: _NebulaService_TransactionCount_Handler,
},
{
MethodName: "GetCode",
Handler: _NebulaService_GetCode_Handler,
},
{
MethodName: "Sign",
Handler: _NebulaService_Sign_Handler,
},
{
MethodName: "SignTransaction",
Handler: _NebulaService_SignTransaction_Handler,
},
{
MethodName: "SendTransaction",
Handler: _NebulaService_SendTransaction_Handler,
},
{
MethodName: "SendRawTransaction",
Handler: _NebulaService_SendRawTransaction_Handler,
},
{
MethodName: "Call",
Handler: _NebulaService_Call_Handler,
},
{
MethodName: "NewFilter",
Handler: _NebulaService_NewFilter_Handler,
},
{
MethodName: "NewBlockFilter",
Handler: _NebulaService_NewBlockFilter_Handler,
},
{
MethodName: "PendingTransactionFilter",
Handler: _NebulaService_PendingTransactionFilter_Handler,
},
{
MethodName: "UninstallFilter",
Handler: _NebulaService_UninstallFilter_Handler,
},
{
MethodName: "FilterChanges",
Handler: _NebulaService_FilterChanges_Handler,
},
{
MethodName: "FilterLogs",
Handler: _NebulaService_FilterLogs_Handler,
},
{
MethodName: "Logs",
Handler: _NebulaService_Logs_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "nebula/v1/service.proto",
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: p2p/v1/request_response.proto
package p2pv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "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 BroadCastRequest 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"`
}
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 (x *BroadCastRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BroadCastRequest.ProtoReflect.Descriptor instead.
func (*BroadCastRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{0}
}
func (x *BroadCastRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *BroadCastRequest) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
type BroadCastResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
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 (x *BroadCastResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BroadCastResponse.ProtoReflect.Descriptor instead.
func (*BroadCastResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{1}
}
func (x *BroadCastResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
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"`
}
func (x *SendDataRequest) Reset() {
*x = SendDataRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendDataRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendDataRequest) ProtoMessage() {}
func (x *SendDataRequest) 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)
}
// Deprecated: Use SendDataRequest.ProtoReflect.Descriptor instead.
func (*SendDataRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{2}
}
func (x *SendDataRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *SendDataRequest) GetData() []byte {
if x != nil {
return x.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"`
}
func (x *SendDataResponse) Reset() {
*x = SendDataResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendDataResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendDataResponse) ProtoMessage() {}
func (x *SendDataResponse) 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)
}
// Deprecated: Use SendDataResponse.ProtoReflect.Descriptor instead.
func (*SendDataResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{3}
}
func (x *SendDataResponse) GetSuccess() bool {
if x != nil {
return x.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"`
}
func (x *SubscribeMsgRequest) Reset() {
*x = SubscribeMsgRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubscribeMsgRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubscribeMsgRequest) ProtoMessage() {}
func (x *SubscribeMsgRequest) 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)
}
// Deprecated: Use SubscribeMsgRequest.ProtoReflect.Descriptor instead.
func (*SubscribeMsgRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{4}
}
func (x *SubscribeMsgRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *SubscribeMsgRequest) GetMsgTypes() []P2PMsgType {
if x != nil {
return x.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"`
}
func (x *SubscribeMsgResponse) Reset() {
*x = SubscribeMsgResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_p2p_v1_request_response_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubscribeMsgResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubscribeMsgResponse) ProtoMessage() {}
func (x *SubscribeMsgResponse) 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)
}
// Deprecated: Use SubscribeMsgResponse.ProtoReflect.Descriptor instead.
func (*SubscribeMsgResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{5}
}
func (x *SubscribeMsgResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
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, 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, 0x2d, 0x0a, 0x11, 0x42, 0x72, 0x6f, 0x61,
0x64, 0x43, 0x61, 0x73, 0x74, 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, 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, 0x42, 0x97, 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, 0x3a, 0x67, 0x69, 0x74,
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e,
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, 6)
var file_p2p_v1_request_response_proto_goTypes = []interface{}{
(*BroadCastRequest)(nil), // 0: p2p.v1.BroadCastRequest
(*BroadCastResponse)(nil), // 1: p2p.v1.BroadCastResponse
(*SendDataRequest)(nil), // 2: p2p.v1.SendDataRequest
(*SendDataResponse)(nil), // 3: p2p.v1.SendDataResponse
(*SubscribeMsgRequest)(nil), // 4: p2p.v1.SubscribeMsgRequest
(*SubscribeMsgResponse)(nil), // 5: p2p.v1.SubscribeMsgResponse
(*MessageHeader)(nil), // 6: p2p.v1.MessageHeader
(P2PMsgType)(0), // 7: p2p.v1.P2PMsgType
}
var file_p2p_v1_request_response_proto_depIdxs = []int32{
6, // 0: p2p.v1.BroadCastRequest.header:type_name -> p2p.v1.MessageHeader
6, // 1: p2p.v1.SendDataRequest.header:type_name -> p2p.v1.MessageHeader
6, // 2: p2p.v1.SubscribeMsgRequest.header:type_name -> p2p.v1.MessageHeader
7, // 3: p2p.v1.SubscribeMsgRequest.msg_types:type_name -> p2p.v1.P2PMsgType
4, // [4:4] is the sub-list for method output_type
4, // [4:4] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] 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.(*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[3].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[4].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[5].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
}
}
}
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: 6,
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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: p2p/v1/resource.proto
package p2pv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "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 P2PMsgType int32
const (
P2PMsgType_P2P_MSG_TYPE_INVALID P2PMsgType = 0
P2PMsgType_P2P_MSG_TYPE_PING P2PMsgType = 1
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
}
func (x P2PMsgType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
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)
}
// Deprecated: Use P2PMsgType.Descriptor instead.
func (P2PMsgType) EnumDescriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []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
ClientType int32 `protobuf:"varint,2,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
// allows requesters to use request data when processing a response
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// package create time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// id of node that created the message (not the peer that may have sent it). =base58(multihash(nodePubKey))
NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
Gossip bool `protobuf:"varint,6,opt,name=gossip,proto3" json:"gossip,omitempty"`
// 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"`
}
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 (x *MessageHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use MessageHeader.ProtoReflect.Descriptor instead.
func (*MessageHeader) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{0}
}
func (x *MessageHeader) GetClientVersion() string {
if x != nil {
return x.ClientVersion
}
return ""
}
func (x *MessageHeader) GetClientType() int32 {
if x != nil {
return x.ClientType
}
return 0
}
func (x *MessageHeader) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *MessageHeader) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *MessageHeader) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *MessageHeader) GetGossip() bool {
if x != nil {
return x.Gossip
}
return false
}
func (x *MessageHeader) GetNodePubkey() []byte {
if x != nil {
return x.NodePubkey
}
return nil
}
func (x *MessageHeader) GetSign() []byte {
if x != nil {
return x.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"`
}
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 (x *HandShakeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use HandShakeRequest.ProtoReflect.Descriptor instead.
func (*HandShakeRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{1}
}
func (x *HandShakeRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *HandShakeRequest) GetMessage() string {
if x != nil {
return x.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"`
}
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 (x *HandShakeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use HandShakeResponse.ProtoReflect.Descriptor instead.
func (*HandShakeResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{2}
}
func (x *HandShakeResponse) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *HandShakeResponse) GetMessage() string {
if x != nil {
return x.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"`
}
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 (x *PingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{3}
}
func (x *PingRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *PingRequest) GetMessage() string {
if x != nil {
return x.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"`
}
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 (x *PongResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use PongResponse.ProtoReflect.Descriptor instead.
func (*PongResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{4}
}
func (x *PongResponse) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *PongResponse) GetMessage() string {
if x != nil {
return x.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"`
}
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 (x *DisconnectRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.
func (*DisconnectRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{5}
}
func (x *DisconnectRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *DisconnectRequest) GetReason() string {
if x != nil {
return x.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"`
}
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 (x *MessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use MessageRequest.ProtoReflect.Descriptor instead.
func (*MessageRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{6}
}
func (x *MessageRequest) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *MessageRequest) GetMessageType() int32 {
if x != nil {
return x.MessageType
}
return 0
}
func (x *MessageRequest) GetMessageData() []byte {
if x != nil {
return x.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"`
}
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 (x *MessageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use MessageResponse.ProtoReflect.Descriptor instead.
func (*MessageResponse) Descriptor() ([]byte, []int) {
return file_p2p_v1_resource_proto_rawDescGZIP(), []int{7}
}
func (x *MessageResponse) GetHeader() *MessageHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *MessageResponse) GetMessageType() int32 {
if x != nil {
return x.MessageType
}
return 0
}
func (x *MessageResponse) GetMessageData() []byte {
if x != nil {
return x.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, 0x90, 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, 0x3a, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69,
0x6e, 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: p2p/v1/service.proto
package p2pv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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
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, 0x32, 0xe0, 0x01,
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, 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,
0x42, 0x8f, 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,
0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63,
0x68, 0x61, 0x69, 0x6e, 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_service_proto_goTypes = []interface{}{
(*BroadCastRequest)(nil), // 0: p2p.v1.BroadCastRequest
(*SendDataRequest)(nil), // 1: p2p.v1.SendDataRequest
(*SubscribeMsgRequest)(nil), // 2: p2p.v1.SubscribeMsgRequest
(*BroadCastResponse)(nil), // 3: p2p.v1.BroadCastResponse
(*SendDataResponse)(nil), // 4: p2p.v1.SendDataResponse
(*SubscribeMsgResponse)(nil), // 5: p2p.v1.SubscribeMsgResponse
}
var file_p2p_v1_service_proto_depIdxs = []int32{
0, // 0: p2p.v1.P2PService.BroadcastMsg:input_type -> p2p.v1.BroadCastRequest
1, // 1: p2p.v1.P2PService.SendMsg:input_type -> p2p.v1.SendDataRequest
2, // 2: p2p.v1.P2PService.SubscribeMsg:input_type -> p2p.v1.SubscribeMsgRequest
3, // 3: p2p.v1.P2PService.BroadcastMsg:output_type -> p2p.v1.BroadCastResponse
4, // 4: p2p.v1.P2PService.SendMsg:output_type -> p2p.v1.SendDataResponse
5, // 5: p2p.v1.P2PService.SubscribeMsg:output_type -> p2p.v1.SubscribeMsgResponse
3, // [3:6] is the sub-list for method output_type
0, // [0:3] 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_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
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: p2p/v1/service.proto
package p2pv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// P2PServiceClient is the client API for P2PService service.
//
// 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 P2PServiceClient interface {
BroadcastMsg(ctx context.Context, in *BroadCastRequest, opts ...grpc.CallOption) (*BroadCastResponse, error)
SendMsg(ctx context.Context, in *SendDataRequest, opts ...grpc.CallOption) (*SendDataResponse, error)
SubscribeMsg(ctx context.Context, in *SubscribeMsgRequest, opts ...grpc.CallOption) (*SubscribeMsgResponse, error)
}
type p2PServiceClient struct {
cc grpc.ClientConnInterface
}
func NewP2PServiceClient(cc grpc.ClientConnInterface) P2PServiceClient {
return &p2PServiceClient{cc}
}
func (c *p2PServiceClient) BroadcastMsg(ctx context.Context, in *BroadCastRequest, opts ...grpc.CallOption) (*BroadCastResponse, error) {
out := new(BroadCastResponse)
err := c.cc.Invoke(ctx, "/p2p.v1.P2PService/BroadcastMsg", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *p2PServiceClient) SendMsg(ctx context.Context, in *SendDataRequest, opts ...grpc.CallOption) (*SendDataResponse, error) {
out := new(SendDataResponse)
err := c.cc.Invoke(ctx, "/p2p.v1.P2PService/SendMsg", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *p2PServiceClient) SubscribeMsg(ctx context.Context, in *SubscribeMsgRequest, opts ...grpc.CallOption) (*SubscribeMsgResponse, error) {
out := new(SubscribeMsgResponse)
err := c.cc.Invoke(ctx, "/p2p.v1.P2PService/SubscribeMsg", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// P2PServiceServer is the server API for P2PService service.
// All implementations must embed UnimplementedP2PServiceServer
// for forward compatibility
type P2PServiceServer interface {
BroadcastMsg(context.Context, *BroadCastRequest) (*BroadCastResponse, error)
SendMsg(context.Context, *SendDataRequest) (*SendDataResponse, error)
SubscribeMsg(context.Context, *SubscribeMsgRequest) (*SubscribeMsgResponse, error)
mustEmbedUnimplementedP2PServiceServer()
}
// UnimplementedP2PServiceServer must be embedded to have forward compatible implementations.
type UnimplementedP2PServiceServer struct {
}
func (UnimplementedP2PServiceServer) BroadcastMsg(context.Context, *BroadCastRequest) (*BroadCastResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BroadcastMsg not implemented")
}
func (UnimplementedP2PServiceServer) SendMsg(context.Context, *SendDataRequest) (*SendDataResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendMsg not implemented")
}
func (UnimplementedP2PServiceServer) SubscribeMsg(context.Context, *SubscribeMsgRequest) (*SubscribeMsgResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SubscribeMsg not implemented")
}
func (UnimplementedP2PServiceServer) mustEmbedUnimplementedP2PServiceServer() {}
// UnsafeP2PServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to P2PServiceServer will
// result in compilation errors.
type UnsafeP2PServiceServer interface {
mustEmbedUnimplementedP2PServiceServer()
}
func RegisterP2PServiceServer(s grpc.ServiceRegistrar, srv P2PServiceServer) {
s.RegisterService(&P2PService_ServiceDesc, srv)
}
func _P2PService_BroadcastMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BroadCastRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(P2PServiceServer).BroadcastMsg(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/p2p.v1.P2PService/BroadcastMsg",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(P2PServiceServer).BroadcastMsg(ctx, req.(*BroadCastRequest))
}
return interceptor(ctx, in, info, handler)
}
func _P2PService_SendMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendDataRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(P2PServiceServer).SendMsg(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/p2p.v1.P2PService/SendMsg",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(P2PServiceServer).SendMsg(ctx, req.(*SendDataRequest))
}
return interceptor(ctx, in, info, handler)
}
func _P2PService_SubscribeMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SubscribeMsgRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(P2PServiceServer).SubscribeMsg(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/p2p.v1.P2PService/SubscribeMsg",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(P2PServiceServer).SubscribeMsg(ctx, req.(*SubscribeMsgRequest))
}
return interceptor(ctx, in, info, handler)
}
// P2PService_ServiceDesc is the grpc.ServiceDesc for P2PService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var P2PService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "p2p.v1.P2PService",
HandlerType: (*P2PServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "BroadcastMsg",
Handler: _P2PService_BroadcastMsg_Handler,
},
{
MethodName: "SendMsg",
Handler: _P2PService_SendMsg_Handler,
},
{
MethodName: "SubscribeMsg",
Handler: _P2PService_SubscribeMsg_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "p2p/v1/service.proto",
}
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)
// 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"
)
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
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, 0x9e, 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, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d,
0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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,
}
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() { 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: ring/v1/resource.proto
package ringv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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
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, 0x97, 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, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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,
}
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() { 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: ring/v1/service.proto
package ringv1
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"
)
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_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, 0x32, 0x8c, 0x1e, 0x0a,
0x0b, 0x52, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x04,
0x53, 0x68, 0x61, 0x33, 0x12, 0x14, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53,
0x68, 0x61, 0x33, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x33, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x45, 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, 0x1c, 0x2e, 0x72, 0x69, 0x6e,
0x67, 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, 0x43, 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, 0x1b, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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,
0x47, 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, 0x1d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x4d, 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, 0x20, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x3d, 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, 0x18, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 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, 0x19, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3b, 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, 0x17, 0x2e, 0x72, 0x69, 0x6e, 0x67,
0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 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, 0x19, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e,
0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 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, 0x19, 0x2e, 0x72, 0x69, 0x6e, 0x67,
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 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, 0x19, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 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, 0x17,
0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x42, 0x6c, 0x6f,
0x63, 0x6b, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e,
0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x50, 0x0a, 0x0d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79,
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x1e, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x7a, 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, 0x2b, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x2c, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x80, 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, 0x2d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x2e, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x59, 0x0a, 0x10, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43,
0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x2e, 0x72, 0x69, 0x6e,
0x67, 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, 0x21, 0x2e, 0x72,
0x69, 0x6e, 0x67, 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, 0x5f, 0x0a, 0x12, 0x55, 0x6e, 0x63, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42,
0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x23, 0x2e, 0x72, 0x69,
0x6e, 0x67, 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, 0x71, 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, 0x28,
0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x29, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x77, 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, 0x2a, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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,
0x2b, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x44,
0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x19, 0x2e, 0x72, 0x69,
0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x53,
0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x20, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x47, 0x0a, 0x0a,
0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c, 0x12, 0x1a, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x4c, 0x4c, 0x4c, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x53, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
0x53, 0x65, 0x72, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x1f, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x4a, 0x0a, 0x0b, 0x45, 0x73,
0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x12, 0x1b, 0x2e, 0x72, 0x69, 0x6e, 0x67,
0x2e, 0x76, 0x31, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x5c, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x21, 0x2e, 0x72, 0x69,
0x6e, 0x67, 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, 0x22,
0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x83, 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, 0x2e, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x2f, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x89, 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,
0x30, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x31, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x5f, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x22, 0x2e, 0x72,
0x69, 0x6e, 0x67, 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, 0x23, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x3e, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e,
0x63, 0x65, 0x12, 0x17, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c,
0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x72, 0x69,
0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61,
0x67, 0x65, 0x12, 0x17, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f,
0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x72, 0x69,
0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 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, 0x12, 0x50, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x6e,
0x63, 0x65, 0x12, 0x1d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x1e, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x59, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x21, 0x2e, 0x72, 0x69, 0x6e, 0x67,
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, 0x3e,
0x0a, 0x07, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x72, 0x69, 0x6e, 0x67,
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x18, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x35,
0x0a, 0x04, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x14, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x72,
0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x20, 0x2e, 0x72, 0x69, 0x6e, 0x67,
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, 0x56, 0x0a,
0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x1f, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x20, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x5f, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 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, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x35, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x14,
0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43,
0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a,
0x09, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x72, 0x69, 0x6e,
0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e,
0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x4b, 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, 0x1f, 0x2e,
0x72, 0x69, 0x6e, 0x67, 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, 0x5f, 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, 0x29, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x56, 0x0a, 0x0f, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x20, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x50, 0x0a, 0x0d, 0x46, 0x69, 0x6c,
0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x72, 0x69, 0x6e,
0x67, 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, 0x1e, 0x2e, 0x72, 0x69, 0x6e, 0x67,
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, 0x47, 0x0a, 0x0a, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x72, 0x69, 0x6e, 0x67,
0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x69, 0x6e, 0x67, 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, 0x35, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x14, 0x2e, 0x72,
0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x15, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x96, 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, 0x3c, 0x67, 0x69, 0x74,
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e,
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,
}
var file_ring_v1_service_proto_goTypes = []interface{}{
(*Sha3Request)(nil), // 0: ring.v1.Sha3Request
(*emptypb.Empty)(nil), // 1: google.protobuf.Empty
(*BlockByHashRequest)(nil), // 2: ring.v1.BlockByHashRequest
(*BlockByNumberRequest)(nil), // 3: ring.v1.BlockByNumberRequest
(*BlockTransactionCountByHashRequest)(nil), // 4: ring.v1.BlockTransactionCountByHashRequest
(*BlockTransactionCountByNumberRequest)(nil), // 5: ring.v1.BlockTransactionCountByNumberRequest
(*UncleCountByHashRequest)(nil), // 6: ring.v1.UncleCountByHashRequest
(*UncleCountByNumberRequest)(nil), // 7: ring.v1.UncleCountByNumberRequest
(*UncleByBlockHashAndIndexRequest)(nil), // 8: ring.v1.UncleByBlockHashAndIndexRequest
(*UncleByBlockNumberAndIndexRequest)(nil), // 9: ring.v1.UncleByBlockNumberAndIndexRequest
(*CompilersRequest)(nil), // 10: ring.v1.CompilersRequest
(*CompileSolidityRequest)(nil), // 11: ring.v1.CompileSolidityRequest
(*CompileLLLRequest)(nil), // 12: ring.v1.CompileLLLRequest
(*CompileSerpentRequest)(nil), // 13: ring.v1.CompileSerpentRequest
(*EstimateGasRequest)(nil), // 14: ring.v1.EstimateGasRequest
(*TransactionByHashRequest)(nil), // 15: ring.v1.TransactionByHashRequest
(*TransactionByBlockHashAndIndexRequest)(nil), // 16: ring.v1.TransactionByBlockHashAndIndexRequest
(*TransactionByBlockNumberAndIndexRequest)(nil), // 17: ring.v1.TransactionByBlockNumberAndIndexRequest
(*TransactionReceiptRequest)(nil), // 18: ring.v1.TransactionReceiptRequest
(*BalanceRequest)(nil), // 19: ring.v1.BalanceRequest
(*StorageRequest)(nil), // 20: ring.v1.StorageRequest
(*NonceRequest)(nil), // 21: ring.v1.NonceRequest
(*RepeatedNonceRequest)(nil), // 22: ring.v1.RepeatedNonceRequest
(*TransactionCountRequest)(nil), // 23: ring.v1.TransactionCountRequest
(*GetCodeRequest)(nil), // 24: ring.v1.GetCodeRequest
(*SignRequest)(nil), // 25: ring.v1.SignRequest
(*SignTransactionRequest)(nil), // 26: ring.v1.SignTransactionRequest
(*SendTransactionRequest)(nil), // 27: ring.v1.SendTransactionRequest
(*SendRawTransactionRequest)(nil), // 28: ring.v1.SendRawTransactionRequest
(*CallRequest)(nil), // 29: ring.v1.CallRequest
(*NewFilterRequest)(nil), // 30: ring.v1.NewFilterRequest
(*UninstallFilterRequest)(nil), // 31: ring.v1.UninstallFilterRequest
(*FilterChangesRequest)(nil), // 32: ring.v1.FilterChangesRequest
(*FilterLogsRequest)(nil), // 33: ring.v1.FilterLogsRequest
(*LogsRequest)(nil), // 34: ring.v1.LogsRequest
(*Sha3Response)(nil), // 35: ring.v1.Sha3Response
(*NodeVersionResponse)(nil), // 36: ring.v1.NodeVersionResponse
(*NetVersionResponse)(nil), // 37: ring.v1.NetVersionResponse
(*NetPeerCountResponse)(nil), // 38: ring.v1.NetPeerCountResponse
(*ProtocolVersionResponse)(nil), // 39: ring.v1.ProtocolVersionResponse
(*SyncingResponse)(nil), // 40: ring.v1.SyncingResponse
(*CoinbaseResponse)(nil), // 41: ring.v1.CoinbaseResponse
(*MiningResponse)(nil), // 42: ring.v1.MiningResponse
(*HashRateResponse)(nil), // 43: ring.v1.HashRateResponse
(*AccountsResponse)(nil), // 44: ring.v1.AccountsResponse
(*GasPriceResponse)(nil), // 45: ring.v1.GasPriceResponse
(*HeightResponse)(nil), // 46: ring.v1.HeightResponse
(*BlockByHashResponse)(nil), // 47: ring.v1.BlockByHashResponse
(*BlockByNumberResponse)(nil), // 48: ring.v1.BlockByNumberResponse
(*BlockTransactionCountByHashResponse)(nil), // 49: ring.v1.BlockTransactionCountByHashResponse
(*BlockTransactionCountByNumberResponse)(nil), // 50: ring.v1.BlockTransactionCountByNumberResponse
(*UncleCountByHashResponse)(nil), // 51: ring.v1.UncleCountByHashResponse
(*UncleCountByNumberResponse)(nil), // 52: ring.v1.UncleCountByNumberResponse
(*UncleByBlockHashAndIndexResponse)(nil), // 53: ring.v1.UncleByBlockHashAndIndexResponse
(*UncleByBlockNumberAndIndexResponse)(nil), // 54: ring.v1.UncleByBlockNumberAndIndexResponse
(*CompilersResponse)(nil), // 55: ring.v1.CompilersResponse
(*CompileSolidityResponse)(nil), // 56: ring.v1.CompileSolidityResponse
(*CompileLLLResponse)(nil), // 57: ring.v1.CompileLLLResponse
(*CompileSerpentResponse)(nil), // 58: ring.v1.CompileSerpentResponse
(*EstimateGasResponse)(nil), // 59: ring.v1.EstimateGasResponse
(*TransactionByHashResponse)(nil), // 60: ring.v1.TransactionByHashResponse
(*TransactionByBlockHashAndIndexResponse)(nil), // 61: ring.v1.TransactionByBlockHashAndIndexResponse
(*TransactionByBlockNumberAndIndexResponse)(nil), // 62: ring.v1.TransactionByBlockNumberAndIndexResponse
(*TransactionReceiptResponse)(nil), // 63: ring.v1.TransactionReceiptResponse
(*BalanceResponse)(nil), // 64: ring.v1.BalanceResponse
(*StorageResponse)(nil), // 65: ring.v1.StorageResponse
(*NonceResponse)(nil), // 66: ring.v1.NonceResponse
(*RepeatedNonceResponse)(nil), // 67: ring.v1.RepeatedNonceResponse
(*TransactionCountResponse)(nil), // 68: ring.v1.TransactionCountResponse
(*GetCodeResponse)(nil), // 69: ring.v1.GetCodeResponse
(*SignResponse)(nil), // 70: ring.v1.SignResponse
(*SignTransactionResponse)(nil), // 71: ring.v1.SignTransactionResponse
(*SendTransactionResponse)(nil), // 72: ring.v1.SendTransactionResponse
(*SendRawTransactionResponse)(nil), // 73: ring.v1.SendRawTransactionResponse
(*CallResponse)(nil), // 74: ring.v1.CallResponse
(*NewFilterResponse)(nil), // 75: ring.v1.NewFilterResponse
(*NewBlockFilterResponse)(nil), // 76: ring.v1.NewBlockFilterResponse
(*PendingTransactionFilterResponse)(nil), // 77: ring.v1.PendingTransactionFilterResponse
(*UninstallFilterResponse)(nil), // 78: ring.v1.UninstallFilterResponse
(*FilterChangesResponse)(nil), // 79: ring.v1.FilterChangesResponse
(*FilterLogsResponse)(nil), // 80: ring.v1.FilterLogsResponse
(*LogsResponse)(nil), // 81: ring.v1.LogsResponse
}
var file_ring_v1_service_proto_depIdxs = []int32{
0, // 0: ring.v1.RingService.Sha3:input_type -> ring.v1.Sha3Request
1, // 1: ring.v1.RingService.NodeVersion:input_type -> google.protobuf.Empty
1, // 2: ring.v1.RingService.NetVersion:input_type -> google.protobuf.Empty
1, // 3: ring.v1.RingService.NetPeerCount:input_type -> google.protobuf.Empty
1, // 4: ring.v1.RingService.ProtocolVersion:input_type -> google.protobuf.Empty
1, // 5: ring.v1.RingService.Syncing:input_type -> google.protobuf.Empty
1, // 6: ring.v1.RingService.Coinbase:input_type -> google.protobuf.Empty
1, // 7: ring.v1.RingService.Mining:input_type -> google.protobuf.Empty
1, // 8: ring.v1.RingService.HashRate:input_type -> google.protobuf.Empty
1, // 9: ring.v1.RingService.Accounts:input_type -> google.protobuf.Empty
1, // 10: ring.v1.RingService.GasPrice:input_type -> google.protobuf.Empty
1, // 11: ring.v1.RingService.BlockNumber:input_type -> google.protobuf.Empty
2, // 12: ring.v1.RingService.BlockByHash:input_type -> ring.v1.BlockByHashRequest
3, // 13: ring.v1.RingService.BlockByNumber:input_type -> ring.v1.BlockByNumberRequest
4, // 14: ring.v1.RingService.BlockTransactionCountByHash:input_type -> ring.v1.BlockTransactionCountByHashRequest
5, // 15: ring.v1.RingService.BlockTransactionCountByNumber:input_type -> ring.v1.BlockTransactionCountByNumberRequest
6, // 16: ring.v1.RingService.UncleCountByHash:input_type -> ring.v1.UncleCountByHashRequest
7, // 17: ring.v1.RingService.UncleCountByNumber:input_type -> ring.v1.UncleCountByNumberRequest
8, // 18: ring.v1.RingService.UncleByBlockHashAndIndex:input_type -> ring.v1.UncleByBlockHashAndIndexRequest
9, // 19: ring.v1.RingService.UncleByBlockNumberAndIndex:input_type -> ring.v1.UncleByBlockNumberAndIndexRequest
10, // 20: ring.v1.RingService.Compilers:input_type -> ring.v1.CompilersRequest
11, // 21: ring.v1.RingService.CompileSolidity:input_type -> ring.v1.CompileSolidityRequest
12, // 22: ring.v1.RingService.CompileLLL:input_type -> ring.v1.CompileLLLRequest
13, // 23: ring.v1.RingService.CompileSerpent:input_type -> ring.v1.CompileSerpentRequest
14, // 24: ring.v1.RingService.EstimateGas:input_type -> ring.v1.EstimateGasRequest
15, // 25: ring.v1.RingService.TransactionByHash:input_type -> ring.v1.TransactionByHashRequest
16, // 26: ring.v1.RingService.TransactionByBlockHashAndIndex:input_type -> ring.v1.TransactionByBlockHashAndIndexRequest
17, // 27: ring.v1.RingService.TransactionByBlockNumberAndIndex:input_type -> ring.v1.TransactionByBlockNumberAndIndexRequest
18, // 28: ring.v1.RingService.TransactionReceipt:input_type -> ring.v1.TransactionReceiptRequest
19, // 29: ring.v1.RingService.Balance:input_type -> ring.v1.BalanceRequest
20, // 30: ring.v1.RingService.Storage:input_type -> ring.v1.StorageRequest
21, // 31: ring.v1.RingService.Nonce:input_type -> ring.v1.NonceRequest
22, // 32: ring.v1.RingService.RepeatedNonce:input_type -> ring.v1.RepeatedNonceRequest
23, // 33: ring.v1.RingService.TransactionCount:input_type -> ring.v1.TransactionCountRequest
24, // 34: ring.v1.RingService.GetCode:input_type -> ring.v1.GetCodeRequest
25, // 35: ring.v1.RingService.Sign:input_type -> ring.v1.SignRequest
26, // 36: ring.v1.RingService.SignTransaction:input_type -> ring.v1.SignTransactionRequest
27, // 37: ring.v1.RingService.SendTransaction:input_type -> ring.v1.SendTransactionRequest
28, // 38: ring.v1.RingService.SendRawTransaction:input_type -> ring.v1.SendRawTransactionRequest
29, // 39: ring.v1.RingService.Call:input_type -> ring.v1.CallRequest
30, // 40: ring.v1.RingService.NewFilter:input_type -> ring.v1.NewFilterRequest
1, // 41: ring.v1.RingService.NewBlockFilter:input_type -> google.protobuf.Empty
1, // 42: ring.v1.RingService.PendingTransactionFilter:input_type -> google.protobuf.Empty
31, // 43: ring.v1.RingService.UninstallFilter:input_type -> ring.v1.UninstallFilterRequest
32, // 44: ring.v1.RingService.FilterChanges:input_type -> ring.v1.FilterChangesRequest
33, // 45: ring.v1.RingService.FilterLogs:input_type -> ring.v1.FilterLogsRequest
34, // 46: ring.v1.RingService.Logs:input_type -> ring.v1.LogsRequest
35, // 47: ring.v1.RingService.Sha3:output_type -> ring.v1.Sha3Response
36, // 48: ring.v1.RingService.NodeVersion:output_type -> ring.v1.NodeVersionResponse
37, // 49: ring.v1.RingService.NetVersion:output_type -> ring.v1.NetVersionResponse
38, // 50: ring.v1.RingService.NetPeerCount:output_type -> ring.v1.NetPeerCountResponse
39, // 51: ring.v1.RingService.ProtocolVersion:output_type -> ring.v1.ProtocolVersionResponse
40, // 52: ring.v1.RingService.Syncing:output_type -> ring.v1.SyncingResponse
41, // 53: ring.v1.RingService.Coinbase:output_type -> ring.v1.CoinbaseResponse
42, // 54: ring.v1.RingService.Mining:output_type -> ring.v1.MiningResponse
43, // 55: ring.v1.RingService.HashRate:output_type -> ring.v1.HashRateResponse
44, // 56: ring.v1.RingService.Accounts:output_type -> ring.v1.AccountsResponse
45, // 57: ring.v1.RingService.GasPrice:output_type -> ring.v1.GasPriceResponse
46, // 58: ring.v1.RingService.BlockNumber:output_type -> ring.v1.HeightResponse
47, // 59: ring.v1.RingService.BlockByHash:output_type -> ring.v1.BlockByHashResponse
48, // 60: ring.v1.RingService.BlockByNumber:output_type -> ring.v1.BlockByNumberResponse
49, // 61: ring.v1.RingService.BlockTransactionCountByHash:output_type -> ring.v1.BlockTransactionCountByHashResponse
50, // 62: ring.v1.RingService.BlockTransactionCountByNumber:output_type -> ring.v1.BlockTransactionCountByNumberResponse
51, // 63: ring.v1.RingService.UncleCountByHash:output_type -> ring.v1.UncleCountByHashResponse
52, // 64: ring.v1.RingService.UncleCountByNumber:output_type -> ring.v1.UncleCountByNumberResponse
53, // 65: ring.v1.RingService.UncleByBlockHashAndIndex:output_type -> ring.v1.UncleByBlockHashAndIndexResponse
54, // 66: ring.v1.RingService.UncleByBlockNumberAndIndex:output_type -> ring.v1.UncleByBlockNumberAndIndexResponse
55, // 67: ring.v1.RingService.Compilers:output_type -> ring.v1.CompilersResponse
56, // 68: ring.v1.RingService.CompileSolidity:output_type -> ring.v1.CompileSolidityResponse
57, // 69: ring.v1.RingService.CompileLLL:output_type -> ring.v1.CompileLLLResponse
58, // 70: ring.v1.RingService.CompileSerpent:output_type -> ring.v1.CompileSerpentResponse
59, // 71: ring.v1.RingService.EstimateGas:output_type -> ring.v1.EstimateGasResponse
60, // 72: ring.v1.RingService.TransactionByHash:output_type -> ring.v1.TransactionByHashResponse
61, // 73: ring.v1.RingService.TransactionByBlockHashAndIndex:output_type -> ring.v1.TransactionByBlockHashAndIndexResponse
62, // 74: ring.v1.RingService.TransactionByBlockNumberAndIndex:output_type -> ring.v1.TransactionByBlockNumberAndIndexResponse
63, // 75: ring.v1.RingService.TransactionReceipt:output_type -> ring.v1.TransactionReceiptResponse
64, // 76: ring.v1.RingService.Balance:output_type -> ring.v1.BalanceResponse
65, // 77: ring.v1.RingService.Storage:output_type -> ring.v1.StorageResponse
66, // 78: ring.v1.RingService.Nonce:output_type -> ring.v1.NonceResponse
67, // 79: ring.v1.RingService.RepeatedNonce:output_type -> ring.v1.RepeatedNonceResponse
68, // 80: ring.v1.RingService.TransactionCount:output_type -> ring.v1.TransactionCountResponse
69, // 81: ring.v1.RingService.GetCode:output_type -> ring.v1.GetCodeResponse
70, // 82: ring.v1.RingService.Sign:output_type -> ring.v1.SignResponse
71, // 83: ring.v1.RingService.SignTransaction:output_type -> ring.v1.SignTransactionResponse
72, // 84: ring.v1.RingService.SendTransaction:output_type -> ring.v1.SendTransactionResponse
73, // 85: ring.v1.RingService.SendRawTransaction:output_type -> ring.v1.SendRawTransactionResponse
74, // 86: ring.v1.RingService.Call:output_type -> ring.v1.CallResponse
75, // 87: ring.v1.RingService.NewFilter:output_type -> ring.v1.NewFilterResponse
76, // 88: ring.v1.RingService.NewBlockFilter:output_type -> ring.v1.NewBlockFilterResponse
77, // 89: ring.v1.RingService.PendingTransactionFilter:output_type -> ring.v1.PendingTransactionFilterResponse
78, // 90: ring.v1.RingService.UninstallFilter:output_type -> ring.v1.UninstallFilterResponse
79, // 91: ring.v1.RingService.FilterChanges:output_type -> ring.v1.FilterChangesResponse
80, // 92: ring.v1.RingService.FilterLogs:output_type -> ring.v1.FilterLogsResponse
81, // 93: ring.v1.RingService.Logs:output_type -> ring.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() { 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()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_ring_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_ring_v1_service_proto_goTypes,
DependencyIndexes: file_ring_v1_service_proto_depIdxs,
}.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
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: ring/v1/service.proto
package ringv1
import (
context "context"
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
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// RingServiceClient is the client API for RingService service.
//
// 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 {
// web3
Sha3(ctx context.Context, in *Sha3Request, opts ...grpc.CallOption) (*Sha3Response, error)
NodeVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeVersionResponse, error)
// network info service
NetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetVersionResponse, error)
NetPeerCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetPeerCountResponse, error)
// node status
ProtocolVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProtocolVersionResponse, error)
Syncing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SyncingResponse, error)
Coinbase(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CoinbaseResponse, error)
Mining(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MiningResponse, error)
HashRate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HashRateResponse, error)
Accounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccountsResponse, error)
// tx operatoration
GasPrice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GasPriceResponse, error)
// block info service
BlockNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HeightResponse, error)
BlockByHash(ctx context.Context, in *BlockByHashRequest, opts ...grpc.CallOption) (*BlockByHashResponse, error)
BlockByNumber(ctx context.Context, in *BlockByNumberRequest, opts ...grpc.CallOption) (*BlockByNumberResponse, error)
BlockTransactionCountByHash(ctx context.Context, in *BlockTransactionCountByHashRequest, opts ...grpc.CallOption) (*BlockTransactionCountByHashResponse, error)
BlockTransactionCountByNumber(ctx context.Context, in *BlockTransactionCountByNumberRequest, opts ...grpc.CallOption) (*BlockTransactionCountByNumberResponse, error)
UncleCountByHash(ctx context.Context, in *UncleCountByHashRequest, opts ...grpc.CallOption) (*UncleCountByHashResponse, error)
UncleCountByNumber(ctx context.Context, in *UncleCountByNumberRequest, opts ...grpc.CallOption) (*UncleCountByNumberResponse, error)
UncleByBlockHashAndIndex(ctx context.Context, in *UncleByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockHashAndIndexResponse, error)
UncleByBlockNumberAndIndex(ctx context.Context, in *UncleByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockNumberAndIndexResponse, error)
// compiler
Compilers(ctx context.Context, in *CompilersRequest, opts ...grpc.CallOption) (*CompilersResponse, error)
CompileSolidity(ctx context.Context, in *CompileSolidityRequest, opts ...grpc.CallOption) (*CompileSolidityResponse, error)
CompileLLL(ctx context.Context, in *CompileLLLRequest, opts ...grpc.CallOption) (*CompileLLLResponse, error)
CompileSerpent(ctx context.Context, in *CompileSerpentRequest, opts ...grpc.CallOption) (*CompileSerpentResponse, error)
// transaction info service
EstimateGas(ctx context.Context, in *EstimateGasRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error)
TransactionByHash(ctx context.Context, in *TransactionByHashRequest, opts ...grpc.CallOption) (*TransactionByHashResponse, error)
TransactionByBlockHashAndIndex(ctx context.Context, in *TransactionByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockHashAndIndexResponse, error)
TransactionByBlockNumberAndIndex(ctx context.Context, in *TransactionByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockNumberAndIndexResponse, error)
TransactionReceipt(ctx context.Context, in *TransactionReceiptRequest, opts ...grpc.CallOption) (*TransactionReceiptResponse, error)
// account info service
Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error)
Storage(ctx context.Context, in *StorageRequest, opts ...grpc.CallOption) (*StorageResponse, error)
Nonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error)
RepeatedNonce(ctx context.Context, in *RepeatedNonceRequest, opts ...grpc.CallOption) (*RepeatedNonceResponse, error)
TransactionCount(ctx context.Context, in *TransactionCountRequest, opts ...grpc.CallOption) (*TransactionCountResponse, error)
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 *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error)
SendRawTransaction(ctx context.Context, in *SendRawTransactionRequest, 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)
NewBlockFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewBlockFilterResponse, error)
PendingTransactionFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PendingTransactionFilterResponse, error)
UninstallFilter(ctx context.Context, in *UninstallFilterRequest, opts ...grpc.CallOption) (*UninstallFilterResponse, error)
FilterChanges(ctx context.Context, in *FilterChangesRequest, opts ...grpc.CallOption) (*FilterChangesResponse, error)
FilterLogs(ctx context.Context, in *FilterLogsRequest, opts ...grpc.CallOption) (*FilterLogsResponse, error)
Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (*LogsResponse, error)
}
type ringServiceClient struct {
cc grpc.ClientConnInterface
}
func NewRingServiceClient(cc grpc.ClientConnInterface) RingServiceClient {
return &ringServiceClient{cc}
}
func (c *ringServiceClient) Sha3(ctx context.Context, in *Sha3Request, opts ...grpc.CallOption) (*Sha3Response, error) {
out := new(Sha3Response)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Sha3", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) NodeVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeVersionResponse, error) {
out := new(NodeVersionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/NodeVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) NetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetVersionResponse, error) {
out := new(NetVersionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/NetVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) NetPeerCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetPeerCountResponse, error) {
out := new(NetPeerCountResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/NetPeerCount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) ProtocolVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProtocolVersionResponse, error) {
out := new(ProtocolVersionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/ProtocolVersion", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Syncing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SyncingResponse, error) {
out := new(SyncingResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Syncing", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Coinbase(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CoinbaseResponse, error) {
out := new(CoinbaseResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Coinbase", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Mining(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MiningResponse, error) {
out := new(MiningResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Mining", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) HashRate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HashRateResponse, error) {
out := new(HashRateResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/HashRate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Accounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccountsResponse, error) {
out := new(AccountsResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Accounts", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) GasPrice(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GasPriceResponse, error) {
out := new(GasPriceResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/GasPrice", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) BlockNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HeightResponse, error) {
out := new(HeightResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/BlockNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) BlockByHash(ctx context.Context, in *BlockByHashRequest, opts ...grpc.CallOption) (*BlockByHashResponse, error) {
out := new(BlockByHashResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/BlockByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) BlockByNumber(ctx context.Context, in *BlockByNumberRequest, opts ...grpc.CallOption) (*BlockByNumberResponse, error) {
out := new(BlockByNumberResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/BlockByNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) BlockTransactionCountByHash(ctx context.Context, in *BlockTransactionCountByHashRequest, opts ...grpc.CallOption) (*BlockTransactionCountByHashResponse, error) {
out := new(BlockTransactionCountByHashResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/BlockTransactionCountByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) BlockTransactionCountByNumber(ctx context.Context, in *BlockTransactionCountByNumberRequest, opts ...grpc.CallOption) (*BlockTransactionCountByNumberResponse, error) {
out := new(BlockTransactionCountByNumberResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/BlockTransactionCountByNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) UncleCountByHash(ctx context.Context, in *UncleCountByHashRequest, opts ...grpc.CallOption) (*UncleCountByHashResponse, error) {
out := new(UncleCountByHashResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/UncleCountByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) UncleCountByNumber(ctx context.Context, in *UncleCountByNumberRequest, opts ...grpc.CallOption) (*UncleCountByNumberResponse, error) {
out := new(UncleCountByNumberResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/UncleCountByNumber", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) UncleByBlockHashAndIndex(ctx context.Context, in *UncleByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockHashAndIndexResponse, error) {
out := new(UncleByBlockHashAndIndexResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/UncleByBlockHashAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) UncleByBlockNumberAndIndex(ctx context.Context, in *UncleByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*UncleByBlockNumberAndIndexResponse, error) {
out := new(UncleByBlockNumberAndIndexResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/UncleByBlockNumberAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Compilers(ctx context.Context, in *CompilersRequest, opts ...grpc.CallOption) (*CompilersResponse, error) {
out := new(CompilersResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Compilers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) CompileSolidity(ctx context.Context, in *CompileSolidityRequest, opts ...grpc.CallOption) (*CompileSolidityResponse, error) {
out := new(CompileSolidityResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/CompileSolidity", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) CompileLLL(ctx context.Context, in *CompileLLLRequest, opts ...grpc.CallOption) (*CompileLLLResponse, error) {
out := new(CompileLLLResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/CompileLLL", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) CompileSerpent(ctx context.Context, in *CompileSerpentRequest, opts ...grpc.CallOption) (*CompileSerpentResponse, error) {
out := new(CompileSerpentResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/CompileSerpent", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) EstimateGas(ctx context.Context, in *EstimateGasRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error) {
out := new(EstimateGasResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/EstimateGas", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) TransactionByHash(ctx context.Context, in *TransactionByHashRequest, opts ...grpc.CallOption) (*TransactionByHashResponse, error) {
out := new(TransactionByHashResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/TransactionByHash", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) TransactionByBlockHashAndIndex(ctx context.Context, in *TransactionByBlockHashAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockHashAndIndexResponse, error) {
out := new(TransactionByBlockHashAndIndexResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/TransactionByBlockHashAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) TransactionByBlockNumberAndIndex(ctx context.Context, in *TransactionByBlockNumberAndIndexRequest, opts ...grpc.CallOption) (*TransactionByBlockNumberAndIndexResponse, error) {
out := new(TransactionByBlockNumberAndIndexResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/TransactionByBlockNumberAndIndex", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) TransactionReceipt(ctx context.Context, in *TransactionReceiptRequest, opts ...grpc.CallOption) (*TransactionReceiptResponse, error) {
out := new(TransactionReceiptResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/TransactionReceipt", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error) {
out := new(BalanceResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Balance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Storage(ctx context.Context, in *StorageRequest, opts ...grpc.CallOption) (*StorageResponse, error) {
out := new(StorageResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Storage", 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...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) RepeatedNonce(ctx context.Context, in *RepeatedNonceRequest, opts ...grpc.CallOption) (*RepeatedNonceResponse, error) {
out := new(RepeatedNonceResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/RepeatedNonce", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) TransactionCount(ctx context.Context, in *TransactionCountRequest, opts ...grpc.CallOption) (*TransactionCountResponse, error) {
out := new(TransactionCountResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/TransactionCount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) GetCode(ctx context.Context, in *GetCodeRequest, opts ...grpc.CallOption) (*GetCodeResponse, error) {
out := new(GetCodeResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/GetCode", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) {
out := new(SignResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Sign", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error) {
out := new(SignTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SignTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error) {
out := new(SendTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) SendRawTransaction(ctx context.Context, in *SendRawTransactionRequest, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/SendRawTransaction", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) {
out := new(CallResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Call", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) NewFilter(ctx context.Context, in *NewFilterRequest, opts ...grpc.CallOption) (*NewFilterResponse, error) {
out := new(NewFilterResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/NewFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) NewBlockFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NewBlockFilterResponse, error) {
out := new(NewBlockFilterResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/NewBlockFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) PendingTransactionFilter(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PendingTransactionFilterResponse, error) {
out := new(PendingTransactionFilterResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/PendingTransactionFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) UninstallFilter(ctx context.Context, in *UninstallFilterRequest, opts ...grpc.CallOption) (*UninstallFilterResponse, error) {
out := new(UninstallFilterResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/UninstallFilter", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) FilterChanges(ctx context.Context, in *FilterChangesRequest, opts ...grpc.CallOption) (*FilterChangesResponse, error) {
out := new(FilterChangesResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/FilterChanges", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) FilterLogs(ctx context.Context, in *FilterLogsRequest, opts ...grpc.CallOption) (*FilterLogsResponse, error) {
out := new(FilterLogsResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/FilterLogs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *ringServiceClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (*LogsResponse, error) {
out := new(LogsResponse)
err := c.cc.Invoke(ctx, "/ring.v1.RingService/Logs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// RingServiceServer is the server API for RingService service.
// All implementations must embed UnimplementedRingServiceServer
// for forward compatibility
type RingServiceServer interface {
// web3
Sha3(context.Context, *Sha3Request) (*Sha3Response, error)
NodeVersion(context.Context, *emptypb.Empty) (*NodeVersionResponse, error)
// network info service
NetVersion(context.Context, *emptypb.Empty) (*NetVersionResponse, error)
NetPeerCount(context.Context, *emptypb.Empty) (*NetPeerCountResponse, error)
// node status
ProtocolVersion(context.Context, *emptypb.Empty) (*ProtocolVersionResponse, error)
Syncing(context.Context, *emptypb.Empty) (*SyncingResponse, error)
Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error)
Mining(context.Context, *emptypb.Empty) (*MiningResponse, error)
HashRate(context.Context, *emptypb.Empty) (*HashRateResponse, error)
Accounts(context.Context, *emptypb.Empty) (*AccountsResponse, error)
// tx operatoration
GasPrice(context.Context, *emptypb.Empty) (*GasPriceResponse, error)
// block info service
BlockNumber(context.Context, *emptypb.Empty) (*HeightResponse, error)
BlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error)
BlockByNumber(context.Context, *BlockByNumberRequest) (*BlockByNumberResponse, error)
BlockTransactionCountByHash(context.Context, *BlockTransactionCountByHashRequest) (*BlockTransactionCountByHashResponse, error)
BlockTransactionCountByNumber(context.Context, *BlockTransactionCountByNumberRequest) (*BlockTransactionCountByNumberResponse, error)
UncleCountByHash(context.Context, *UncleCountByHashRequest) (*UncleCountByHashResponse, error)
UncleCountByNumber(context.Context, *UncleCountByNumberRequest) (*UncleCountByNumberResponse, error)
UncleByBlockHashAndIndex(context.Context, *UncleByBlockHashAndIndexRequest) (*UncleByBlockHashAndIndexResponse, error)
UncleByBlockNumberAndIndex(context.Context, *UncleByBlockNumberAndIndexRequest) (*UncleByBlockNumberAndIndexResponse, error)
// compiler
Compilers(context.Context, *CompilersRequest) (*CompilersResponse, error)
CompileSolidity(context.Context, *CompileSolidityRequest) (*CompileSolidityResponse, error)
CompileLLL(context.Context, *CompileLLLRequest) (*CompileLLLResponse, error)
CompileSerpent(context.Context, *CompileSerpentRequest) (*CompileSerpentResponse, error)
// transaction info service
EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasResponse, error)
TransactionByHash(context.Context, *TransactionByHashRequest) (*TransactionByHashResponse, error)
TransactionByBlockHashAndIndex(context.Context, *TransactionByBlockHashAndIndexRequest) (*TransactionByBlockHashAndIndexResponse, error)
TransactionByBlockNumberAndIndex(context.Context, *TransactionByBlockNumberAndIndexRequest) (*TransactionByBlockNumberAndIndexResponse, error)
TransactionReceipt(context.Context, *TransactionReceiptRequest) (*TransactionReceiptResponse, error)
// account info service
Balance(context.Context, *BalanceRequest) (*BalanceResponse, error)
Storage(context.Context, *StorageRequest) (*StorageResponse, error)
Nonce(context.Context, *NonceRequest) (*NonceResponse, error)
RepeatedNonce(context.Context, *RepeatedNonceRequest) (*RepeatedNonceResponse, error)
TransactionCount(context.Context, *TransactionCountRequest) (*TransactionCountResponse, error)
GetCode(context.Context, *GetCodeRequest) (*GetCodeResponse, error)
Sign(context.Context, *SignRequest) (*SignResponse, error)
SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
SendRawTransaction(context.Context, *SendRawTransactionRequest) (*SendRawTransactionResponse, error)
Call(context.Context, *CallRequest) (*CallResponse, error)
// filter
NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error)
NewBlockFilter(context.Context, *emptypb.Empty) (*NewBlockFilterResponse, error)
PendingTransactionFilter(context.Context, *emptypb.Empty) (*PendingTransactionFilterResponse, error)
UninstallFilter(context.Context, *UninstallFilterRequest) (*UninstallFilterResponse, error)
FilterChanges(context.Context, *FilterChangesRequest) (*FilterChangesResponse, error)
FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsResponse, error)
Logs(context.Context, *LogsRequest) (*LogsResponse, error)
mustEmbedUnimplementedRingServiceServer()
}
// UnimplementedRingServiceServer must be embedded to have forward compatible implementations.
type UnimplementedRingServiceServer struct {
}
func (UnimplementedRingServiceServer) Sha3(context.Context, *Sha3Request) (*Sha3Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Sha3 not implemented")
}
func (UnimplementedRingServiceServer) NodeVersion(context.Context, *emptypb.Empty) (*NodeVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NodeVersion not implemented")
}
func (UnimplementedRingServiceServer) NetVersion(context.Context, *emptypb.Empty) (*NetVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NetVersion not implemented")
}
func (UnimplementedRingServiceServer) NetPeerCount(context.Context, *emptypb.Empty) (*NetPeerCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NetPeerCount not implemented")
}
func (UnimplementedRingServiceServer) ProtocolVersion(context.Context, *emptypb.Empty) (*ProtocolVersionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ProtocolVersion not implemented")
}
func (UnimplementedRingServiceServer) Syncing(context.Context, *emptypb.Empty) (*SyncingResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Syncing not implemented")
}
func (UnimplementedRingServiceServer) Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Coinbase not implemented")
}
func (UnimplementedRingServiceServer) Mining(context.Context, *emptypb.Empty) (*MiningResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Mining not implemented")
}
func (UnimplementedRingServiceServer) HashRate(context.Context, *emptypb.Empty) (*HashRateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method HashRate not implemented")
}
func (UnimplementedRingServiceServer) Accounts(context.Context, *emptypb.Empty) (*AccountsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Accounts not implemented")
}
func (UnimplementedRingServiceServer) GasPrice(context.Context, *emptypb.Empty) (*GasPriceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GasPrice not implemented")
}
func (UnimplementedRingServiceServer) BlockNumber(context.Context, *emptypb.Empty) (*HeightResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockNumber not implemented")
}
func (UnimplementedRingServiceServer) BlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockByHash not implemented")
}
func (UnimplementedRingServiceServer) BlockByNumber(context.Context, *BlockByNumberRequest) (*BlockByNumberResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockByNumber not implemented")
}
func (UnimplementedRingServiceServer) BlockTransactionCountByHash(context.Context, *BlockTransactionCountByHashRequest) (*BlockTransactionCountByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockTransactionCountByHash not implemented")
}
func (UnimplementedRingServiceServer) BlockTransactionCountByNumber(context.Context, *BlockTransactionCountByNumberRequest) (*BlockTransactionCountByNumberResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockTransactionCountByNumber not implemented")
}
func (UnimplementedRingServiceServer) UncleCountByHash(context.Context, *UncleCountByHashRequest) (*UncleCountByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleCountByHash not implemented")
}
func (UnimplementedRingServiceServer) UncleCountByNumber(context.Context, *UncleCountByNumberRequest) (*UncleCountByNumberResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleCountByNumber not implemented")
}
func (UnimplementedRingServiceServer) UncleByBlockHashAndIndex(context.Context, *UncleByBlockHashAndIndexRequest) (*UncleByBlockHashAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleByBlockHashAndIndex not implemented")
}
func (UnimplementedRingServiceServer) UncleByBlockNumberAndIndex(context.Context, *UncleByBlockNumberAndIndexRequest) (*UncleByBlockNumberAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UncleByBlockNumberAndIndex not implemented")
}
func (UnimplementedRingServiceServer) Compilers(context.Context, *CompilersRequest) (*CompilersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Compilers not implemented")
}
func (UnimplementedRingServiceServer) CompileSolidity(context.Context, *CompileSolidityRequest) (*CompileSolidityResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompileSolidity not implemented")
}
func (UnimplementedRingServiceServer) CompileLLL(context.Context, *CompileLLLRequest) (*CompileLLLResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompileLLL not implemented")
}
func (UnimplementedRingServiceServer) CompileSerpent(context.Context, *CompileSerpentRequest) (*CompileSerpentResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CompileSerpent not implemented")
}
func (UnimplementedRingServiceServer) EstimateGas(context.Context, *EstimateGasRequest) (*EstimateGasResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method EstimateGas not implemented")
}
func (UnimplementedRingServiceServer) TransactionByHash(context.Context, *TransactionByHashRequest) (*TransactionByHashResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionByHash not implemented")
}
func (UnimplementedRingServiceServer) TransactionByBlockHashAndIndex(context.Context, *TransactionByBlockHashAndIndexRequest) (*TransactionByBlockHashAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionByBlockHashAndIndex not implemented")
}
func (UnimplementedRingServiceServer) TransactionByBlockNumberAndIndex(context.Context, *TransactionByBlockNumberAndIndexRequest) (*TransactionByBlockNumberAndIndexResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionByBlockNumberAndIndex not implemented")
}
func (UnimplementedRingServiceServer) TransactionReceipt(context.Context, *TransactionReceiptRequest) (*TransactionReceiptResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionReceipt not implemented")
}
func (UnimplementedRingServiceServer) Balance(context.Context, *BalanceRequest) (*BalanceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Balance not implemented")
}
func (UnimplementedRingServiceServer) Storage(context.Context, *StorageRequest) (*StorageResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Storage not implemented")
}
func (UnimplementedRingServiceServer) Nonce(context.Context, *NonceRequest) (*NonceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Nonce not implemented")
}
func (UnimplementedRingServiceServer) RepeatedNonce(context.Context, *RepeatedNonceRequest) (*RepeatedNonceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RepeatedNonce not implemented")
}
func (UnimplementedRingServiceServer) TransactionCount(context.Context, *TransactionCountRequest) (*TransactionCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TransactionCount not implemented")
}
func (UnimplementedRingServiceServer) GetCode(context.Context, *GetCodeRequest) (*GetCodeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCode not implemented")
}
func (UnimplementedRingServiceServer) Sign(context.Context, *SignRequest) (*SignResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Sign not implemented")
}
func (UnimplementedRingServiceServer) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SignTransaction not implemented")
}
func (UnimplementedRingServiceServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented")
}
func (UnimplementedRingServiceServer) SendRawTransaction(context.Context, *SendRawTransactionRequest) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRawTransaction not implemented")
}
func (UnimplementedRingServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Call not implemented")
}
func (UnimplementedRingServiceServer) NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NewFilter not implemented")
}
func (UnimplementedRingServiceServer) NewBlockFilter(context.Context, *emptypb.Empty) (*NewBlockFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NewBlockFilter not implemented")
}
func (UnimplementedRingServiceServer) PendingTransactionFilter(context.Context, *emptypb.Empty) (*PendingTransactionFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method PendingTransactionFilter not implemented")
}
func (UnimplementedRingServiceServer) UninstallFilter(context.Context, *UninstallFilterRequest) (*UninstallFilterResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UninstallFilter not implemented")
}
func (UnimplementedRingServiceServer) FilterChanges(context.Context, *FilterChangesRequest) (*FilterChangesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterChanges not implemented")
}
func (UnimplementedRingServiceServer) FilterLogs(context.Context, *FilterLogsRequest) (*FilterLogsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterLogs not implemented")
}
func (UnimplementedRingServiceServer) Logs(context.Context, *LogsRequest) (*LogsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Logs not implemented")
}
func (UnimplementedRingServiceServer) mustEmbedUnimplementedRingServiceServer() {}
// UnsafeRingServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to RingServiceServer will
// result in compilation errors.
type UnsafeRingServiceServer interface {
mustEmbedUnimplementedRingServiceServer()
}
func RegisterRingServiceServer(s grpc.ServiceRegistrar, srv RingServiceServer) {
s.RegisterService(&RingService_ServiceDesc, srv)
}
func _RingService_Sha3_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Sha3Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Sha3(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Sha3",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Sha3(ctx, req.(*Sha3Request))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_NodeVersion_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).NodeVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/NodeVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).NodeVersion(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_NetVersion_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).NetVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/NetVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).NetVersion(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_NetPeerCount_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).NetPeerCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/NetPeerCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).NetPeerCount(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_ProtocolVersion_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).ProtocolVersion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/ProtocolVersion",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).ProtocolVersion(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Syncing_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).Syncing(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Syncing",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Syncing(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Coinbase_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).Coinbase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Coinbase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Coinbase(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Mining_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).Mining(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Mining",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Mining(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_HashRate_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).HashRate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/HashRate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).HashRate(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Accounts_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).Accounts(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Accounts",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Accounts(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_GasPrice_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).GasPrice(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/GasPrice",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).GasPrice(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_BlockNumber_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).BlockNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/BlockNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).BlockNumber(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_BlockByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).BlockByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/BlockByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).BlockByHash(ctx, req.(*BlockByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_BlockByNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockByNumberRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).BlockByNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/BlockByNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).BlockByNumber(ctx, req.(*BlockByNumberRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_BlockTransactionCountByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockTransactionCountByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).BlockTransactionCountByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/BlockTransactionCountByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).BlockTransactionCountByHash(ctx, req.(*BlockTransactionCountByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_BlockTransactionCountByNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BlockTransactionCountByNumberRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).BlockTransactionCountByNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/BlockTransactionCountByNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).BlockTransactionCountByNumber(ctx, req.(*BlockTransactionCountByNumberRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_UncleCountByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleCountByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).UncleCountByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/UncleCountByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).UncleCountByHash(ctx, req.(*UncleCountByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_UncleCountByNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleCountByNumberRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).UncleCountByNumber(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/UncleCountByNumber",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).UncleCountByNumber(ctx, req.(*UncleCountByNumberRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_UncleByBlockHashAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleByBlockHashAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).UncleByBlockHashAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/UncleByBlockHashAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).UncleByBlockHashAndIndex(ctx, req.(*UncleByBlockHashAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_UncleByBlockNumberAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UncleByBlockNumberAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).UncleByBlockNumberAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/UncleByBlockNumberAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).UncleByBlockNumberAndIndex(ctx, req.(*UncleByBlockNumberAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Compilers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompilersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Compilers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Compilers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Compilers(ctx, req.(*CompilersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_CompileSolidity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompileSolidityRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).CompileSolidity(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/CompileSolidity",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).CompileSolidity(ctx, req.(*CompileSolidityRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_CompileLLL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompileLLLRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).CompileLLL(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/CompileLLL",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).CompileLLL(ctx, req.(*CompileLLLRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_CompileSerpent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CompileSerpentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).CompileSerpent(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/CompileSerpent",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).CompileSerpent(ctx, req.(*CompileSerpentRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_EstimateGas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(EstimateGasRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).EstimateGas(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/EstimateGas",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).EstimateGas(ctx, req.(*EstimateGasRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_TransactionByHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionByHashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).TransactionByHash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/TransactionByHash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).TransactionByHash(ctx, req.(*TransactionByHashRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_TransactionByBlockHashAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionByBlockHashAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).TransactionByBlockHashAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/TransactionByBlockHashAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).TransactionByBlockHashAndIndex(ctx, req.(*TransactionByBlockHashAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_TransactionByBlockNumberAndIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionByBlockNumberAndIndexRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).TransactionByBlockNumberAndIndex(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/TransactionByBlockNumberAndIndex",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).TransactionByBlockNumberAndIndex(ctx, req.(*TransactionByBlockNumberAndIndexRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_TransactionReceipt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionReceiptRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).TransactionReceipt(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/TransactionReceipt",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).TransactionReceipt(ctx, req.(*TransactionReceiptRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Balance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BalanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Balance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Balance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Balance(ctx, req.(*BalanceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Storage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(StorageRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Storage(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Storage",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Storage(ctx, req.(*StorageRequest))
}
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 {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Nonce(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Nonce",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Nonce(ctx, req.(*NonceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_RepeatedNonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepeatedNonceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).RepeatedNonce(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/RepeatedNonce",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).RepeatedNonce(ctx, req.(*RepeatedNonceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_TransactionCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(TransactionCountRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).TransactionCount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/TransactionCount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).TransactionCount(ctx, req.(*TransactionCountRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_GetCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetCodeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).GetCode(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/GetCode",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).GetCode(ctx, req.(*GetCodeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Sign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SignRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Sign(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Sign",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Sign(ctx, req.(*SignRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SignTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SignTransactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SignTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SignTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SignTransaction(ctx, req.(*SignTransactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendTransactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendTransaction(ctx, req.(*SendTransactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_SendRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendRawTransactionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).SendRawTransaction(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/SendRawTransaction",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).SendRawTransaction(ctx, req.(*SendRawTransactionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Call_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CallRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Call(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Call",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Call(ctx, req.(*CallRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_NewFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(NewFilterRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).NewFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/NewFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).NewFilter(ctx, req.(*NewFilterRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_NewBlockFilter_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).NewBlockFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/NewBlockFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).NewBlockFilter(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_PendingTransactionFilter_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).PendingTransactionFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/PendingTransactionFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).PendingTransactionFilter(ctx, req.(*emptypb.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_UninstallFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UninstallFilterRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).UninstallFilter(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/UninstallFilter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).UninstallFilter(ctx, req.(*UninstallFilterRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_FilterChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FilterChangesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).FilterChanges(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/FilterChanges",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).FilterChanges(ctx, req.(*FilterChangesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_FilterLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FilterLogsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).FilterLogs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/FilterLogs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).FilterLogs(ctx, req.(*FilterLogsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RingService_Logs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LogsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RingServiceServer).Logs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ring.v1.RingService/Logs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RingServiceServer).Logs(ctx, req.(*LogsRequest))
}
return interceptor(ctx, in, info, handler)
}
// RingService_ServiceDesc is the grpc.ServiceDesc for RingService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var RingService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "ring.v1.RingService",
HandlerType: (*RingServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Sha3",
Handler: _RingService_Sha3_Handler,
},
{
MethodName: "NodeVersion",
Handler: _RingService_NodeVersion_Handler,
},
{
MethodName: "NetVersion",
Handler: _RingService_NetVersion_Handler,
},
{
MethodName: "NetPeerCount",
Handler: _RingService_NetPeerCount_Handler,
},
{
MethodName: "ProtocolVersion",
Handler: _RingService_ProtocolVersion_Handler,
},
{
MethodName: "Syncing",
Handler: _RingService_Syncing_Handler,
},
{
MethodName: "Coinbase",
Handler: _RingService_Coinbase_Handler,
},
{
MethodName: "Mining",
Handler: _RingService_Mining_Handler,
},
{
MethodName: "HashRate",
Handler: _RingService_HashRate_Handler,
},
{
MethodName: "Accounts",
Handler: _RingService_Accounts_Handler,
},
{
MethodName: "GasPrice",
Handler: _RingService_GasPrice_Handler,
},
{
MethodName: "BlockNumber",
Handler: _RingService_BlockNumber_Handler,
},
{
MethodName: "BlockByHash",
Handler: _RingService_BlockByHash_Handler,
},
{
MethodName: "BlockByNumber",
Handler: _RingService_BlockByNumber_Handler,
},
{
MethodName: "BlockTransactionCountByHash",
Handler: _RingService_BlockTransactionCountByHash_Handler,
},
{
MethodName: "BlockTransactionCountByNumber",
Handler: _RingService_BlockTransactionCountByNumber_Handler,
},
{
MethodName: "UncleCountByHash",
Handler: _RingService_UncleCountByHash_Handler,
},
{
MethodName: "UncleCountByNumber",
Handler: _RingService_UncleCountByNumber_Handler,
},
{
MethodName: "UncleByBlockHashAndIndex",
Handler: _RingService_UncleByBlockHashAndIndex_Handler,
},
{
MethodName: "UncleByBlockNumberAndIndex",
Handler: _RingService_UncleByBlockNumberAndIndex_Handler,
},
{
MethodName: "Compilers",
Handler: _RingService_Compilers_Handler,
},
{
MethodName: "CompileSolidity",
Handler: _RingService_CompileSolidity_Handler,
},
{
MethodName: "CompileLLL",
Handler: _RingService_CompileLLL_Handler,
},
{
MethodName: "CompileSerpent",
Handler: _RingService_CompileSerpent_Handler,
},
{
MethodName: "EstimateGas",
Handler: _RingService_EstimateGas_Handler,
},
{
MethodName: "TransactionByHash",
Handler: _RingService_TransactionByHash_Handler,
},
{
MethodName: "TransactionByBlockHashAndIndex",
Handler: _RingService_TransactionByBlockHashAndIndex_Handler,
},
{
MethodName: "TransactionByBlockNumberAndIndex",
Handler: _RingService_TransactionByBlockNumberAndIndex_Handler,
},
{
MethodName: "TransactionReceipt",
Handler: _RingService_TransactionReceipt_Handler,
},
{
MethodName: "Balance",
Handler: _RingService_Balance_Handler,
},
{
MethodName: "Storage",
Handler: _RingService_Storage_Handler,
},
{
MethodName: "Nonce",
Handler: _RingService_Nonce_Handler,
},
{
MethodName: "RepeatedNonce",
Handler: _RingService_RepeatedNonce_Handler,
},
{
MethodName: "TransactionCount",
Handler: _RingService_TransactionCount_Handler,
},
{
MethodName: "GetCode",
Handler: _RingService_GetCode_Handler,
},
{
MethodName: "Sign",
Handler: _RingService_Sign_Handler,
},
{
MethodName: "SignTransaction",
Handler: _RingService_SignTransaction_Handler,
},
{
MethodName: "SendTransaction",
Handler: _RingService_SendTransaction_Handler,
},
{
MethodName: "SendRawTransaction",
Handler: _RingService_SendRawTransaction_Handler,
},
{
MethodName: "Call",
Handler: _RingService_Call_Handler,
},
{
MethodName: "NewFilter",
Handler: _RingService_NewFilter_Handler,
},
{
MethodName: "NewBlockFilter",
Handler: _RingService_NewBlockFilter_Handler,
},
{
MethodName: "PendingTransactionFilter",
Handler: _RingService_PendingTransactionFilter_Handler,
},
{
MethodName: "UninstallFilter",
Handler: _RingService_UninstallFilter_Handler,
},
{
MethodName: "FilterChanges",
Handler: _RingService_FilterChanges_Handler,
},
{
MethodName: "FilterLogs",
Handler: _RingService_FilterLogs_Handler,
},
{
MethodName: "Logs",
Handler: _RingService_Logs_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "ring/v1/service.proto",
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: sentry/v1/request_response.proto
package sentryv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "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 LimitInfoRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
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 (x *LimitInfoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use LimitInfoRequest.ProtoReflect.Descriptor instead.
func (*LimitInfoRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{0}
}
type LimitInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 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"`
}
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 (x *LimitInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use LimitInfoResponse.ProtoReflect.Descriptor instead.
func (*LimitInfoResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{1}
}
func (x *LimitInfoResponse) GetBatchTxCount() uint32 {
if x != nil {
return x.BatchTxCount
}
return 0
}
func (x *LimitInfoResponse) GetBlockBatchCount() uint32 {
if x != nil {
return x.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"`
}
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 (x *CommitBatchTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use CommitBatchTxRequest.ProtoReflect.Descriptor instead.
func (*CommitBatchTxRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{2}
}
func (x *CommitBatchTxRequest) GetTxdata() []byte {
if x != nil {
return x.Txdata
}
return nil
}
func (x *CommitBatchTxRequest) GetSize() int64 {
if x != nil {
return x.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"`
}
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 (x *CommitBatchTxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use CommitBatchTxResponse.ProtoReflect.Descriptor instead.
func (*CommitBatchTxResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{3}
}
func (x *CommitBatchTxResponse) GetTxhash() string {
if x != nil {
return x.Txhash
}
return ""
}
func (x *CommitBatchTxResponse) GetErrMsg() string {
if x != nil {
return x.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"`
}
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 (x *GetReceiptRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use GetReceiptRequest.ProtoReflect.Descriptor instead.
func (*GetReceiptRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{4}
}
func (x *GetReceiptRequest) GetTxhash() string {
if x != nil {
return x.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"`
}
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 (x *GetReceiptResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use GetReceiptResponse.ProtoReflect.Descriptor instead.
func (*GetReceiptResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{5}
}
func (x *GetReceiptResponse) GetReceiptData() []byte {
if x != nil {
return x.ReceiptData
}
return nil
}
func (x *GetReceiptResponse) GetErrMsg() string {
if x != nil {
return x.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"`
}
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 (x *GetNewBlockRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use GetNewBlockRequest.ProtoReflect.Descriptor instead.
func (*GetNewBlockRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{6}
}
func (x *GetNewBlockRequest) GetLastBlock() uint32 {
if x != nil {
return x.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"`
}
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 (x *GetNewBlockResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use GetNewBlockResponse.ProtoReflect.Descriptor instead.
func (*GetNewBlockResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{7}
}
func (x *GetNewBlockResponse) GetBlockNum() uint32 {
if x != nil {
return x.BlockNum
}
return 0
}
func (x *GetNewBlockResponse) GetBlockTime() uint64 {
if x != nil {
return x.BlockTime
}
return 0
}
func (x *GetNewBlockResponse) GetBatchTxs() string {
if x != nil {
return x.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"`
}
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 (x *CommitBlockRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use CommitBlockRequest.ProtoReflect.Descriptor instead.
func (*CommitBlockRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{8}
}
func (x *CommitBlockRequest) GetValidator() string {
if x != nil {
return x.Validator
}
return ""
}
func (x *CommitBlockRequest) GetBlockNumber() uint64 {
if x != nil {
return x.BlockNumber
}
return 0
}
func (x *CommitBlockRequest) GetBlockData() []byte {
if x != nil {
return x.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"`
}
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 (x *CommitBlockResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use CommitBlockResponse.ProtoReflect.Descriptor instead.
func (*CommitBlockResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{9}
}
func (x *CommitBlockResponse) GetTxhash() string {
if x != nil {
return x.Txhash
}
return ""
}
func (x *CommitBlockResponse) GetErrMsg() string {
if x != nil {
return x.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"`
}
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 (x *GetConsensusedBlockRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use GetConsensusedBlockRequest.ProtoReflect.Descriptor instead.
func (*GetConsensusedBlockRequest) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{10}
}
func (x *GetConsensusedBlockRequest) GetBlockNumber() uint64 {
if x != nil {
return x.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"`
}
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 (x *GetConsensusedBlockResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use GetConsensusedBlockResponse.ProtoReflect.Descriptor instead.
func (*GetConsensusedBlockResponse) Descriptor() ([]byte, []int) {
return file_sentry_v1_request_response_proto_rawDescGZIP(), []int{11}
}
func (x *GetConsensusedBlockResponse) GetBlockNumber() uint64 {
if x != nil {
return x.BlockNumber
}
return 0
}
func (x *GetConsensusedBlockResponse) GetBlockData() []byte {
if x != nil {
return x.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, 0xac, 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, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d,
0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: sentry/v1/resource.proto
package sentryv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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
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, 0xa5, 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, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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_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() { 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: sentry/v1/service.proto
package sentryv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
)
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
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, 0xa4, 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, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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_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() { 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
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: sentry/v1/service.proto
package sentryv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// SentryServiceClient is the client API for SentryService service.
//
// 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 {
// 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
// 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.
CommitBlock(ctx context.Context, in *CommitBlockRequest, opts ...grpc.CallOption) (*CommitBlockResponse, error)
// GetConsensusedBlock used for nebula get special block consensus result.
GetConfirmedBlock(ctx context.Context, in *GetConsensusedBlockRequest, opts ...grpc.CallOption) (*GetConsensusedBlockResponse, error)
}
type sentryServiceClient struct {
cc grpc.ClientConnInterface
}
func NewSentryServiceClient(cc grpc.ClientConnInterface) SentryServiceClient {
return &sentryServiceClient{cc}
}
func (c *sentryServiceClient) GetLimitInfo(ctx context.Context, in *LimitInfoRequest, opts ...grpc.CallOption) (*LimitInfoResponse, error) {
out := new(LimitInfoResponse)
err := c.cc.Invoke(ctx, "/sentry.v1.SentryService/GetLimitInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sentryServiceClient) CommitBatchTx(ctx context.Context, in *CommitBatchTxRequest, opts ...grpc.CallOption) (*CommitBatchTxResponse, error) {
out := new(CommitBatchTxResponse)
err := c.cc.Invoke(ctx, "/sentry.v1.SentryService/CommitBatchTx", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sentryServiceClient) GetBatchTxResult(ctx context.Context, in *GetReceiptRequest, opts ...grpc.CallOption) (*GetReceiptResponse, error) {
out := new(GetReceiptResponse)
err := c.cc.Invoke(ctx, "/sentry.v1.SentryService/GetBatchTxResult", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sentryServiceClient) GetNewBlock(ctx context.Context, in *GetNewBlockRequest, opts ...grpc.CallOption) (*GetNewBlockResponse, error) {
out := new(GetNewBlockResponse)
err := c.cc.Invoke(ctx, "/sentry.v1.SentryService/GetNewBlock", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sentryServiceClient) CommitBlock(ctx context.Context, in *CommitBlockRequest, opts ...grpc.CallOption) (*CommitBlockResponse, error) {
out := new(CommitBlockResponse)
err := c.cc.Invoke(ctx, "/sentry.v1.SentryService/CommitBlock", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sentryServiceClient) GetConfirmedBlock(ctx context.Context, in *GetConsensusedBlockRequest, opts ...grpc.CallOption) (*GetConsensusedBlockResponse, error) {
out := new(GetConsensusedBlockResponse)
err := c.cc.Invoke(ctx, "/sentry.v1.SentryService/GetConfirmedBlock", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// SentryServiceServer is the server API for SentryService service.
// All implementations must embed UnimplementedSentryServiceServer
// for forward compatibility
type SentryServiceServer interface {
// 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
// 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.
CommitBlock(context.Context, *CommitBlockRequest) (*CommitBlockResponse, error)
// GetConsensusedBlock used for nebula get special block consensus result.
GetConfirmedBlock(context.Context, *GetConsensusedBlockRequest) (*GetConsensusedBlockResponse, error)
mustEmbedUnimplementedSentryServiceServer()
}
// UnimplementedSentryServiceServer must be embedded to have forward compatible implementations.
type UnimplementedSentryServiceServer struct {
}
func (UnimplementedSentryServiceServer) GetLimitInfo(context.Context, *LimitInfoRequest) (*LimitInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetLimitInfo not implemented")
}
func (UnimplementedSentryServiceServer) CommitBatchTx(context.Context, *CommitBatchTxRequest) (*CommitBatchTxResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CommitBatchTx not implemented")
}
func (UnimplementedSentryServiceServer) GetBatchTxResult(context.Context, *GetReceiptRequest) (*GetReceiptResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBatchTxResult not implemented")
}
func (UnimplementedSentryServiceServer) GetNewBlock(context.Context, *GetNewBlockRequest) (*GetNewBlockResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetNewBlock not implemented")
}
func (UnimplementedSentryServiceServer) CommitBlock(context.Context, *CommitBlockRequest) (*CommitBlockResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CommitBlock not implemented")
}
func (UnimplementedSentryServiceServer) GetConfirmedBlock(context.Context, *GetConsensusedBlockRequest) (*GetConsensusedBlockResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetConfirmedBlock not implemented")
}
func (UnimplementedSentryServiceServer) mustEmbedUnimplementedSentryServiceServer() {}
// UnsafeSentryServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to SentryServiceServer will
// result in compilation errors.
type UnsafeSentryServiceServer interface {
mustEmbedUnimplementedSentryServiceServer()
}
func RegisterSentryServiceServer(s grpc.ServiceRegistrar, srv SentryServiceServer) {
s.RegisterService(&SentryService_ServiceDesc, srv)
}
func _SentryService_GetLimitInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LimitInfoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SentryServiceServer).GetLimitInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/sentry.v1.SentryService/GetLimitInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SentryServiceServer).GetLimitInfo(ctx, req.(*LimitInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SentryService_CommitBatchTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CommitBatchTxRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SentryServiceServer).CommitBatchTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/sentry.v1.SentryService/CommitBatchTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SentryServiceServer).CommitBatchTx(ctx, req.(*CommitBatchTxRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SentryService_GetBatchTxResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetReceiptRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SentryServiceServer).GetBatchTxResult(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/sentry.v1.SentryService/GetBatchTxResult",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SentryServiceServer).GetBatchTxResult(ctx, req.(*GetReceiptRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SentryService_GetNewBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetNewBlockRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SentryServiceServer).GetNewBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/sentry.v1.SentryService/GetNewBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SentryServiceServer).GetNewBlock(ctx, req.(*GetNewBlockRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SentryService_CommitBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CommitBlockRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SentryServiceServer).CommitBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/sentry.v1.SentryService/CommitBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SentryServiceServer).CommitBlock(ctx, req.(*CommitBlockRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SentryService_GetConfirmedBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetConsensusedBlockRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SentryServiceServer).GetConfirmedBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/sentry.v1.SentryService/GetConfirmedBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SentryServiceServer).GetConfirmedBlock(ctx, req.(*GetConsensusedBlockRequest))
}
return interceptor(ctx, in, info, handler)
}
// SentryService_ServiceDesc is the grpc.ServiceDesc for SentryService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var SentryService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "sentry.v1.SentryService",
HandlerType: (*SentryServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetLimitInfo",
Handler: _SentryService_GetLimitInfo_Handler,
},
{
MethodName: "CommitBatchTx",
Handler: _SentryService_CommitBatchTx_Handler,
},
{
MethodName: "GetBatchTxResult",
Handler: _SentryService_GetBatchTxResult_Handler,
},
{
MethodName: "GetNewBlock",
Handler: _SentryService_GetNewBlock_Handler,
},
{
MethodName: "CommitBlock",
Handler: _SentryService_CommitBlock_Handler,
},
{
MethodName: "GetConfirmedBlock",
Handler: _SentryService_GetConfirmedBlock_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "sentry/v1/service.proto",
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: txchecker/v1/request_response.proto
package txcheckerv1
import (
v1 "github.com/cmpchain/metaprotocol/gen/proto/go/base/v1"
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)
)
// The standard BatchGet request definition.
type BatchCheckTxRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Txs []*v1.CheckTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
}
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 (x *BatchCheckTxRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchCheckTxRequest.ProtoReflect.Descriptor instead.
func (*BatchCheckTxRequest) Descriptor() ([]byte, []int) {
return file_txchecker_v1_request_response_proto_rawDescGZIP(), []int{0}
}
func (x *BatchCheckTxRequest) GetTxs() []*v1.CheckTx {
if x != nil {
return x.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"`
}
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 (x *BatchCheckTxResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
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)
}
// Deprecated: Use BatchCheckTxResponse.ProtoReflect.Descriptor instead.
func (*BatchCheckTxResponse) Descriptor() ([]byte, []int) {
return file_txchecker_v1_request_response_proto_rawDescGZIP(), []int{1}
}
func (x *BatchCheckTxResponse) GetStatus() []bool {
if x != nil {
return x.Status
}
return nil
}
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, 0x39, 0x0a, 0x13, 0x42,
0x61, 0x74, 0x63, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 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, 0xc1, 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, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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,
}
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 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.CheckTx)(nil), // 2: base.v1.CheckTx
}
var file_txchecker_v1_request_response_proto_depIdxs = []int32{
2, // 0: txchecker.v1.BatchCheckTxRequest.txs:type_name -> base.v1.CheckTx
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 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: txchecker/v1/resource.proto
package txcheckerv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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
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, 0xba, 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, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d,
0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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,
}
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() { 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
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: txchecker/v1/service.proto
package txcheckerv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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
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, 0xb9, 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, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6d,
0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 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,
}
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() { 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
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: txchecker/v1/service.proto
package txcheckerv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// TxCheckerServiceClient is the client API for TxCheckerService service.
//
// 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 TxCheckerServiceClient interface {
BatchCheckTx(ctx context.Context, in *BatchCheckTxRequest, opts ...grpc.CallOption) (*BatchCheckTxResponse, error)
}
type txCheckerServiceClient struct {
cc grpc.ClientConnInterface
}
func NewTxCheckerServiceClient(cc grpc.ClientConnInterface) TxCheckerServiceClient {
return &txCheckerServiceClient{cc}
}
func (c *txCheckerServiceClient) BatchCheckTx(ctx context.Context, in *BatchCheckTxRequest, opts ...grpc.CallOption) (*BatchCheckTxResponse, error) {
out := new(BatchCheckTxResponse)
err := c.cc.Invoke(ctx, "/txchecker.v1.TxCheckerService/BatchCheckTx", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// TxCheckerServiceServer is the server API for TxCheckerService service.
// All implementations must embed UnimplementedTxCheckerServiceServer
// for forward compatibility
type TxCheckerServiceServer interface {
BatchCheckTx(context.Context, *BatchCheckTxRequest) (*BatchCheckTxResponse, error)
mustEmbedUnimplementedTxCheckerServiceServer()
}
// UnimplementedTxCheckerServiceServer must be embedded to have forward compatible implementations.
type UnimplementedTxCheckerServiceServer struct {
}
func (UnimplementedTxCheckerServiceServer) BatchCheckTx(context.Context, *BatchCheckTxRequest) (*BatchCheckTxResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchCheckTx not implemented")
}
func (UnimplementedTxCheckerServiceServer) mustEmbedUnimplementedTxCheckerServiceServer() {}
// UnsafeTxCheckerServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to TxCheckerServiceServer will
// result in compilation errors.
type UnsafeTxCheckerServiceServer interface {
mustEmbedUnimplementedTxCheckerServiceServer()
}
func RegisterTxCheckerServiceServer(s grpc.ServiceRegistrar, srv TxCheckerServiceServer) {
s.RegisterService(&TxCheckerService_ServiceDesc, srv)
}
func _TxCheckerService_BatchCheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchCheckTxRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(TxCheckerServiceServer).BatchCheckTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/txchecker.v1.TxCheckerService/BatchCheckTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TxCheckerServiceServer).BatchCheckTx(ctx, req.(*BatchCheckTxRequest))
}
return interceptor(ctx, in, info, handler)
}
// TxCheckerService_ServiceDesc is the grpc.ServiceDesc for TxCheckerService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var TxCheckerService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "txchecker.v1.TxCheckerService",
HandlerType: (*TxCheckerServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "BatchCheckTx",
Handler: _TxCheckerService_BatchCheckTx_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "txchecker/v1/service.proto",
}
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