Table of Contents

Class OpenChannel1Message

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

Represents an open_channel2 message.

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

Remarks

The open_channel message is sent to another peer in order to start the channel negotiation. The message type is 32.

Constructors

OpenChannel1Message(OpenChannel1Payload, UpfrontShutdownScriptTlv?, ChannelTypeTlv?)

public OpenChannel1Message(OpenChannel1Payload payload, UpfrontShutdownScriptTlv? upfrontShutdownScriptTlv = null, ChannelTypeTlv? channelTypeTlv = null)

Parameters

payload OpenChannel1Payload
upfrontShutdownScriptTlv UpfrontShutdownScriptTlv
channelTypeTlv ChannelTypeTlv

Properties

ChannelTypeTlv

public ChannelTypeTlv? ChannelTypeTlv { get; }

Property Value

ChannelTypeTlv

Payload

The payload of the message.

public OpenChannel1Payload Payload { get; }

Property Value

OpenChannel1Payload

UpfrontShutdownScriptTlv

public UpfrontShutdownScriptTlv? UpfrontShutdownScriptTlv { get; }

Property Value

UpfrontShutdownScriptTlv