Class CommitmentSignedMessage
- Namespace
- NLightning.Bolts.BOLT2.Messages
- Assembly
- NLightning.Bolts.dll
Represents an commitment_signed message.
public sealed class CommitmentSignedMessage : BaseMessage, IMessage
- Inheritance
-
CommitmentSignedMessage
- Implements
- Inherited Members
Remarks
The commitment_signed message is sent when a node has changes to the remote commitment The message type is 132.
Constructors
CommitmentSignedMessage(CommitmentSignedPayload)
Represents an commitment_signed message.
public CommitmentSignedMessage(CommitmentSignedPayload payload)
Parameters
payload
CommitmentSignedPayload
Remarks
The commitment_signed message is sent when a node has changes to the remote commitment The message type is 132.
Properties
Payload
The payload of the message.
public CommitmentSignedPayload Payload { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a CommitmentSignedMessage from a stream.
public static Task<CommitmentSignedMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<CommitmentSignedMessage>
The deserialized CommitmentSignedMessage.
Exceptions
- MessageSerializationException
Error deserializing CommitmentSignedMessage