Class ClosingSignedPayload
- Namespace
- NLightning.Domain.Protocol.Payloads
- Assembly
- NLightning.Domain.dll
Represents the payload for the closing_signed message.
public class ClosingSignedPayload : IChannelMessagePayload, IMessagePayload
- Inheritance
-
ClosingSignedPayload
- Implements
- Inherited Members
Remarks
Initializes a new instance of the ClosingSignedPayload class.
Constructors
ClosingSignedPayload(ChannelId, LightningMoney, CompactSignature)
public ClosingSignedPayload(ChannelId channelId, LightningMoney feeAmount, CompactSignature signature)
Parameters
channelId
ChannelIdfeeAmount
LightningMoneysignature
CompactSignature
Properties
ChannelId
The channel_id is used to identify this channel.
public ChannelId ChannelId { get; set; }
Property Value
FeeAmount
funding_satoshis is the amount the acceptor is putting into the channel.
public LightningMoney FeeAmount { get; set; }
Property Value
Signature
The signature for the closing transaction
public CompactSignature Signature { get; }