Skip to content

Commit 80fd7d9

Browse files
committed
bump core in testframework
1 parent 8afeeff commit 80fd7d9

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

NBitcoin.TestFramework/NBitcoin.TestFramework.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<VersionPrefix>4.0.0</VersionPrefix>
4+
<VersionPrefix>4.0.1</VersionPrefix>
55
<LangVersion>12.0</LangVersion>
66
<TargetFrameworks>net472;netstandard2.0</TargetFrameworks>
77
<TargetFrameworks Condition="'$(BuildingInsideVisualStudio)' == 'true'">netstandard2.1</TargetFrameworks>

NBitcoin.TestFramework/NodeBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ public async Task StartAsync()
548548
if (NodeImplementation.AdditionalRegtestConfig != null)
549549
configStr.AppendLine(NodeImplementation.AdditionalRegtestConfig);
550550
File.WriteAllText(_Config, configStr.ToString());
551-
551+
552552
await Run();
553553
}
554554

@@ -615,7 +615,7 @@ private void CreateDefaultWallet()
615615
info.RedirectStandardOutput = true;
616616
}
617617
using (var walletToolProcess = Process.Start(info))
618-
{
618+
{
619619
walletToolProcess.WaitForExit();
620620
// Some doesn't support this
621621
if (walletToolProcess.ExitCode != 0 && walletType != string.Empty)

NBitcoin.TestFramework/WellknownNodeDownloadData.cs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,33 @@ public class BitcoinNodeDownloadData : NodeDownloadDataBase
532532
UseSectionInConfigFile = true,
533533
CreateWallet = true
534534
};
535+
public NodeDownloadData v29_1 = new NodeDownloadData()
536+
{
537+
Version = "29.1",
538+
Linux = new NodeOSDownloadData()
539+
{
540+
Archive = "bitcoin-{0}-x86_64-linux-gnu.tar.gz",
541+
DownloadLink = "https://bitcoincore.org/bin/bitcoin-core-{0}/bitcoin-{0}-x86_64-linux-gnu.tar.gz",
542+
Executable = "bitcoin-{0}/bin/bitcoind",
543+
Hash = "2dddeaa8c0626ec446b6f21b64c0f3565a1e7e67ff0b586d25043cbd686c9455"
544+
},
545+
Mac = new NodeOSDownloadData()
546+
{
547+
Archive = "bitcoin-{0}-x86_64-apple-darwin.tar.gz",
548+
DownloadLink = "https://bitcoincore.org/bin/bitcoin-core-{0}/bitcoin-{0}-x86_64-apple-darwin.tar.gz",
549+
Executable = "bitcoin-{0}/bin/bitcoind",
550+
Hash = "eed72e5ccbee0148bde65a00081f6dc3491bc60c0da641e698a9b8e0f1340b4a"
551+
},
552+
Windows = new NodeOSDownloadData()
553+
{
554+
Executable = "bitcoin-{0}/bin/bitcoind.exe",
555+
DownloadLink = "https://bitcoincore.org/bin/bitcoin-core-{0}/bitcoin-{0}-win64.zip",
556+
Archive = "bitcoin-{0}-win64.zip",
557+
Hash = "0cdabb828273319976de9a3c1aa34efe463c4d1c64d89b0b7e61634d6bbd39b7"
558+
},
559+
UseSectionInConfigFile = true,
560+
CreateWallet = true
561+
};
535562
}
536563

537564
public class LitecoinNodeDownloadData : NodeDownloadDataBase

0 commit comments

Comments
 (0)