Table of Contents

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 ChannelId
fundingTxId TxId
fundingOutputIndex ushort
signature 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

ChannelId

FundingOutputIndex

The funding transaction output index.

public ushort FundingOutputIndex { get; }

Property Value

ushort

FundingTxId

The funding transaction id.

public TxId FundingTxId { get; }

Property Value

TxId

Signature

The signature of the funding transaction.

public CompactSignature Signature { get; }

Property Value

CompactSignature