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
9d48dd0e
Commit
9d48dd0e
authored
May 31, 2018
by
Alexey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NodeSettings changed to put DeStream instead of Stratis in folder paths.
parent
21812674
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
launchSettings.json
Sources/DeStream.DeStreamD/Properties/launchSettings.json
+1
-1
NodeSettings.cs
...es/DeStream.Stratis.Bitcoin/Configuration/NodeSettings.cs
+3
-2
DeStream.Networks.cs
Sources/NBitcoin/DeStream.Networks.cs
+3
-3
No files found.
Sources/DeStream.DeStreamD/Properties/launchSettings.json
View file @
9d48dd0e
...
...
@@ -2,7 +2,7 @@
"profiles"
:
{
"Stratis.StratisD"
:
{
"commandName"
:
"Project"
,
"commandLineArgs"
:
"-testnet -
addnode 127.0.0.1
"
"commandLineArgs"
:
"-testnet -
debug -loglevel=trace
"
},
"Stratis.StratisD Test"
:
{
"commandName"
:
"Project"
,
...
...
Sources/DeStream.Stratis.Bitcoin/Configuration/NodeSettings.cs
View file @
9d48dd0e
...
...
@@ -8,6 +8,7 @@ using Stratis.Bitcoin.Utilities;
using
Stratis.Bitcoin.Configuration
;
using
System.Collections.Generic
;
using
Stratis.Bitcoin.Builder.Feature
;
using
Stratis.Bitcoin.Utilities.Extensions
;
namespace
DeStream.Stratis.Bitcoin.Configuration
{
...
...
@@ -25,7 +26,7 @@ namespace DeStream.Stratis.Bitcoin.Configuration
public
DeStreamNodeSettings
(
Network
innerNetwork
=
null
,
ProtocolVersion
protocolVersion
=
SupportedProtocolVersion
,
string
agent
=
"DeStream"
,
string
[]
args
=
null
,
bool
loadConfiguration
=
true
)
:
base
(
innerNetwork
,
protocolVersion
,
agent
,
args
,
loadConfiguration
)
{
{
}
/// <summary>
...
...
@@ -43,7 +44,7 @@ namespace DeStream.Stratis.Bitcoin.Configuration
var
args
=
this
.
LoadArgs
;
// Setting the data directory.
if
(
this
.
DataDir
==
null
)
if
(
this
.
LoadArgs
.
GetValueOf
(
"-datadir"
)
==
null
||
this
.
DataDir
==
null
)
{
this
.
DataDir
=
this
.
CreateDefaultDataDirectories
(
Path
.
Combine
(
"DeStreamNode"
,
this
.
Network
.
RootFolderName
),
this
.
Network
);
}
...
...
Sources/NBitcoin/DeStream.Networks.cs
View file @
9d48dd0e
...
...
@@ -37,7 +37,7 @@ namespace NBitcoin
Network
network
=
new
Network
{
Name
=
"DeStreamMain"
,
RootFolderName
=
Stratis
RootFolderName
,
RootFolderName
=
DeStream
RootFolderName
,
DefaultConfigFilename
=
StratisDefaultConfigFilename
,
Magic
=
magic
,
DefaultPort
=
0xDE01
,
// 56833,
...
...
@@ -158,7 +158,7 @@ namespace NBitcoin
Network
network
=
new
Network
{
Name
=
"DeStreamTest"
,
RootFolderName
=
Stratis
RootFolderName
,
RootFolderName
=
DeStream
RootFolderName
,
DefaultConfigFilename
=
StratisDefaultConfigFilename
,
Magic
=
magic
,
DefaultPort
=
0xDE11
,
//56849,
...
...
@@ -256,7 +256,7 @@ namespace NBitcoin
Network
network
=
new
Network
{
Name
=
"DeStreamRegTest"
,
RootFolderName
=
Stratis
RootFolderName
,
RootFolderName
=
DeStream
RootFolderName
,
DefaultConfigFilename
=
StratisDefaultConfigFilename
,
Magic
=
magic
,
DefaultPort
=
18444
,
...
...
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