Class ShutdownMessage
- Namespace
- NLightning.Domain.Protocol.Messages
- Assembly
- NLightning.Domain.dll
Represents a shutdown message.
public sealed class ShutdownMessage : BaseMessage, IMessage
- Inheritance
-
ShutdownMessage
- Implements
- Inherited Members
Remarks
The shutdown message is sent by either node to initiate closing, along with the scriptpubkey it wants to be paid to. The message type is 38.
Constructors
ShutdownMessage(ShutdownPayload)
Represents a shutdown message.
public ShutdownMessage(ShutdownPayload payload)
Parameters
payload
ShutdownPayload
Remarks
The shutdown message is sent by either node to initiate closing, along with the scriptpubkey it wants to be paid to. The message type is 38.
Properties
Payload
The payload of the message.
public ShutdownPayload Payload { get; }