Table of Contents

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 ClosingSignedPayload
feeRangeTlv FeeRangeTlv

Properties

FeeRangeTlv

public FeeRangeTlv FeeRangeTlv { get; }

Property Value

FeeRangeTlv

Payload

The payload of the message.

public ClosingSignedPayload Payload { get; }

Property Value

ClosingSignedPayload

Methods

DeserializeAsync(Stream)

Deserialize a OpenChannel2Message from a stream.

public static Task<ClosingSignedMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<ClosingSignedMessage>

The deserialized AcceptChannel2Message.

Exceptions

MessageSerializationException

Error deserializing OpenChannel2Message