@node-lightning/wire
Version:
Lightning Network Wire Protocol
12 lines (11 loc) • 352 B
TypeScript
/// <reference types="node" />
/**
* Represents a LN host that is a valid peer. This record may be
* obtained from a DNS query that follows BOLT #10.
*/
export declare class PeerHostRecord {
readonly publicKey: Buffer;
readonly address: string;
readonly port: number;
constructor(publicKey: Buffer, address: string, port: number);
}