Class ChannelOpenOptionalValidationParameters
- Namespace
- NLightning.Domain.Channels.Validators.Parameters
- Assembly
- NLightning.Domain.dll
public sealed class ChannelOpenOptionalValidationParameters
- Inheritance
-
ChannelOpenOptionalValidationParameters
- Inherited Members
Properties
ChainHash
public ChainHash? ChainHash { get; init; }
Property Value
ChannelReserveAmount
public required LightningMoney ChannelReserveAmount { get; init; }
Property Value
DustLimitAmount
public required LightningMoney DustLimitAmount { get; init; }
Property Value
FeeRatePerKw
public LightningMoney? FeeRatePerKw { get; init; }
Property Value
FundingAmount
public LightningMoney? FundingAmount { get; init; }
Property Value
HtlcMinimumAmount
public required LightningMoney HtlcMinimumAmount { get; init; }
Property Value
MaxAcceptedHtlcs
public required ushort MaxAcceptedHtlcs { get; init; }
Property Value
MaxHtlcValueInFlight
public LightningMoney? MaxHtlcValueInFlight { get; init; }
Property Value
OurChannelReserveAmount
public required LightningMoney OurChannelReserveAmount { get; init; }
Property Value
PushAmount
public LightningMoney? PushAmount { get; init; }
Property Value
ToSelfDelay
public required ushort ToSelfDelay { get; init; }
Property Value
Methods
FromAcceptChannel1Payload(AcceptChannel1Payload, LightningMoney)
public static ChannelOpenOptionalValidationParameters FromAcceptChannel1Payload(AcceptChannel1Payload payload, LightningMoney ourChannelReserveAmount)
Parameters
payloadAcceptChannel1PayloadourChannelReserveAmountLightningMoney
Returns
FromOpenChannel1Payload(OpenChannel1Payload, LightningMoney)
Creates validation parameters from an incoming OpenChannel1Payload.
public static ChannelOpenOptionalValidationParameters FromOpenChannel1Payload(OpenChannel1Payload payload, LightningMoney ourChannelReserveAmount)
Parameters
payloadOpenChannel1PayloadourChannelReserveAmountLightningMoney