UNPKG

@node-lightning/wire

Version:
35 lines (34 loc) 991 B
/// <reference types="node" /> import { MessageType } from "../MessageType"; import { IWireMessage } from "./IWireMessage"; export declare class QueryChannelRangeMessage implements IWireMessage { static deserialize(payload: Buffer): QueryChannelRangeMessage; /** * Type 263 */ type: MessageType; /** * 32-byte hash that uniquely identifies the chain that the reply * should refer to */ chainHash: Buffer; /** * The first block it wants to know channels for */ firstBlocknum: number; /** * Number of blocks to return, must be 1 or greater */ numberOfBlocks: number; /** * When gossip_queries_ex is enabled, this asks the remote node to include * the timestamps of update messages. */ timestamps: boolean; /** * When gossip_queries_ex is enabled, this asks the remote node to include * checksums of update messages. */ checksums: boolean; serialize(): Buffer; }