Class AcceptChannel2Message
- Namespace
- NLightning.Domain.Protocol.Messages
- Assembly
- NLightning.Domain.dll
Represents an open_channel2 message.
public sealed class AcceptChannel2Message : BaseMessage, IMessage
- Inheritance
-
AcceptChannel2Message
- Implements
- Inherited Members
Remarks
The accept_channel2 message is sent to the initiator to accept the channel opening. The message type is 65.
Constructors
AcceptChannel2Message(AcceptChannel2Payload, UpfrontShutdownScriptTlv?, ChannelTypeTlv?, RequireConfirmedInputsTlv?)
public AcceptChannel2Message(AcceptChannel2Payload payload, UpfrontShutdownScriptTlv? upfrontShutdownScriptTlv = null, ChannelTypeTlv? channelTypeTlv = null, RequireConfirmedInputsTlv? requireConfirmedInputsTlv = null)
Parameters
payload
AcceptChannel2PayloadupfrontShutdownScriptTlv
UpfrontShutdownScriptTlvchannelTypeTlv
ChannelTypeTlvrequireConfirmedInputsTlv
RequireConfirmedInputsTlv
Properties
ChannelTypeTlv
Optional ChannelTypeTlv
public ChannelTypeTlv? ChannelTypeTlv { get; }
Property Value
Payload
The payload of the message.
public AcceptChannel2Payload Payload { get; }
Property Value
RequireConfirmedInputsTlv
Optional RequireConfirmedInputsTlv
public RequireConfirmedInputsTlv? RequireConfirmedInputsTlv { get; }
Property Value
UpfrontShutdownScriptTlv
Optional UpfrontShutdownScriptTlv
public UpfrontShutdownScriptTlv? UpfrontShutdownScriptTlv { get; }