Class FundingCreatedPayload
- Namespace
- NLightning.Domain.Protocol.Payloads
- Assembly
- NLightning.Domain.dll
Represents the payload for the funding_created message.
public class FundingCreatedPayload : IChannelMessagePayload, IMessagePayload
- Inheritance
-
FundingCreatedPayload
- Implements
- Inherited Members
Remarks
Initializes a new instance of the FundingCreatedPayload class.
Constructors
FundingCreatedPayload(ChannelId, TxId, ushort, CompactSignature)
public FundingCreatedPayload(ChannelId channelId, TxId fundingTxId, ushort fundingOutputIndex, CompactSignature signature)
Parameters
channelId
ChannelIdfundingTxId
TxIdfundingOutputIndex
ushortsignature
CompactSignature
Properties
ChannelId
The temporary_channel_id is used to identify this channel on a per-peer basis until the funding transaction is established, at which point it is replaced by the channel_id, which is derived from the funding transaction.
public ChannelId ChannelId { get; }
Property Value
FundingOutputIndex
The funding transaction output index.
public ushort FundingOutputIndex { get; }
Property Value
FundingTxId
The funding transaction id.
public TxId FundingTxId { get; }
Property Value
Signature
The signature of the funding transaction.
public CompactSignature Signature { get; }