chia-network-scanner
Version:
Scans the Chia network for active full nodes
16 lines (15 loc) • 323 B
TypeScript
interface PeerOptions {
hostname: string;
port: number;
timestamp: number;
}
declare class Peer {
readonly hostname: string;
readonly port: number;
readonly timestamp: number;
visited: boolean;
constructor(peerOptions: PeerOptions);
visit(): void;
hash(): string;
}
export { Peer };