This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Comment out MessageType
As it is an unused enum, leaving it uncommented causes dead Protocol Buffers code to be generated.
pull/1780/head
Krzysztof Jurewicz
8 years ago
committed by
Adrian Brink
parent
d3e3eca3fe
commit
a3d4e5797d
1 changed files
with
16 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-16
types/types.proto
+ 16
- 16
types/types.proto
View File
@ -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
15
ns
)
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
Write
Preview
Loading…
Cancel
Save