Skip to content

Commit c7495f8

Browse files
authored
Merge pull request #36 from tronprotocol/add-reason-enum
add reason
2 parents 9aa4212 + 59333a3 commit c7495f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/Tron.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,13 @@ enum ReasonCode {
261261
USER_REASON = 0x10;
262262
RESET = 0x11;
263263
SYNC_FAIL = 0x12;
264+
TIME_OUT = 0x13;
265+
BAD_TX = 0x14;
266+
BAD_BLOCK = 0x15;
267+
FORKED = 0x16;
268+
UNLINKABLE = 0x17;
269+
INCOMPATIBLE_VERSION = 0x18;
270+
INCOMPATIBLE_CHAIN = 0x19;
264271
UNKNOWN = 0xFF;
265272
}
266273

0 commit comments

Comments
 (0)