ReasonCode$json top-level constant
Implementation
@$core.Deprecated('Use reasonCodeDescriptor instead')
const ReasonCode$json = const {
'1': 'ReasonCode',
'2': const [
const {'1': 'REQUESTED', '2': 0},
const {'1': 'BAD_PROTOCOL', '2': 2},
const {'1': 'TOO_MANY_PEERS', '2': 4},
const {'1': 'DUPLICATE_PEER', '2': 5},
const {'1': 'INCOMPATIBLE_PROTOCOL', '2': 6},
const {'1': 'NULL_IDENTITY', '2': 7},
const {'1': 'PEER_QUITING', '2': 8},
const {'1': 'UNEXPECTED_IDENTITY', '2': 9},
const {'1': 'LOCAL_IDENTITY', '2': 10},
const {'1': 'PING_TIMEOUT', '2': 11},
const {'1': 'USER_REASON', '2': 16},
const {'1': 'RESET', '2': 17},
const {'1': 'SYNC_FAIL', '2': 18},
const {'1': 'FETCH_FAIL', '2': 19},
const {'1': 'BAD_TX', '2': 20},
const {'1': 'BAD_BLOCK', '2': 21},
const {'1': 'FORKED', '2': 22},
const {'1': 'UNLINKABLE', '2': 23},
const {'1': 'INCOMPATIBLE_VERSION', '2': 24},
const {'1': 'INCOMPATIBLE_CHAIN', '2': 25},
const {'1': 'TIME_OUT', '2': 32},
const {'1': 'CONNECT_FAIL', '2': 33},
const {'1': 'TOO_MANY_PEERS_WITH_SAME_IP', '2': 34},
const {'1': 'UNKNOWN', '2': 255},
],
};