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
OpenChannel1PayloadupfrontShutdownScriptTlv
UpfrontShutdownScriptTlvchannelTypeTlv
ChannelTypeTlv
Properties
ChannelTypeTlv
public ChannelTypeTlv? ChannelTypeTlv { get; }
Property Value
Payload
The payload of the message.
public OpenChannel1Payload Payload { get; }
Property Value
UpfrontShutdownScriptTlv
public UpfrontShutdownScriptTlv? UpfrontShutdownScriptTlv { get; }