Table of Contents

Class ShutdownPayload

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

Represents the payload for the shutdown message.

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

Remarks

Initializes a new instance of the ShutdownPayload class.

Constructors

ShutdownPayload(ChannelId, BitcoinScript)

Represents the payload for the shutdown message.

public ShutdownPayload(ChannelId channelId, BitcoinScript scriptPubkey)

Parameters

channelId ChannelId
scriptPubkey BitcoinScript

Remarks

Initializes a new instance of the ShutdownPayload class.

Properties

ChannelId

The channel_id this message refers to

public ChannelId ChannelId { get; }

Property Value

ChannelId

ScriptPubkey

The scriptpubkey to send the closing funds to

public BitcoinScript ScriptPubkey { get; }

Property Value

BitcoinScript

ScriptPubkeyLen

len is the scriptpubkey length

public ushort ScriptPubkeyLen { get; }

Property Value

ushort