mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 14:41:15 +00:00
Show validator address for nodes (#37)
Show validator address for nodes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Opaque, Maybe } from './helpers';
|
||||
import {
|
||||
FeedVersion,
|
||||
Address,
|
||||
Latitude,
|
||||
Longitude,
|
||||
City,
|
||||
|
||||
@@ -8,4 +8,4 @@ import * as FeedMessage from './feed';
|
||||
export { Types, FeedMessage };
|
||||
|
||||
// Increment this if breaking changes were made to types in `feed.ts`
|
||||
export const VERSION: Types.FeedVersion = 9 as Types.FeedVersion;
|
||||
export const VERSION: Types.FeedVersion = 10 as Types.FeedVersion;
|
||||
|
||||
@@ -8,9 +8,9 @@ export type NodeId = Id<'Node'>;
|
||||
export type NodeName = Opaque<string, 'NodeName'>;
|
||||
export type NodeImplementation = Opaque<string, 'NodeImplementation'>;
|
||||
export type NodeVersion = Opaque<string, 'NodeVersion'>;
|
||||
export type NodePubKey = Opaque<string, 'NodePubKey'>;
|
||||
export type BlockNumber = Opaque<number, 'BlockNumber'>;
|
||||
export type BlockHash = Opaque<string, 'BlockHash'>;
|
||||
export type Address = Opaque<string, 'Address'>;
|
||||
export type Milliseconds = Opaque<number, 'Milliseconds'>;
|
||||
export type Timestamp = Opaque<Milliseconds, 'Timestamp'>;
|
||||
export type PropagationTime = Opaque<Milliseconds, 'PropagationTime'>;
|
||||
@@ -22,6 +22,6 @@ export type Longitude = Opaque<number, 'Longitude'>;
|
||||
export type City = Opaque<string, 'City'>;
|
||||
|
||||
export type BlockDetails = [BlockNumber, BlockHash, Milliseconds, Timestamp, Maybe<PropagationTime>];
|
||||
export type NodeDetails = [NodeName, NodeImplementation, NodeVersion];
|
||||
export type NodeDetails = [NodeName, NodeImplementation, NodeVersion, Maybe<Address>];
|
||||
export type NodeStats = [PeerCount, TransactionCount];
|
||||
export type NodeLocation = [Latitude, Longitude, City];
|
||||
|
||||
Reference in New Issue
Block a user