Skip to content

Commit f8f93b4

Browse files
Bump bitcoin core on 30.0 in test framework (#1287)
1 parent 14619a9 commit f8f93b4

File tree

10 files changed

+258
-447
lines changed

10 files changed

+258
-447
lines changed

NBitcoin.TestFramework/WellknownNodeDownloadData.cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,34 @@ public class BitcoinNodeDownloadData : NodeDownloadDataBase
559559
UseSectionInConfigFile = true,
560560
CreateWallet = true
561561
};
562+
563+
public NodeDownloadData v30_0 = new NodeDownloadData()
564+
{
565+
Version = "30.0",
566+
Linux = new NodeOSDownloadData()
567+
{
568+
Archive = "bitcoin-{0}-x86_64-linux-gnu.tar.gz",
569+
DownloadLink = "https://bitcoincore.org/bin/bitcoin-core-{0}/bitcoin-{0}-x86_64-linux-gnu.tar.gz",
570+
Executable = "bitcoin-{0}/bin/bitcoind",
571+
Hash = "00964ae375084113b1162f2f493b9372421608af23539766e315a3cb0ee54248"
572+
},
573+
Mac = new NodeOSDownloadData()
574+
{
575+
Archive = "bitcoin-{0}-x86_64-apple-darwin.tar.gz",
576+
DownloadLink = "https://bitcoincore.org/bin/bitcoin-core-{0}/bitcoin-{0}-x86_64-apple-darwin.tar.gz",
577+
Executable = "bitcoin-{0}/bin/bitcoind",
578+
Hash = "4eadf7b06dca695b940ad30f46247aacbd439544a1be25b0ef3baab73777b3d2"
579+
},
580+
Windows = new NodeOSDownloadData()
581+
{
582+
Executable = "bitcoin-{0}/bin/bitcoind.exe",
583+
DownloadLink = "https://bitcoincore.org/bin/bitcoin-core-{0}/bitcoin-{0}-win64.zip",
584+
Archive = "bitcoin-{0}-win64.zip",
585+
Hash = "3d6f3af2cbfbeaf1958d0ffd77e04da6b8b82f26bb67aaa9111247620d5c95db"
586+
},
587+
UseSectionInConfigFile = true,
588+
CreateWallet = true
589+
};
562590
}
563591

564592
public class LitecoinNodeDownloadData : NodeDownloadDataBase

NBitcoin.Tests/NodeBuilderEx.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public static NodeBuilder Create([CallerMemberName] string caller = null)
7070
//var builder = Create(NodeDownloadData.Bitcoin.v0_19_0_1, caller);
7171

7272
var builder = Create(NodeDownloadData.Bitcoin.GetLatest(), caller);
73-
builder.RPCWalletType = RPCWalletType.Legacy;
7473
return builder;
7574
}
7675

0 commit comments

Comments
 (0)