mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-03 02:22:14 +00:00
Comment out MessageType
As it is an unused enum, leaving it uncommented causes dead Protocol Buffers code to be generated.
This commit is contained in:
parent
d3e3eca3fe
commit
a3d4e5797d
@ -10,22 +10,22 @@ package types;
|
|||||||
// Could be added to request/response
|
// Could be added to request/response
|
||||||
// so we don't have to type switch
|
// so we don't have to type switch
|
||||||
// (would be twice as fast, but we're talking about 15ns)
|
// (would be twice as fast, but we're talking about 15ns)
|
||||||
enum MessageType {
|
// enum MessageType {
|
||||||
NullMessage = 0x00;
|
// NullMessage = 0x00;
|
||||||
|
|
||||||
Echo = 0x01;
|
// Echo = 0x01;
|
||||||
Flush = 0x02;
|
// Flush = 0x02;
|
||||||
Info = 0x03;
|
// Info = 0x03;
|
||||||
SetOption = 0x04;
|
// SetOption = 0x04;
|
||||||
Exception = 0x05;
|
// Exception = 0x05;
|
||||||
DeliverTx = 0x11;
|
// DeliverTx = 0x11;
|
||||||
CheckTx = 0x12;
|
// CheckTx = 0x12;
|
||||||
Commit = 0x13;
|
// Commit = 0x13;
|
||||||
Query = 0x14;
|
// Query = 0x14;
|
||||||
InitChain = 0x15;
|
// InitChain = 0x15;
|
||||||
BeginBlock = 0x16;
|
// BeginBlock = 0x16;
|
||||||
EndBlock = 0x17;
|
// EndBlock = 0x17;
|
||||||
}
|
// }
|
||||||
|
|
||||||
//----------------------------------------
|
//----------------------------------------
|
||||||
// Code types
|
// Code types
|
||||||
|
Loading…
x
Reference in New Issue
Block a user