UNPKG

@node-dlc/messaging

Version:
16 lines (15 loc) 548 B
/// <reference types="node" /> import { BitcoinNetwork } from 'bitcoin-networks'; import { MessageType } from '../MessageType'; export declare class AddressCache { static type: MessageType; static fromAddressCache(addressesBlacklist: IAddressCache[], network: BitcoinNetwork): AddressCache; static deserialize(buf: Buffer): AddressCache; type: MessageType; cacheSPKs: Buffer[]; toAddressCache(network: BitcoinNetwork): IAddressCache[]; serialize(): Buffer; } export interface IAddressCache { [x: string]: boolean; }