< Summary - Combined Code Coverage

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

#LineLine coverage
 1using NBitcoin;
 2using NBitcoin.Crypto;
 3using NLightning.Domain.Enums;
 4using NLightning.Domain.Money;
 5
 6namespace NLightning.Tests.Utils.Vectors;
 7
 8public static class Bolt3AppendixFVectors
 9{
 010    public static readonly LightningMoney Tx0ToLocalMsat = new(7_000_000, LightningMoneyUnit.Satoshi);
 011    public static readonly LightningMoney Tx1ToLocalMsat = new(10_000_000, LightningMoneyUnit.Satoshi);
 012    public static readonly LightningMoney Tx2ToLocalMsat = new(6_988_000, LightningMoneyUnit.Satoshi);
 013    public static readonly LightningMoney Tx8ToLocalMsat = new(6_987_999_999, LightningMoneyUnit.MilliSatoshi);
 14
 015    public static readonly Transaction ExpectedCommitTx0 = Transaction.Parse(
 016        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80044a01000000000
 017        Network.Main);
 18
 019    public static readonly Transaction ExpectedCommitTx1 = Transaction.Parse(
 020        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80024a01000000000
 021        Network.Main);
 22
 023    public static readonly Transaction ExpectedCommitTx2 = Transaction.Parse(
 024        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80094a01000000000
 025        Network.Main);
 26
 027    public static readonly Transaction ExpectedCommitTx3 = Transaction.Parse(
 028        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80084a01000000000
 029        Network.Main);
 30
 031    public static readonly Transaction ExpectedCommitTx4 = Transaction.Parse(
 032        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80064a01000000000
 033        Network.Main);
 34
 035    public static readonly Transaction ExpectedCommitTx5 = Transaction.Parse(
 036        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80054a01000000000
 037        Network.Main);
 38
 039    public static readonly Transaction ExpectedCommitTx6 = Transaction.Parse(
 040        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80044a01000000000
 041        Network.Main);
 42
 043    public static readonly Transaction ExpectedCommitTx7 = Transaction.Parse(
 044        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80024a01000000000
 045        Network.Main);
 46
 047    public static readonly Transaction ExpectedCommitTx8 = Transaction.Parse(
 048        "02000000000101bef67e4e2fb9ddeeb3461973cd4c62abb35050b1add772995b820b584a488489000000000038b02b80074a01000000000
 049        Network.Main);
 50
 051    public static readonly ECDSASignature NodeBSignature0 =
 052        new(Convert.FromHexString(
 053                "3045022100f89034eba16b2be0e5581f750a0a6309192b75cce0f202f0ee2b4ec0cc394850022076c65dc507fe42276152b7a3d
 54
 055    public static readonly ECDSASignature NodeBSignature1 =
 056        new(Convert.FromHexString(
 057                "30440220655bf909fb6fa81d086f1336ac72c97906dce29d1b166e305c99152d810e26e1022051f577faa46412c46707aaac46b
 58
 059    public static readonly ECDSASignature NodeBSignature2 =
 060        new(Convert.FromHexString(
 061                "3045022100e0106830467a558c07544a3de7715610c1147062e7d091deeebe8b5c661cda9402202ad049c1a6d04834317a78483
 62
 063    public static readonly ECDSASignature NodeBSignature3 =
 064        new(Convert.FromHexString(
 065                "3044022025d97466c8049e955a5afce28e322f4b34d2561118e52332fb400f9b908cc0a402205dc6fba3a0d67ee142c428c5355
 66
 067    public static readonly ECDSASignature NodeBSignature4 =
 068        new(Convert.FromHexString(
 069                "3044022040f63a16148cf35c8d3d41827f5ae7f7c3746885bb64d4d1b895892a83812b3e02202fcf95c2bf02c466163b3fa3ced
 70
 071    public static readonly ECDSASignature NodeBSignature5 =
 072        new(Convert.FromHexString(
 073                "3045022100ad6c71569856b2d7ff42e838b4abe74a713426b37f22fa667a195a4c88908c6902202b37272b02a42dc6d9f4f82ca
 74
 075    public static readonly ECDSASignature NodeBSignature6 =
 076        new(Convert.FromHexString(
 077                "3045022100e784a66b1588575801e237d35e510fd92a81ae3a4a2a1b90c031ad803d07b3f3022021bc5f16501f167607d63b681
 78
 079    public static readonly ECDSASignature NodeBSignature7 =
 080        new(Convert.FromHexString(
 081                "30450221008fd5dbff02e4b59020d4cd23a3c30d3e287065fda75a0a09b402980adf68ccda022001e0b8b620cd915ddff11f1de
 82
 083    public static readonly ECDSASignature NodeBSignature8 =
 084        new(Convert.FromHexString(
 085                "3044022027b38dfb654c34032ffb70bb43022981652fce923cbbe3cbe7394e2ade8b34230220584195b78da6e25c2e8da6b4308
 86}

Methods/Properties

.cctor()