PeerInfo$json top-level constant
Implementation
@$core.Deprecated('Use peerInfoDescriptor instead')
const PeerInfo$json = const {
'1': 'PeerInfo',
'2': const [
const {'1': 'status', '3': 1, '4': 1, '5': 5, '10': 'status'},
const {'1': 'moniker', '3': 2, '4': 1, '5': 9, '10': 'moniker'},
const {'1': 'agent', '3': 3, '4': 1, '5': 9, '10': 'agent'},
const {'1': 'peer_id', '3': 4, '4': 1, '5': 9, '10': 'peerId'},
const {
'1': 'consensus_keys',
'3': 5,
'4': 3,
'5': 9,
'10': 'consensusKeys'
},
const {
'1': 'consensus_addresses',
'3': 6,
'4': 3,
'5': 9,
'10': 'consensusAddresses'
},
const {'1': 'services', '3': 7, '4': 1, '5': 13, '10': 'services'},
const {
'1': 'last_block_hash',
'3': 8,
'4': 1,
'5': 9,
'10': 'lastBlockHash'
},
const {'1': 'height', '3': 9, '4': 1, '5': 13, '10': 'height'},
const {'1': 'last_sent', '3': 10, '4': 1, '5': 3, '10': 'lastSent'},
const {'1': 'last_received', '3': 11, '4': 1, '5': 3, '10': 'lastReceived'},
const {'1': 'address', '3': 12, '4': 1, '5': 9, '10': 'address'},
const {'1': 'direction', '3': 13, '4': 1, '5': 9, '10': 'direction'},
const {'1': 'protocols', '3': 14, '4': 3, '5': 9, '10': 'protocols'},
const {
'1': 'total_sessions',
'3': 15,
'4': 1,
'5': 5,
'10': 'totalSessions'
},
const {
'1': 'completed_sessions',
'3': 16,
'4': 1,
'5': 5,
'10': 'completedSessions'
},
const {
'1': 'metric_info',
'3': 17,
'4': 1,
'5': 11,
'6': '.pactus.MetricInfo',
'10': 'metricInfo'
},
],
};