Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
delete useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaxie committed Mar 20, 2018
1 parent 79c9b33 commit f63eda3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/Message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ package protocol;
option java_package = "org.tron.protos"; //Specify the name of the package that generated the Java file
option java_outer_classname = "Message"; //Specify the class name of the generated Java file

message Capability {
string name = 1;
int32 version = 2;
}

enum ReasonCode {
REQUESTED = 0;
TCP_ERROR = 1;
Expand All @@ -32,7 +27,6 @@ message Peer {
bytes address = 1;
int32 port = 2;
string peerId = 3;
repeated Capability capabilities = 4;
}

message DisconnectMessage {
Expand All @@ -42,7 +36,6 @@ message DisconnectMessage {
message HelloMessage {
int32 p2pVersion = 1;
string clientId = 2;
repeated Capability capabilities = 3;
int32 listenPort = 4;
string peerId = 5;
}
Expand Down

0 comments on commit f63eda3

Please sign in to comment.