@node-lightning/wire
Version:
Lightning Network Wire Protocol
16 lines • 487 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PeerHostRecord = void 0;
/**
* Represents a LN host that is a valid peer. This record may be
* obtained from a DNS query that follows BOLT #10.
*/
class PeerHostRecord {
constructor(publicKey, address, port) {
this.publicKey = publicKey;
this.address = address;
this.port = port;
}
}
exports.PeerHostRecord = PeerHostRecord;
//# sourceMappingURL=PeerHostRecord.js.map