UNPKG

@node-lightning/wire

Version:
20 lines 628 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AddressTor3 = void 0; const Address_1 = require("./Address"); const AddressType_1 = require("./AddressType"); class AddressTor3 extends Address_1.Address { /** * Represents an Tor v3 address with the host and port. Tor v3 * addresses are base32 encoded ed25519 public key and are * 56-characters in length. */ constructor(host, port) { super(host, port); } get type() { return AddressType_1.AddressType.TOR3; } } exports.AddressTor3 = AddressTor3; //# sourceMappingURL=AddressTor3.js.map