func (*P2PVerAck) Descriptor() ([]byte, []int) {
	return file_p2p_proto_rawDescGZIP(), []int{3}
}
Deprecated: Use P2PVerAck.ProtoReflect.Descriptor instead.
package types
import (
	context "context"
	reflect "reflect"
	sync "sync"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type P2PGetPeerInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}
func (x *P2PGetPeerInfo) Reset() {
	*x = P2PGetPeerInfo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2p_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *P2PGetPeerInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*P2PGetPeerInfo) ProtoMessage() {}
func (x *P2PGetPeerInfo) ProtoReflect() protoreflect.Message {
	mi := &file_p2p_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*P2PGetPeerInfo) Descriptor() ([]byte, []int) {
	return file_p2p_proto_rawDescGZIP(), []int{0}
}
func (x *P2PGetPeerInfo) GetVersion() int32 {
	if x != nil {
		return x.Version
	}
	return 0
}
type P2PPeerInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	MempoolSize int32 `protobuf:"varint,4,opt,name=mempoolSize,proto3" json:"mempoolSize,omitempty"`
	Header         *Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"`
	Version        string  `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	LocalDBVersion string  `protobuf:"bytes,7,opt,name=localDBVersion,proto3" json:"localDBVersion,omitempty"`
	StoreDBVersion string  `protobuf:"bytes,8,opt,name=storeDBVersion,proto3" json:"storeDBVersion,omitempty"`
	RunningTime    string  `protobuf:"bytes,9,opt,name=runningTime,proto3" json:"runningTime,omitempty"`
	FullNode       bool    `protobuf:"varint,10,opt,name=fullNode,proto3" json:"fullNode,omitempty"`
	Blocked        bool    `protobuf:"varint,11,opt,name=blocked,proto3" json:"blocked,omitempty"`
}
func (x *P2PPeerInfo) Reset() {
	*x = P2PPeerInfo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2p_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *P2PPeerInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*P2PPeerInfo) ProtoMessage() {}
func (x *P2PPeerInfo) ProtoReflect() protoreflect.Message {
	mi := &file_p2p_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*P2PPeerInfo) Descriptor() ([]byte, []int) {
	return file_p2p_proto_rawDescGZIP(), []int{1}
}
func (x *P2PPeerInfo) GetAddr() string {
	if x != nil {
		return x.Addr
	}
	return ""
}
func (x *P2PPeerInfo) GetPort() int32 {
	if x != nil {
		return x.Port
	}
	return 0
}
func (x *P2PPeerInfo) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}
func (x *P2PPeerInfo) GetMempoolSize() int32 {
	if x != nil {
		return x.MempoolSize
	}
	return 0
}
func (x *P2PPeerInfo) GetHeader() *Header {
	if x != nil {
		return x.Header
	}
	return nil
}
func (x *P2PPeerInfo) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}
func (x *P2PPeerInfo) GetLocalDBVersion() string {
	if x != nil {
		return x.LocalDBVersion
	}
	return ""
}
func (x *P2PPeerInfo) GetStoreDBVersion() string {
	if x != nil {
		return x.StoreDBVersion
	}
	return ""
}
func (x *P2PPeerInfo) GetRunningTime() string {
	if x != nil {
		return x.RunningTime
	}
	return ""
}
func (x *P2PPeerInfo) GetFullNode() bool {
	if x != nil {
		return x.FullNode
	}
	return false
}
func (x *P2PPeerInfo) GetBlocked() bool {
	if x != nil {
		return x.Blocked
	}
	return false
}
type P2PVersion struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Service int64 `protobuf:"varint,2,opt,name=service,proto3" json:"service,omitempty"`
	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	AddrRecv string `protobuf:"bytes,4,opt,name=addrRecv,proto3" json:"addrRecv,omitempty"`
	AddrFrom string `protobuf:"bytes,5,opt,name=addrFrom,proto3" json:"addrFrom,omitempty"`
	Nonce int64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	UserAgent string `protobuf:"bytes,7,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
	StartHeight int64 `protobuf:"varint,8,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
}
func (x *P2PVersion) Reset() {
	*x = P2PVersion{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2p_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *P2PVersion) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*P2PVersion) ProtoMessage() {}
func (x *P2PVersion) ProtoReflect() protoreflect.Message {
	mi := &file_p2p_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*P2PVersion) Descriptor() ([]byte, []int) {
	return file_p2p_proto_rawDescGZIP(), []int{2}
}
func (x *P2PVersion) GetVersion() int32 {
	if x != nil {
		return x.Version
	}
	return 0
}
func (x *P2PVersion) GetService() int64 {
	if x != nil {
		return x.Service
	}
	return 0
}
func (x *P2PVersion) GetTimestamp() int64 {
	if x != nil {
		return x.Timestamp
	}
	return 0
}
func (x *P2PVersion) GetAddrRecv() string {
	if x != nil {
		return x.AddrRecv
	}
	return ""
}
func (x *P2PVersion) GetAddrFrom() string {
	if x != nil {
		return x.AddrFrom
	}
	return ""
}
func (x *P2PVersion) GetNonce() int64 {
	if x != nil {
		return x.Nonce
	}
	return 0
}
func (x *P2PVersion) GetUserAgent() string {
	if x != nil {
		return x.UserAgent
	}
	return ""
}
func (x *P2PVersion) GetStartHeight() int64 {
	if x != nil {
		return x.StartHeight
	}
	return 0
}
type P2PVerAck struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Service int64 `protobuf:"varint,2,opt,name=service,proto3" json:"service,omitempty"`
	Nonce   int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
func (x *P2PVerAck) Reset() {
	*x = P2PVerAck{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2p_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *P2PVerAck) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*P2PVerAck) ProtoMessage() {}
func (x *P2PVerAck) ProtoReflect() protoreflect.Message {
	mi := &file_p2p_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)
}