Table of Contents

Class TxSignaturesPayload

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

Represents a tx_signatures payload.

public class TxSignaturesPayload : IMessagePayload
Inheritance
TxSignaturesPayload
Implements
Inherited Members

Remarks

The tx_signatures payload signals the provision of transaction signatures.

Constructors

TxSignaturesPayload(ChannelId, byte[], List<Witness>)

Initializes a new instance of the TxSignaturesPayload class.

public TxSignaturesPayload(ChannelId channelId, byte[] txId, List<Witness> witnesses)

Parameters

channelId ChannelId

The channel id.

txId byte[]

The transaction id.

witnesses List<Witness>

The witnesses.

Exceptions

ArgumentException

TxId must be 32 bytes

Properties

ChannelId

The channel id.

public ChannelId ChannelId { get; }

Property Value

ChannelId

TxId

The transaction id.

public byte[] TxId { get; }

Property Value

byte[]

Witnesses

The witnesses.

public List<Witness> Witnesses { get; }

Property Value

List<Witness>

See Also