diff --git a/core/Tron.proto b/core/Tron.proto index 30c16b7b568..d9800a4f710 100644 --- a/core/Tron.proto +++ b/core/Tron.proto @@ -187,21 +187,21 @@ message DynamicProperties { } enum ReasonCode { - REQUESTED = 0; - TCP_ERROR = 1; - BAD_PROTOCOL = 2; - USELESS_PEER = 3; - TOO_MANY_PEERS = 4; - DUPLICATE_PEER = 5; - INCOMPATIBLE_PROTOCOL = 6; - NULL_IDENTITY = 7; - PEER_QUITING = 8; - UNEXPECTED_IDENTITY = 9; - LOCAL_IDENTITY = 10; - PING_TIMEOUT = 11; - USER_REASON = 12; - RESET = 16; - UNKNOWN = 255; + REQUESTED = 0x00; + TCP_ERROR = 0x01; + BAD_PROTOCOL = 0x02; + USELESS_PEER = 0x03; + TOO_MANY_PEERS = 0x04; + DUPLICATE_PEER = 0x05; + INCOMPATIBLE_PROTOCOL = 0x06; + NULL_IDENTITY = 0x07; + PEER_QUITING = 0x08; + UNEXPECTED_IDENTITY = 0x09; + LOCAL_IDENTITY = 0x0A; + PING_TIMEOUT = 0x0B; + USER_REASON = 0x10; + RESET = 0x11; + UNKNOWN = 0xFF; } message DisconnectMessage {