Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
destream-blockchain
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
destream-blockchain
Commits
ff3c2c58
Commit
ff3c2c58
authored
Apr 16, 2018
by
Alexey Khvostenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"-destreamtest" key has been added to BreezeD-project to implement Wallet for Destream TestNet
parent
98bb282c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
Program.cs
Sources/Stratis.BreezeD/Program.cs
+7
-1
launchSettings.json
Sources/Stratis.BreezeD/Properties/launchSettings.json
+2
-2
Program.cs
Sources/Stratis.StratisD/Program.cs
+0
-1
No files found.
Sources/Stratis.BreezeD/Program.cs
View file @
ff3c2c58
...
@@ -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
)
...
...
Sources/Stratis.BreezeD/Properties/launchSettings.json
View file @
ff3c2c58
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"profiles"
:
{
"profiles"
:
{
"Bitcoin Main"
:
{
"Bitcoin Main"
:
{
"commandName"
:
"Project"
,
"commandName"
:
"Project"
,
"commandLineArgs"
:
"
stratis -testne
t"
"commandLineArgs"
:
"
-destreamtes
t"
},
},
"Bitcoin Test"
:
{
"Bitcoin Test"
:
{
"commandName"
:
"Project"
,
"commandName"
:
"Project"
,
...
...
Sources/Stratis.StratisD/Program.cs
View file @
ff3c2c58
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment