Class ClosingSignedMessage
- Namespace
- NLightning.Bolts.BOLT2.Messages
- Assembly
- NLightning.Bolts.dll
Represents a closing_signed message.
public sealed class ClosingSignedMessage : BaseMessage, IMessage
- Inheritance
-
ClosingSignedMessage
- Implements
- Inherited Members
Remarks
The closing_signed message is after shutdown is complete and there are no pending HTLCs. The message type is 39.
Constructors
ClosingSignedMessage(ClosingSignedPayload, FeeRangeTlv)
public ClosingSignedMessage(ClosingSignedPayload payload, FeeRangeTlv feeRangeTlv)
Parameters
payload
ClosingSignedPayloadfeeRangeTlv
FeeRangeTlv
Properties
FeeRangeTlv
public FeeRangeTlv FeeRangeTlv { get; }
Property Value
Payload
The payload of the message.
public ClosingSignedPayload Payload { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a OpenChannel2Message from a stream.
public static Task<ClosingSignedMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<ClosingSignedMessage>
The deserialized AcceptChannel2Message.
Exceptions
- MessageSerializationException
Error deserializing OpenChannel2Message