Commit ff3c2c58 authored by Alexey Khvostenko's avatar Alexey Khvostenko

"-destreamtest" key has been added to BreezeD-project to implement Wallet for Destream TestNet

parent 98bb282c
...@@ -27,12 +27,18 @@ namespace Stratis.BreezeD ...@@ -27,12 +27,18 @@ namespace Stratis.BreezeD
// Get the API uri. // Get the API uri.
var isTestNet = args.Contains("-testnet"); var isTestNet = args.Contains("-testnet");
var isStratis = args.Contains("stratis"); var isStratis = args.Contains("stratis");
var isDestreamTest = args.Contains("-destreamtest");
var agent = "Breeze"; var agent = "Breeze";
NodeSettings nodeSettings; NodeSettings nodeSettings;
if (isStratis) if(isDestreamTest)
{
Network network = Network.DestreamTest;
nodeSettings = new NodeSettings(network, ProtocolVersion.ALT_PROTOCOL_VERSION, agent, args: args, loadConfiguration: false);
}
else if (isStratis)
{ {
Network network = isTestNet ? Network.StratisTest : Network.StratisMain; Network network = isTestNet ? Network.StratisTest : Network.StratisMain;
if (isTestNet) if (isTestNet)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"profiles": { "profiles": {
"Bitcoin Main": { "Bitcoin Main": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "stratis -testnet" "commandLineArgs": "-destreamtest"
}, },
"Bitcoin Test": { "Bitcoin Test": {
"commandName": "Project", "commandName": "Project",
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
"commandLineArgs": "stratis -testnet -debug=all -loglevel=debug" "commandLineArgs": "stratis -testnet -debug=all -loglevel=debug"
} }
} }
} }
\ No newline at end of file
...@@ -28,7 +28,6 @@ namespace Stratis.StratisD ...@@ -28,7 +28,6 @@ namespace Stratis.StratisD
{ {
try try
{ {
Network network = null; Network network = null;
if (args.Contains("-testnet")) if (args.Contains("-testnet"))
network = Network.StratisTest; network = Network.StratisTest;
......
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