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

Commit

Permalink
Merge commit '050740d1801ad990f2ad3c9eeee3030c74e022f3' into p2p
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaxie committed Mar 17, 2018
2 parents 61decfb + 050740d commit bbd0ea3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/Message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ message Capability {
int32 version = 2;
}

enum P2pMessageCode {
HELLO = 0;
DISCONNECT = 1;
PING = 2;
PONG = 3;
GET_PEERS = 4;
PEERS = 5;
USER = 6;
}

enum ReasonCode {
REQUESTED = 0;
TCP_ERROR = 1;
Expand Down

0 comments on commit bbd0ea3

Please sign in to comment.