From 5875602e0e11b719c6f285fd3e6eae021c6b61d5 Mon Sep 17 00:00:00 2001 From: ysuzhaixuefei Date: Sun, 8 Jul 2018 11:59:06 +0800 Subject: [PATCH] update p2p.proto adjust some filelds and some note --- protos/core/p2p.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protos/core/p2p.proto b/protos/core/p2p.proto index 0067439..2337c87 100644 --- a/protos/core/p2p.proto +++ b/protos/core/p2p.proto @@ -5,14 +5,14 @@ package protocol; import "core/Discover.proto"; -option java_package = "org.gsc.protos"; //Specify the name of the package that generated the Java file -option java_outer_classname = "P2p"; //Specify the class name of the generated Java file +option java_package = "org.gsc.protos"; // the package name of the java files +option java_outer_classname = "P2p"; //the java class file name message DisconnectMessage { int32 reason = 1; } -message HelloMessage { +message HelloMessage {// message sended after handshake Endpoint from = 1; int32 version = 2; int64 timestamp = 3;