Table of Contents

Class CommitmentSignedPayload

Namespace
NLightning.Domain.Protocol.Payloads
Assembly
NLightning.Domain.dll

Represents the payload for the commitment_signed message.

public class CommitmentSignedPayload : IChannelMessagePayload, IMessagePayload
Inheritance
CommitmentSignedPayload
Implements
Inherited Members

Remarks

Initializes a new instance of the CommitmentSignedPayload class.

Constructors

CommitmentSignedPayload(ChannelId, IEnumerable<CompactSignature>, CompactSignature)

Represents the payload for the commitment_signed message.

public CommitmentSignedPayload(ChannelId channelId, IEnumerable<CompactSignature> htlcSignatures, CompactSignature signature)

Parameters

channelId ChannelId
htlcSignatures IEnumerable<CompactSignature>
signature CompactSignature

Remarks

Initializes a new instance of the CommitmentSignedPayload class.

Properties

ChannelId

The channel_id this message refers to

public ChannelId ChannelId { get; }

Property Value

ChannelId

HtlcSignatures

List containing HTLCs signatures

public IEnumerable<CompactSignature> HtlcSignatures { get; set; }

Property Value

IEnumerable<CompactSignature>

NumHtlcs

Number of HTLCs outputs

public ushort NumHtlcs { get; }

Property Value

ushort

Signature

The signature for the commitment transaction

public CompactSignature Signature { get; }

Property Value

CompactSignature