Class UpfrontShutdownScriptTlv
- Namespace
- NLightning.Domain.Protocol.Tlv
- Assembly
- NLightning.Domain.dll
Upfront Shutdown Script TLV.
public class UpfrontShutdownScriptTlv : BaseTlv
- Inheritance
-
UpfrontShutdownScriptTlv
- Inherited Members
Remarks
The upfront shutdown script TLV is used in the AcceptChannel2Message to communicate the script to be used when the channel is being closed.
Constructors
UpfrontShutdownScriptTlv(BitcoinScript)
public UpfrontShutdownScriptTlv(BitcoinScript shutdownScriptPubkey)
Parameters
shutdownScriptPubkey
BitcoinScript
Properties
ShutdownScriptPubkey
The shutdown script to be used when closing the channel
public BitcoinScript ShutdownScriptPubkey { get; }