Table of Contents

Class AcceptChannel1Message

Namespace
NLightning.Domain.Protocol.Messages
Assembly
NLightning.Domain.dll

Represents an open_channel message.

public sealed class AcceptChannel1Message : BaseChannelMessage, IChannelMessage, IMessage
Inheritance
AcceptChannel1Message
Implements
Inherited Members

Remarks

The accept_channel message is sent to the initiator in order to accept the channel opening. The message type is 33.

Constructors

AcceptChannel1Message(AcceptChannel1Payload, UpfrontShutdownScriptTlv?, ChannelTypeTlv?)

public AcceptChannel1Message(AcceptChannel1Payload payload, UpfrontShutdownScriptTlv? upfrontShutdownScriptTlv = null, ChannelTypeTlv? channelTypeTlv = null)

Parameters

payload AcceptChannel1Payload
upfrontShutdownScriptTlv UpfrontShutdownScriptTlv
channelTypeTlv ChannelTypeTlv

Properties

ChannelTypeTlv

Optional ChannelTypeTlv

public ChannelTypeTlv? ChannelTypeTlv { get; }

Property Value

ChannelTypeTlv

Payload

The payload of the message.

public AcceptChannel1Payload Payload { get; }

Property Value

AcceptChannel1Payload

UpfrontShutdownScriptTlv

Optional UpfrontShutdownScriptTlv

public UpfrontShutdownScriptTlv? UpfrontShutdownScriptTlv { get; }

Property Value

UpfrontShutdownScriptTlv