Commit 2333fc6b authored by Pavel Pavlov's avatar Pavel Pavlov

Merge DeStream-Blockchain with solution Stratis.Bitcoin.FullNode

- modify projects "DeStreamD"
- modify networks - DeStreamTest
parent 342a9d8f
...@@ -46,8 +46,8 @@ namespace DeStream.DeStreamD ...@@ -46,8 +46,8 @@ namespace DeStream.DeStreamD
// NOTES: running BTC and STRAT side by side is not possible yet as the flags for serialization are static // NOTES: running BTC and STRAT side by side is not possible yet as the flags for serialization are static
var node = new FullNodeBuilder() var node = new FullNodeBuilder()
.UseNodeSettings(nodeSettings) .UseNodeSettings(nodeSettings)
.UsePosConsensus()
.UseBlockStore() .UseBlockStore()
.UsePosConsensus()
.UseMempool() .UseMempool()
.UseWallet() .UseWallet()
.AddPowPosMining() .AddPowPosMining()
......
...@@ -10,8 +10,14 @@ namespace NBitcoin.Networks ...@@ -10,8 +10,14 @@ namespace NBitcoin.Networks
{ {
public class DeStreamTest : Network public class DeStreamTest : Network
{ {
public DeStreamTest() public DeStreamTest() : base()
{ {
this.DNSSeeds = new List<DNSSeedData>();
this.SeedNodes = new List<NetworkAddress>();
this.Checkpoints = new Dictionary<int, CheckpointInfo>();
this.Consensus = new Consensus();
this.Base58Prefixes = new byte[12][];
this.Bech32Encoders = new Bech32Encoder[2];
//The message start string is designed to be unlikely to occur in normal data. //The message start string is designed to be unlikely to occur in normal data.
// The characters are rarely used upper ASCII, not valid as UTF - 8, and produce // The characters are rarely used upper ASCII, not valid as UTF - 8, and produce
// a large 4 - byte int at any alignment. // a large 4 - byte int at any alignment.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment