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