@node-dlc/wire
Version:
Lightning Network Wire Protocol
28 lines (27 loc) • 872 B
TypeScript
/// <reference types="node" />
import { BitField } from '@node-dlc/common';
import { ShortChannelId } from '@node-dlc/common';
import { QueryScidFlags } from '../flags/QueryScidFlags';
import { MessageType } from '../MessageType';
import { EncodingType } from '../serialize/EncodingType';
import { IWireMessage } from './IWireMessage';
export declare class QueryShortChannelIdsMessage implements IWireMessage {
static deserialize(payload: Buffer): QueryShortChannelIdsMessage;
/**
* Type 261
*/
type: MessageType;
/**
* 32-byte chain hash
*/
chainHash: Buffer;
/**
* List of channels to query
*/
shortChannelIds: ShortChannelId[];
/**
* Optional flags that can be set when gossip_queries_ex is enabled.
*/
flags: Array<BitField<QueryScidFlags>>;
serialize(encoding?: EncodingType): Buffer;
}