func (*MessagePingReq) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{6}
}
Deprecated: Use MessagePingReq.ProtoReflect.Descriptor instead.
package types
import (
	reflect "reflect"
	sync "sync"
	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 MessageComm struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Version    string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`        
	Timestamp  int64  `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`   
	Id         string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`                  
	Gossip     bool   `protobuf:"varint,4,opt,name=gossip,proto3" json:"gossip,omitempty"`         
	NodeId     string `protobuf:"bytes,5,opt,name=nodeId,proto3" json:"nodeId,omitempty"`          
	NodePubKey []byte `protobuf:"bytes,6,opt,name=nodePubKey,proto3" json:"nodePubKey,omitempty"`  
	Sign       []byte `protobuf:"bytes,7,opt,name=sign,proto3" json:"sign,omitempty"`              
}
func (x *MessageComm) Reset() {
	*x = MessageComm{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessageComm) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessageComm) ProtoMessage() {}
func (x *MessageComm) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_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 (*MessageComm) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{0}
}
func (x *MessageComm) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}
func (x *MessageComm) GetTimestamp() int64 {
	if x != nil {
		return x.Timestamp
	}
	return 0
}
func (x *MessageComm) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
func (x *MessageComm) GetGossip() bool {
	if x != nil {
		return x.Gossip
	}
	return false
}
func (x *MessageComm) GetNodeId() string {
	if x != nil {
		return x.NodeId
	}
	return ""
}
func (x *MessageComm) GetNodePubKey() []byte {
	if x != nil {
		return x.NodePubKey
	}
	return nil
}
func (x *MessageComm) GetSign() []byte {
	if x != nil {
		return x.Sign
	}
	return nil
}
type MessageUtil struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Common *MessageComm `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Value isMessageUtil_Value `protobuf_oneof:"value"`
}
func (x *MessageUtil) Reset() {
	*x = MessageUtil{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessageUtil) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessageUtil) ProtoMessage() {}
func (x *MessageUtil) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_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 (*MessageUtil) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{1}
}
func (x *MessageUtil) GetCommon() *MessageComm {
	if x != nil {
		return x.Common
	}
	return nil
}
func (m *MessageUtil) GetValue() isMessageUtil_Value {
	if m != nil {
		return m.Value
	}
	return nil
}
func (x *MessageUtil) GetPeerInfo() *P2PPeerInfo {
	if x, ok := x.GetValue().(*MessageUtil_PeerInfo); ok {
		return x.PeerInfo
	}
	return nil
}
func (x *MessageUtil) GetVersion() *P2PVersion {
	if x, ok := x.GetValue().(*MessageUtil_Version); ok {
		return x.Version
	}
	return nil
}
func (x *MessageUtil) GetVersionAck() *P2PVerAck {
	if x, ok := x.GetValue().(*MessageUtil_VersionAck); ok {
		return x.VersionAck
	}
	return nil
}
func (x *MessageUtil) GetExternal() *P2PExternalInfo {
	if x, ok := x.GetValue().(*MessageUtil_External); ok {
		return x.External
	}
	return nil
}
func (x *MessageUtil) GetGetblocks() *P2PGetBlocks {
	if x, ok := x.GetValue().(*MessageUtil_Getblocks); ok {
		return x.Getblocks
	}
	return nil
}
func (x *MessageUtil) GetInvdatas() *InvDatas {
	if x, ok := x.GetValue().(*MessageUtil_Invdatas); ok {
		return x.Invdatas
	}
	return nil
}
type isMessageUtil_Value interface {
	isMessageUtil_Value()
}
type MessageUtil_PeerInfo struct {
	PeerInfo *P2PPeerInfo `protobuf:"bytes,2,opt,name=peerInfo,proto3,oneof"`
}
type MessageUtil_Version struct {
	Version *P2PVersion `protobuf:"bytes,3,opt,name=version,proto3,oneof"`
}
type MessageUtil_VersionAck struct {
	VersionAck *P2PVerAck `protobuf:"bytes,4,opt,name=versionAck,proto3,oneof"`
}
type MessageUtil_External struct {
	External *P2PExternalInfo `protobuf:"bytes,5,opt,name=external,proto3,oneof"`
}
type MessageUtil_Getblocks struct {
	Getblocks *P2PGetBlocks `protobuf:"bytes,6,opt,name=getblocks,proto3,oneof"`
}
type MessageUtil_Invdatas struct {
	Invdatas *InvDatas `protobuf:"bytes,7,opt,name=invdatas,proto3,oneof"`
}
func (*MessageUtil_PeerInfo) isMessageUtil_Value() {}
func (*MessageUtil_Version) isMessageUtil_Value() {}
func (*MessageUtil_VersionAck) isMessageUtil_Value() {}
func (*MessageUtil_External) isMessageUtil_Value() {}
func (*MessageUtil_Getblocks) isMessageUtil_Value() {}
func (*MessageUtil_Invdatas) isMessageUtil_Value() {}
type MessagePeerInfoReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"`
}
func (x *MessagePeerInfoReq) Reset() {
	*x = MessagePeerInfoReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessagePeerInfoReq) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessagePeerInfoReq) ProtoMessage() {}
func (x *MessagePeerInfoReq) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_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 (*MessagePeerInfoReq) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{2}
}
func (x *MessagePeerInfoReq) GetMessageData() *MessageComm {
	if x != nil {
		return x.MessageData
	}
	return nil
}
type MessagePeerInfoResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"`
	Message     *P2PPeerInfo `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *MessagePeerInfoResp) Reset() {
	*x = MessagePeerInfoResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessagePeerInfoResp) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessagePeerInfoResp) ProtoMessage() {}
func (x *MessagePeerInfoResp) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*MessagePeerInfoResp) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{3}
}
func (x *MessagePeerInfoResp) GetMessageData() *MessageComm {
	if x != nil {
		return x.MessageData
	}
	return nil
}
func (x *MessagePeerInfoResp) GetMessage() *P2PPeerInfo {
	if x != nil {
		return x.Message
	}
	return nil
}
type MessageP2PVersionReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"`
	Message     *P2PVersion  `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *MessageP2PVersionReq) Reset() {
	*x = MessageP2PVersionReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessageP2PVersionReq) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessageP2PVersionReq) ProtoMessage() {}
func (x *MessageP2PVersionReq) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*MessageP2PVersionReq) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{4}
}
func (x *MessageP2PVersionReq) GetMessageData() *MessageComm {
	if x != nil {
		return x.MessageData
	}
	return nil
}
func (x *MessageP2PVersionReq) GetMessage() *P2PVersion {
	if x != nil {
		return x.Message
	}
	return nil
}
type MessageP2PVersionResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"`
	Message     *P2PVersion  `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *MessageP2PVersionResp) Reset() {
	*x = MessageP2PVersionResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessageP2PVersionResp) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessageP2PVersionResp) ProtoMessage() {}
func (x *MessageP2PVersionResp) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}
func (*MessageP2PVersionResp) Descriptor() ([]byte, []int) {
	return file_p2pnext_proto_rawDescGZIP(), []int{5}
}
func (x *MessageP2PVersionResp) GetMessageData() *MessageComm {
	if x != nil {
		return x.MessageData
	}
	return nil
}
func (x *MessageP2PVersionResp) GetMessage() *P2PVersion {
	if x != nil {
		return x.Message
	}
	return nil
}
type MessagePingReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	MessageData *MessageComm `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"`
	Message     *P2PPing     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *MessagePingReq) Reset() {
	*x = MessagePingReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_p2pnext_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *MessagePingReq) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*MessagePingReq) ProtoMessage() {}
func (x *MessagePingReq) ProtoReflect() protoreflect.Message {
	mi := &file_p2pnext_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)
}