< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Channels.Constants.ChannelConstants
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Channels/Constants/ChannelConstants.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 15
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Channels/Constants/ChannelConstants.cs

#LineLine coverage
 1namespace NLightning.Domain.Channels.Constants;
 2
 3using Money;
 4
 5public static class ChannelConstants
 6{
 7    public const int MaxAcceptedHtlcs = 483;
 8    public const int ChannelIdLength = 32;
 9    public const int MaxUnconfirmedChannelAge = 2016; // 2 weeks at 6 blocks per hour
 10
 011    public static readonly LightningMoney LargeChannelAmount = LightningMoney.Satoshis(16_777_216);
 012    public static readonly LightningMoney MaxFeePerKw = LightningMoney.Satoshis(100_000);
 013    public static readonly LightningMoney MinFeePerKw = LightningMoney.Satoshis(1_000);
 014    public static readonly LightningMoney MinDustLimitAmount = LightningMoney.Satoshis(354);
 15}

Methods/Properties

.cctor()