@node-lightning/wire
Version:
Lightning Network Wire Protocol
12 lines (11 loc) • 398 B
TypeScript
import { Address } from "./Address";
import { AddressType } from "./AddressType";
export declare class AddressTor2 extends Address {
/**
* Represents an TOR v2 address with the host and port. TOR v2
* addresses are an 80-bit hash represented as base32 encoding
* that is 16 characters in length
*/
constructor(host: string, port: number);
get type(): AddressType;
}