@node-lightning/wire
Version:
Lightning Network Wire Protocol
12 lines (11 loc) • 387 B
TypeScript
import { Address } from "./Address";
import { AddressType } from "./AddressType";
export declare class AddressTor3 extends 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: string, port: number);
get type(): AddressType;
}