From a3d4e5797d84514c3a95e2a0f70a078eb543dba9 Mon Sep 17 00:00:00 2001 From: Krzysztof Jurewicz Date: Wed, 5 Apr 2017 14:56:28 +0200 Subject: [PATCH] Comment out MessageType As it is an unused enum, leaving it uncommented causes dead Protocol Buffers code to be generated. --- types/types.proto | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/types/types.proto b/types/types.proto index 0c741d3d0..242c72f59 100644 --- a/types/types.proto +++ b/types/types.proto @@ -10,22 +10,22 @@ package types; // Could be added to request/response // so we don't have to type switch // (would be twice as fast, but we're talking about 15ns) -enum MessageType { - NullMessage = 0x00; - - Echo = 0x01; - Flush = 0x02; - Info = 0x03; - SetOption = 0x04; - Exception = 0x05; - DeliverTx = 0x11; - CheckTx = 0x12; - Commit = 0x13; - Query = 0x14; - InitChain = 0x15; - BeginBlock = 0x16; - EndBlock = 0x17; -} +// enum MessageType { +// NullMessage = 0x00; + +// Echo = 0x01; +// Flush = 0x02; +// Info = 0x03; +// SetOption = 0x04; +// Exception = 0x05; +// DeliverTx = 0x11; +// CheckTx = 0x12; +// Commit = 0x13; +// Query = 0x14; +// InitChain = 0x15; +// BeginBlock = 0x16; +// EndBlock = 0x17; +// } //---------------------------------------- // Code types