@node-dlc/wire
Version:
Lightning Network Wire Protocol
26 lines (25 loc) • 563 B
TypeScript
/**
* Defined in BOLT01
*/
export declare enum MessageType {
Init = 16,
Error = 17,
Ping = 18,
Pong = 19,
OpenChannel = 32,
AcceptChannel = 33,
FundingCreated = 34,
FundingSigned = 35,
FundingLocked = 36,
Shutdown = 38,
ClosingSigned = 39,
ChannelAnnouncement = 256,
NodeAnnouncement = 257,
ChannelUpdate = 258,
AnnouncementSignatures = 259,
QueryShortChannelIds = 261,
ReplyShortChannelIdsEnd = 262,
QueryChannelRange = 263,
ReplyChannelRange = 264,
GossipTimestampFilter = 265
}