< Summary - Combined Code Coverage

Information
Class: NLightning.Tests.Utils.Vectors.Bolt3AppendixBVectors
Assembly: NLightning.Tests.Utils
File(s): /home/runner/work/nlightning/nlightning/test/NLightning.Tests.Utils/Vectors/Bolt3AppendixBVectors.cs
Tag: 36_15743069263
Line coverage
100%
Covered lines: 22
Uncovered lines: 0
Coverable lines: 22
Total lines: 42
Line coverage: 100%
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%11100%

File(s)

/home/runner/work/nlightning/nlightning/test/NLightning.Tests.Utils/Vectors/Bolt3AppendixBVectors.cs

#LineLine coverage
 1using NBitcoin;
 2using NLightning.Domain.Money;
 3
 4namespace NLightning.Tests.Utils.Vectors;
 5
 6public static class Bolt3AppendixBVectors
 7{
 128    public static readonly uint256 InputTxId = new("fd2105607605d2302994ffea703b09f66b6351816ee737a93e42a841ea20bbad");
 9
 1210    public static readonly Transaction InputTx = Transaction.Parse(
 1211        "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff03510101ffffffff0100f2052a010
 1212        Network.Main);
 13
 14    public const int InputIndex = 0;
 15
 1216    public static readonly Key InputSigningPrivKey =
 1217        new(Convert.FromHexString("6bd078650fcee8444e4e09825227b801a1ca928debb750eb36e6d56124bb20e8"));
 18
 1219    public static readonly PubKey LocalPubKey =
 1220        new("023da092f6980e58d2c037173180e9a465476026ee50f96695963e8efe436f54eb");
 21
 1222    public static readonly PubKey RemotePubKey =
 1223        new("030e9f7b623d2ccc7c9bd44d66d5ce21ce504c0acf6385a132cec6d3c39fa711c1");
 24
 1225    public static readonly LightningMoney FundingSatoshis = 10_000_000_000UL;
 26
 1227    public static readonly Script
 1228        ChangeScript = Script.FromHex("00143ca33c2e4446f4a305f23c80df8ad1afdcf652f9"); // P2WPKH
 29
 1230    public static readonly LightningMoney ExpectedChangeSatoshis = 4_989_986_080_000UL;
 31
 1232    public static readonly uint256 ExpectedTxId =
 1233        new("8984484a580b825b9972d7adb15050b3ab624ccd731946b3eeddb92f4e7ef6be");
 34
 1235    public static readonly Transaction ExpectedTx = Transaction.Parse(
 1236        "0200000001adbb20ea41a8423ea937e76e8151636bf6093b70eaff942930d20576600521fd000000006b48304502210090587b6201e166a
 1237        Network.Main);
 38
 1239    public static readonly WitScript InputWitScript =
 1240        new(
 1241            "5221023da092f6980e58d2c037173180e9a465476026ee50f96695963e8efe436f54eb21030e9f7b623d2ccc7c9bd44d66d5ce21ce5
 42}

Methods/Properties

.cctor()