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;