Commit a85d2fe3 authored by vicotor's avatar vicotor

update gen pb.go

parent ab305b59
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: base/v1/batchtx.proto
package basev1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/anypb"
_ "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// BatchTx include one batchHash and all original tx contained in batch.
// it will broadcast to nebula over p2p module, and then save in p2p module.
// Amount metaprooftx make a batch tx, and generate a batch_hash,
type BatchTx struct {
BatchHash *Hash `protobuf:"bytes,1,opt,name=batch_hash,json=batchHash,proto3" json:"batch_hash,omitempty"`
Txs []*MetaProofTx `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchTx) Reset() { *m = BatchTx{} }
func (m *BatchTx) String() string { return proto.CompactTextString(m) }
func (*BatchTx) ProtoMessage() {}
func (*BatchTx) Descriptor() ([]byte, []int) {
return fileDescriptor_c9fefc07327b2629, []int{0}
}
func (m *BatchTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchTx.Unmarshal(m, b)
}
func (m *BatchTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchTx.Marshal(b, m, deterministic)
}
func (m *BatchTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchTx.Merge(m, src)
}
func (m *BatchTx) XXX_Size() int {
return xxx_messageInfo_BatchTx.Size(m)
}
func (m *BatchTx) XXX_DiscardUnknown() {
xxx_messageInfo_BatchTx.DiscardUnknown(m)
}
var xxx_messageInfo_BatchTx proto.InternalMessageInfo
func (m *BatchTx) GetBatchHash() *Hash {
if m != nil {
return m.BatchHash
}
return nil
}
func (m *BatchTx) GetTxs() []*MetaProofTx {
if m != nil {
return m.Txs
}
return nil
}
func init() {
proto.RegisterType((*BatchTx)(nil), "base.v1.BatchTx")
}
func init() { proto.RegisterFile("base/v1/batchtx.proto", fileDescriptor_c9fefc07327b2629) }
var fileDescriptor_c9fefc07327b2629 = []byte{
// 304 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0xcf, 0x4a, 0xc3, 0x40,
0x10, 0xc6, 0x49, 0x0a, 0x56, 0x37, 0x7a, 0x89, 0x7f, 0xa8, 0xbd, 0x58, 0x3c, 0x48, 0x0f, 0x92,
0x65, 0xeb, 0xad, 0xde, 0xd6, 0x83, 0x5e, 0x0a, 0xa1, 0x94, 0x50, 0xa4, 0x50, 0x36, 0xdb, 0x69,
0x52, 0x68, 0x3a, 0x21, 0xbb, 0x09, 0xf1, 0x75, 0xbc, 0x08, 0x3e, 0x8a, 0x8f, 0xe1, 0xd1, 0xa7,
0x90, 0xdd, 0x24, 0x1e, 0x3c, 0x65, 0xf2, 0xdb, 0x1f, 0x33, 0xdf, 0x47, 0x2e, 0x63, 0xa1, 0x80,
0x56, 0x8c, 0xc6, 0x42, 0xcb, 0x54, 0xd7, 0x41, 0x5e, 0xa0, 0x46, 0xbf, 0x6f, 0x70, 0x50, 0xb1,
0xe1, 0x4d, 0x82, 0x98, 0xec, 0x81, 0x5a, 0x1c, 0x97, 0x5b, 0xaa, 0x77, 0x19, 0x28, 0x2d, 0xb2,
0xbc, 0x31, 0x87, 0xd7, 0xff, 0x05, 0x71, 0x78, 0x6b, 0x9f, 0xae, 0xba, 0xdd, 0x05, 0x28, 0x2c,
0x0b, 0x09, 0x2d, 0xf7, 0x3b, 0x9e, 0x81, 0x16, 0x0d, 0xbb, 0x5d, 0x93, 0x3e, 0x37, 0x09, 0x16,
0xb5, 0x7f, 0x4f, 0x88, 0x0d, 0xb3, 0x4e, 0x85, 0x4a, 0x07, 0xce, 0xc8, 0x19, 0x7b, 0x93, 0xb3,
0xa0, 0x0d, 0x14, 0xbc, 0x08, 0x95, 0xce, 0x4f, 0xac, 0x60, 0x46, 0xff, 0x8e, 0xf4, 0x74, 0xad,
0x06, 0xee, 0xa8, 0x37, 0xf6, 0x26, 0x17, 0x7f, 0xda, 0x0c, 0xb4, 0x08, 0x0b, 0xc4, 0xed, 0xa2,
0x9e, 0x1b, 0x81, 0x7f, 0x38, 0xc4, 0x93, 0x98, 0x75, 0x02, 0x3f, 0xe5, 0x4d, 0xe1, 0xd0, 0x9c,
0x0f, 0x9d, 0xd7, 0x59, 0xb2, 0xd3, 0x69, 0x19, 0x07, 0x12, 0x33, 0xfa, 0x24, 0x36, 0xa5, 0x84,
0x52, 0x99, 0x25, 0x15, 0x14, 0x0a, 0xac, 0x24, 0x71, 0x6f, 0x13, 0xe7, 0xdd, 0x4f, 0x02, 0x87,
0xa6, 0x36, 0x4d, 0x90, 0xb6, 0x9d, 0x1e, 0xcd, 0xb7, 0x62, 0xef, 0x6e, 0x8f, 0x2f, 0x97, 0x9f,
0x6e, 0x9f, 0x9b, 0x73, 0x11, 0xfb, 0x6a, 0xa6, 0x55, 0xc4, 0xbe, 0xdd, 0xf3, 0x76, 0x5a, 0x3d,
0x87, 0xdc, 0x5c, 0xd8, 0x08, 0x2d, 0x7e, 0xdc, 0x63, 0x43, 0xa7, 0xd3, 0x88, 0xc5, 0x47, 0x76,
0xe7, 0xc3, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, 0xd6, 0x3e, 0x1f, 0x9b, 0x01, 0x00, 0x00,
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/options.proto // source: base/v1/options.proto
package basev1 package basev1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
descriptorpb "google.golang.org/protobuf/types/descriptorpb" descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
var file_base_v1_options_proto_extTypes = []protoimpl.ExtensionInfo{ var E_BytesSize = &proto.ExtensionDesc{
{
ExtendedType: (*descriptorpb.FieldOptions)(nil), ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*uint32)(nil), ExtensionType: (*uint32)(nil),
Field: 50000, Field: 50000,
Name: "base.v1.bytes_size", Name: "base.v1.bytes_size",
Tag: "varint,50000,opt,name=bytes_size", Tag: "varint,50000,opt,name=bytes_size",
Filename: "base/v1/options.proto", Filename: "base/v1/options.proto",
},
}
// Extension fields to descriptorpb.FieldOptions.
var (
// optional uint32 bytes_size = 50000;
E_BytesSize = &file_base_v1_options_proto_extTypes[0] // define bytes data size.
)
var File_base_v1_options_proto protoreflect.FileDescriptor
var file_base_v1_options_proto_rawDesc = []byte{
0x0a, 0x15, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x3a, 0x3e, 0x0a, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65,
0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
0xd0, 0x86, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x69,
0x7a, 0x65, 0x42, 0xa7, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
0x76, 0x31, 0x42, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x56,
0x31, 0xca, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x42, 0x61,
0x73, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x08, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
} }
var file_base_v1_options_proto_goTypes = []interface{}{ func init() {
(*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions proto.RegisterExtension(E_BytesSize)
}
var file_base_v1_options_proto_depIdxs = []int32{
0, // 0: base.v1.bytes_size:extendee -> google.protobuf.FieldOptions
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
0, // [0:1] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
} }
func init() { file_base_v1_options_proto_init() } func init() { proto.RegisterFile("base/v1/options.proto", fileDescriptor_35190a910ebf5bf3) }
func file_base_v1_options_proto_init() {
if File_base_v1_options_proto != nil { var fileDescriptor_35190a910ebf5bf3 = []byte{
return // 257 bytes of a gzipped FileDescriptorProto
} 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x4a, 0x2c, 0x4e,
type x struct{} 0xd5, 0x2f, 0x33, 0xd4, 0xcf, 0x2f, 0x28, 0xc9, 0xcc, 0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f,
out := protoimpl.TypeBuilder{ 0xc9, 0x17, 0x62, 0x07, 0x09, 0xeb, 0x95, 0x19, 0x4a, 0x29, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4,
File: protoimpl.DescBuilder{ 0xea, 0x83, 0x85, 0x93, 0x4a, 0xd3, 0xf4, 0x53, 0x52, 0x8b, 0x93, 0x8b, 0x32, 0x0b, 0x4a, 0xf2,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x8b, 0x20, 0x4a, 0xad, 0xec, 0xb8, 0xb8, 0x92, 0x2a, 0x4b, 0x52, 0x8b, 0xe3, 0x8b, 0x33, 0xab,
RawDescriptor: file_base_v1_options_proto_rawDesc, 0x52, 0x85, 0x64, 0xf5, 0x20, 0x1a, 0xf4, 0x60, 0x1a, 0xf4, 0xdc, 0x32, 0x53, 0x73, 0x52, 0xfc,
NumEnums: 0, 0x21, 0xa6, 0x4b, 0x5c, 0x68, 0x63, 0x56, 0x60, 0xd4, 0xe0, 0x0d, 0xe2, 0x04, 0x6b, 0x09, 0xce,
NumMessages: 0, 0xac, 0x4a, 0x75, 0x5a, 0xce, 0xc8, 0xc5, 0x9d, 0x9c, 0x9f, 0xab, 0x07, 0xb5, 0xd1, 0x89, 0x07,
NumExtensions: 1, 0xaa, 0x36, 0x00, 0x64, 0x40, 0x00, 0x63, 0x94, 0x6f, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e,
NumServices: 0, 0x72, 0x7e, 0xae, 0xbe, 0x73, 0x62, 0x4a, 0x69, 0x72, 0x6a, 0x69, 0xb1, 0x6f, 0x6a, 0x49, 0x62,
}, 0x59, 0x6a, 0x51, 0x71, 0x2a, 0x58, 0x51, 0x72, 0x7e, 0x8e, 0x7e, 0x6e, 0x6a, 0x49, 0x62, 0x01,
GoTypes: file_base_v1_options_proto_goTypes, 0x8c, 0x93, 0x9e, 0x9a, 0x07, 0x71, 0xb0, 0x7e, 0x7a, 0xbe, 0x3e, 0xd4, 0x83, 0xd6, 0x20, 0xba,
DependencyIndexes: file_base_v1_options_proto_depIdxs, 0xcc, 0x70, 0x11, 0x13, 0xb3, 0x53, 0x44, 0xc4, 0x2a, 0x26, 0x76, 0x27, 0x90, 0x75, 0x61, 0x86,
ExtensionInfos: file_base_v1_options_proto_extTypes, 0xa7, 0x20, 0xac, 0x98, 0x30, 0xc3, 0x47, 0x4c, 0xc2, 0x50, 0x56, 0x8c, 0x7b, 0x80, 0x13, 0xc8,
}.Build() 0x86, 0x94, 0xc4, 0x92, 0xc4, 0x57, 0x4c, 0x1c, 0x20, 0x51, 0x2b, 0xab, 0x30, 0xc3, 0x24, 0x36,
File_base_v1_options_proto = out.File 0xb0, 0x99, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x32, 0x5f, 0x14, 0x34, 0x01, 0x00,
file_base_v1_options_proto_rawDesc = nil 0x00,
file_base_v1_options_proto_goTypes = nil
file_base_v1_options_proto_depIdxs = nil
} }
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/request_response.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type RLPData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *RLPData) Reset() {
*x = RLPData{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_request_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RLPData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RLPData) ProtoMessage() {}
func (x *RLPData) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_request_response_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RLPData.ProtoReflect.Descriptor instead.
func (*RLPData) Descriptor() ([]byte, []int) {
return file_base_v1_request_response_proto_rawDescGZIP(), []int{0}
}
func (x *RLPData) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
type Account struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
Balance []byte `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
StateRoot *Hash `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
}
func (x *Account) Reset() {
*x = Account{}
if protoimpl.UnsafeEnabled {
mi := &file_base_v1_request_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Account) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Account) ProtoMessage() {}
func (x *Account) ProtoReflect() protoreflect.Message {
mi := &file_base_v1_request_response_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
func (*Account) Descriptor() ([]byte, []int) {
return file_base_v1_request_response_proto_rawDescGZIP(), []int{1}
}
func (x *Account) GetAddress() *Address {
if x != nil {
return x.Address
}
return nil
}
func (x *Account) GetNonce() []byte {
if x != nil {
return x.Nonce
}
return nil
}
func (x *Account) GetBalance() []byte {
if x != nil {
return x.Balance
}
return nil
}
func (x *Account) GetStateRoot() *Hash {
if x != nil {
return x.StateRoot
}
return nil
}
var File_base_v1_request_response_proto protoreflect.FileDescriptor
var file_base_v1_request_response_proto_rawDesc = []byte{
0x0a, 0x1e, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f,
0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x1d, 0x0a, 0x07, 0x52, 0x4c, 0x50, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x22, 0x93, 0x01, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x07,
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52,
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74,
0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x09, 0x73, 0x74, 0x61,
0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x42, 0xaf, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d,
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63,
0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62,
0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03,
0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07,
0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08,
0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_base_v1_request_response_proto_rawDescOnce sync.Once
file_base_v1_request_response_proto_rawDescData = file_base_v1_request_response_proto_rawDesc
)
func file_base_v1_request_response_proto_rawDescGZIP() []byte {
file_base_v1_request_response_proto_rawDescOnce.Do(func() {
file_base_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_v1_request_response_proto_rawDescData)
})
return file_base_v1_request_response_proto_rawDescData
}
var file_base_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_base_v1_request_response_proto_goTypes = []interface{}{
(*RLPData)(nil), // 0: base.v1.RLPData
(*Account)(nil), // 1: base.v1.Account
(*Address)(nil), // 2: base.v1.Address
(*Hash)(nil), // 3: base.v1.Hash
}
var file_base_v1_request_response_proto_depIdxs = []int32{
2, // 0: base.v1.Account.address:type_name -> base.v1.Address
3, // 1: base.v1.Account.state_root:type_name -> base.v1.Hash
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_base_v1_request_response_proto_init() }
func file_base_v1_request_response_proto_init() {
if File_base_v1_request_response_proto != nil {
return
}
file_base_v1_resource_proto_init()
if !protoimpl.UnsafeEnabled {
file_base_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RLPData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_base_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Account); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_request_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_base_v1_request_response_proto_goTypes,
DependencyIndexes: file_base_v1_request_response_proto_depIdxs,
MessageInfos: file_base_v1_request_response_proto_msgTypes,
}.Build()
File_base_v1_request_response_proto = out.File
file_base_v1_request_response_proto_rawDesc = nil
file_base_v1_request_response_proto_goTypes = nil
file_base_v1_request_response_proto_depIdxs = nil
}
This diff is collapsed.
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: crypter/v1/service.proto // source: crypter/v1/service.proto
package crypterv1 package crypterv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_crypter_v1_service_proto protoreflect.FileDescriptor
var file_crypter_v1_service_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x18, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, // is compatible with the proto package it is being compiled against.
0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x63, 0x72, 0x79, 0x70, // A compilation error at this line likely means your copy of the
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x21, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, // proto package needs to be updated.
0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xde, 0x02, 0x0a, 0x0e, 0x43, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x09,
0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x72, 0x79, 0x70,
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x42, 0x61, 0x74, 0x63,
0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x1e, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0c, 0x42, 0x61,
0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x63, 0x72, 0x79,
0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63,
0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65,
0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x59, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54,
0x78, 0x12, 0x21, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42,
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76,
0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbc, 0x01, 0x0a, 0x0e, 0x63,
0x6f, 0x6d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67,
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65,
0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72,
0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74,
0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c,
0x56, 0x31, 0xe2, 0x02, 0x16, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c,
0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x43, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var file_crypter_v1_service_proto_goTypes = []interface{}{ func init() { proto.RegisterFile("crypter/v1/service.proto", fileDescriptor_05ac8b6606ffe814) }
(*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() } var fileDescriptor_05ac8b6606ffe814 = []byte{
func file_crypter_v1_service_proto_init() { // 318 bytes of a gzipped FileDescriptorProto
if File_crypter_v1_service_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x4a, 0xc3, 0x40,
return 0x14, 0xc6, 0x6d, 0x04, 0xc1, 0x69, 0xe9, 0x62, 0x16, 0x22, 0xc5, 0x7f, 0xed, 0x01, 0x32, 0x8c,
} 0xee, 0xea, 0x2e, 0x5d, 0x08, 0x82, 0x10, 0x9a, 0x12, 0xaa, 0x14, 0x64, 0x3a, 0x7d, 0xa6, 0x01,
file_crypter_v1_request_response_proto_init() 0xdb, 0x89, 0x33, 0x93, 0xa1, 0xbd, 0x8e, 0x4b, 0xcf, 0xe0, 0x09, 0x3c, 0x84, 0x0b, 0x97, 0x9e,
type x struct{} 0x42, 0x9a, 0x99, 0xa4, 0x85, 0x12, 0x77, 0xf9, 0xe6, 0xfb, 0xbd, 0xdf, 0x83, 0x3c, 0x74, 0xca,
out := protoimpl.TypeBuilder{ 0xe5, 0x3a, 0xd3, 0x20, 0x89, 0xa1, 0x44, 0x81, 0x34, 0x29, 0x07, 0x3f, 0x93, 0x42, 0x0b, 0x8c,
File: protoimpl.DescBuilder{ 0x5c, 0xe3, 0x1b, 0xda, 0xe9, 0xee, 0x50, 0x12, 0xde, 0x72, 0x50, 0xfa, 0x59, 0x82, 0xca, 0xc4,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x52, 0x39, 0xfc, 0xfa, 0xdb, 0x43, 0xed, 0x81, 0xa5, 0x22, 0xeb, 0xc1, 0xf7, 0xe8, 0x38, 0x60,
RawDescriptor: file_crypter_v1_service_proto_rawDesc, 0x9a, 0xcf, 0xa3, 0x34, 0x59, 0xe2, 0x33, 0x7f, 0xeb, 0xf3, 0xab, 0xe7, 0xa1, 0x95, 0x75, 0xce,
NumEnums: 0, 0x6b, 0x5a, 0xbb, 0xa2, 0x77, 0x80, 0x43, 0xd4, 0x2c, 0x9e, 0x63, 0x90, 0xe9, 0xcb, 0x1a, 0x5f,
NumMessages: 0, 0xec, 0xf1, 0xb6, 0x28, 0x7d, 0x97, 0xb5, 0x7d, 0x65, 0x8c, 0x50, 0xab, 0x28, 0x86, 0xc0, 0x85,
NumExtensions: 0, 0x01, 0x89, 0xf7, 0x47, 0x5c, 0x53, 0x3a, 0xaf, 0xea, 0x81, 0x4a, 0xfa, 0x88, 0xda, 0xbb, 0xcd,
NumServices: 1, 0x68, 0x85, 0xbb, 0x75, 0x53, 0xa3, 0x55, 0x29, 0xee, 0xfd, 0x87, 0x94, 0xea, 0xe0, 0xb3, 0x81,
}, 0xda, 0x5c, 0x2c, 0x76, 0xd8, 0xa0, 0xe5, 0xfe, 0x74, 0xb8, 0xb9, 0x40, 0xd8, 0x78, 0x8a, 0x92,
GoTypes: file_crypter_v1_service_proto_goTypes, 0x54, 0xcf, 0xf3, 0xa9, 0xcf, 0xc5, 0x82, 0x0c, 0xd8, 0x2c, 0xe7, 0x90, 0xab, 0x07, 0xd0, 0xcc,
DependencyIndexes: file_crypter_v1_service_proto_depIdxs, 0x80, 0x54, 0x16, 0xe2, 0xe2, 0x95, 0x2c, 0x40, 0xb3, 0xac, 0x0c, 0x09, 0x2c, 0x49, 0x11, 0x48,
}.Build() 0x22, 0xc8, 0xf6, 0xca, 0xb7, 0xee, 0xd3, 0xd0, 0x77, 0xef, 0x70, 0x30, 0x1e, 0x7f, 0x78, 0xc8,
File_crypter_v1_service_proto = out.File 0x1d, 0xd7, 0x8f, 0xe9, 0x57, 0x15, 0x26, 0x31, 0xfd, 0xf1, 0x4e, 0xb6, 0x61, 0x72, 0x17, 0x06,
file_crypter_v1_service_proto_rawDesc = nil 0x9b, 0x85, 0x33, 0xa6, 0xd9, 0xaf, 0xd7, 0x74, 0x45, 0xbf, 0x1f, 0xd3, 0xe9, 0x51, 0xb1, 0xe5,
file_crypter_v1_service_proto_goTypes = nil 0xe6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x16, 0x15, 0xdd, 0xd5, 0x71, 0x02, 0x00, 0x00,
file_crypter_v1_service_proto_depIdxs = nil
} }
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: ethrpc/v1/request_response.proto // source: ethrpc/v1/request_response.proto
package ethrpcv1 package ethrpcv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb" _ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ethrpc_v1_request_response_proto protoreflect.FileDescriptor
var file_ethrpc_v1_request_response_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x20, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, // is compatible with the proto package it is being compiled against.
0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, // A compilation error at this line likely means your copy of the
0x74, 0x6f, 0x12, 0x09, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, // proto package needs to be updated.
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x18, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0xbd, 0x01, 0x0a, 0x0d, 0x63,
0x6f, 0x6d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x09,
0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x45, 0x74, 0x68, 0x72,
0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a,
0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var file_ethrpc_v1_request_response_proto_goTypes = []interface{}{} func init() { proto.RegisterFile("ethrpc/v1/request_response.proto", fileDescriptor_eab3e970b3fc4905) }
var file_ethrpc_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_ethrpc_v1_request_response_proto_init() } var fileDescriptor_eab3e970b3fc4905 = []byte{
func file_ethrpc_v1_request_response_proto_init() { // 247 bytes of a gzipped FileDescriptorProto
if File_ethrpc_v1_request_response_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8e, 0xc1, 0x4a, 0xc3, 0x30,
return 0x18, 0xc7, 0x59, 0x05, 0x61, 0x05, 0x2f, 0xa2, 0x20, 0xbb, 0xb8, 0x27, 0xe8, 0x47, 0xf0, 0x36,
} 0x6f, 0x95, 0xe1, 0x49, 0xa8, 0x3b, 0x94, 0x21, 0x83, 0x91, 0xa6, 0xdf, 0xb2, 0x62, 0xb3, 0x2f,
file_ethrpc_v1_resource_proto_init() 0x26, 0x5f, 0xfa, 0x40, 0x1e, 0x7d, 0x07, 0x5f, 0xc0, 0xc7, 0xf0, 0xe8, 0x53, 0xc8, 0x96, 0xb6,
type x struct{} 0x88, 0xb7, 0x7f, 0x92, 0x1f, 0xf9, 0xfd, 0xd2, 0x39, 0xf2, 0xde, 0x59, 0x05, 0x9d, 0x00, 0x87,
out := protoimpl.TypeBuilder{ 0x6f, 0x01, 0x3d, 0x6f, 0x1d, 0x7a, 0x4b, 0x07, 0x8f, 0x99, 0x75, 0xc4, 0x74, 0x39, 0x8d, 0x44,
File: protoimpl.DescBuilder{ 0xd6, 0x89, 0xd9, 0x5c, 0x13, 0xe9, 0x16, 0xe1, 0xf4, 0x50, 0x85, 0x1d, 0xec, 0x1a, 0x6c, 0xeb,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0xad, 0x91, 0xfe, 0x35, 0xc2, 0xb3, 0xdb, 0xff, 0x04, 0x37, 0x06, 0x3d, 0x4b, 0x63, 0x7b, 0xe0,
RawDescriptor: file_ethrpc_v1_request_response_proto_rawDesc, 0xe6, 0xaf, 0xcf, 0x53, 0x70, 0xaa, 0xf7, 0xe4, 0x9f, 0x93, 0xf4, 0x42, 0x91, 0xc9, 0x46, 0x5d,
NumEnums: 0, 0x7e, 0xb5, 0x8a, 0x45, 0xab, 0x3e, 0xa8, 0x38, 0x72, 0xc5, 0xe4, 0xe5, 0x59, 0x37, 0xbc, 0x0f,
NumMessages: 0, 0x55, 0xa6, 0xc8, 0xc0, 0x83, 0xac, 0x83, 0xc2, 0xe0, 0x9f, 0x90, 0x65, 0x87, 0xae, 0x87, 0x14,
NumExtensions: 0, 0xb5, 0x60, 0x90, 0xa5, 0x1d, 0x0e, 0x1a, 0x0f, 0xb1, 0x09, 0x34, 0xc1, 0x98, 0x70, 0x1f, 0x57,
NumServices: 0, 0x27, 0xde, 0x93, 0xb3, 0xe5, 0x7a, 0xfd, 0x91, 0x4c, 0x97, 0x51, 0x5e, 0x8a, 0xaf, 0x61, 0x6f,
}, 0x4a, 0xf1, 0x9d, 0x5c, 0x8f, 0x7b, 0xf3, 0x58, 0xe4, 0x47, 0x57, 0x2d, 0x59, 0xfe, 0x24, 0x69,
GoTypes: file_ethrpc_v1_request_response_proto_goTypes, 0xbc, 0x5f, 0x2c, 0x4a, 0x51, 0x9d, 0x9f, 0xfe, 0xbf, 0xfb, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x89,
DependencyIndexes: file_ethrpc_v1_request_response_proto_depIdxs, 0xce, 0xf6, 0x03, 0x52, 0x01, 0x00, 0x00,
}.Build()
File_ethrpc_v1_request_response_proto = out.File
file_ethrpc_v1_request_response_proto_rawDesc = nil
file_ethrpc_v1_request_response_proto_goTypes = nil
file_ethrpc_v1_request_response_proto_depIdxs = nil
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -22,13 +22,14 @@ const _ = grpc.SupportPackageIsVersion7 ...@@ -22,13 +22,14 @@ const _ = grpc.SupportPackageIsVersion7
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. // 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 { type SentryServiceClient interface {
// for ring
// LimitInfo get latest param for make batch tx. // LimitInfo get latest param for make batch tx.
GetLimitInfo(ctx context.Context, in *LimitInfoRequest, opts ...grpc.CallOption) (*LimitInfoResponse, error) GetLimitInfo(ctx context.Context, in *LimitInfoRequest, opts ...grpc.CallOption) (*LimitInfoResponse, error)
// CommitBatchTx used to commit batch tx to tx-sort-network // CommitBatchTx used to commit batch tx to tx-sort-network
CommitBatchTx(ctx context.Context, in *CommitBatchTxRequest, opts ...grpc.CallOption) (*CommitBatchTxResponse, error) CommitBatchTx(ctx context.Context, in *CommitBatchTxRequest, opts ...grpc.CallOption) (*CommitBatchTxResponse, error)
// GetTxReceipt from tx-sort-network with txhash // GetTxReceipt from tx-sort-network with txhash
GetBatchTxResult(ctx context.Context, in *GetReceiptRequest, opts ...grpc.CallOption) (*GetReceiptResponse, error) GetBatchTxResult(ctx context.Context, in *GetReceiptRequest, opts ...grpc.CallOption) (*GetReceiptResponse, error)
// for val //for validator
// GetNewBlock used for nebula get new virtual block info from contract with lastblock. // GetNewBlock used for nebula get new virtual block info from contract with lastblock.
GetNewBlock(ctx context.Context, in *GetNewBlockRequest, opts ...grpc.CallOption) (*GetNewBlockResponse, error) GetNewBlock(ctx context.Context, in *GetNewBlockRequest, opts ...grpc.CallOption) (*GetNewBlockResponse, error)
// CommitBlock used for nebula commit new block and state info to contract. // CommitBlock used for nebula commit new block and state info to contract.
...@@ -103,13 +104,14 @@ func (c *sentryServiceClient) GetConfirmedBlock(ctx context.Context, in *GetCons ...@@ -103,13 +104,14 @@ func (c *sentryServiceClient) GetConfirmedBlock(ctx context.Context, in *GetCons
// All implementations must embed UnimplementedSentryServiceServer // All implementations must embed UnimplementedSentryServiceServer
// for forward compatibility // for forward compatibility
type SentryServiceServer interface { type SentryServiceServer interface {
// for ring
// LimitInfo get latest param for make batch tx. // LimitInfo get latest param for make batch tx.
GetLimitInfo(context.Context, *LimitInfoRequest) (*LimitInfoResponse, error) GetLimitInfo(context.Context, *LimitInfoRequest) (*LimitInfoResponse, error)
// CommitBatchTx used to commit batch tx to tx-sort-network // CommitBatchTx used to commit batch tx to tx-sort-network
CommitBatchTx(context.Context, *CommitBatchTxRequest) (*CommitBatchTxResponse, error) CommitBatchTx(context.Context, *CommitBatchTxRequest) (*CommitBatchTxResponse, error)
// GetTxReceipt from tx-sort-network with txhash // GetTxReceipt from tx-sort-network with txhash
GetBatchTxResult(context.Context, *GetReceiptRequest) (*GetReceiptResponse, error) GetBatchTxResult(context.Context, *GetReceiptRequest) (*GetReceiptResponse, error)
// for val //for validator
// GetNewBlock used for nebula get new virtual block info from contract with lastblock. // GetNewBlock used for nebula get new virtual block info from contract with lastblock.
GetNewBlock(context.Context, *GetNewBlockRequest) (*GetNewBlockResponse, error) GetNewBlock(context.Context, *GetNewBlockRequest) (*GetNewBlockResponse, error)
// CommitBlock used for nebula commit new block and state info to contract. // CommitBlock used for nebula commit new block and state info to contract.
......
This diff is collapsed.
This diff is collapsed.
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