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
98bb282c
Commit
98bb282c
authored
Apr 12, 2018
by
Maxim Bogdanov
🙉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New destream node addresses added.
parent
84dfd415
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
+13
-15
Networks.cs
Sources/NBitcoin/Networks.cs
+11
-9
Program.cs
Sources/Stratis.StratisD/Program.cs
+2
-6
No files found.
Sources/NBitcoin/Networks.cs
View file @
98bb282c
...
...
@@ -471,20 +471,18 @@ namespace NBitcoin
.
AddDNSSeeds
(
new
[]
{
new
DNSSeedData
(
"peak-srv-12.qb-systems.ru"
,
"peak-srv-12.qb-systems.ru"
),
/*new DNSSeedData("testnet1.stratisplatform.com", "testnet1.stratisplatform.com"),
new
DNSSeedData
(
"testnet1.stratisplatform.com"
,
"testnet1.stratisplatform.com"
),
new
DNSSeedData
(
"testnet2.stratisplatform.com"
,
"testnet2.stratisplatform.com"
),
new
DNSSeedData
(
"testnet3.stratisplatform.com"
,
"testnet3.stratisplatform.com"
),
new DNSSeedData("testnet4.stratisplatform.com", "testnet4.stratisplatform.com")
*/
new
DNSSeedData
(
"testnet4.stratisplatform.com"
,
"testnet4.stratisplatform.com"
)
});
builder
.
AddSeeds
(
new
[]
{
new
NetworkAddress
(
IPAddress
.
Parse
(
"95.128.181.196"
),
builder
.
Port
)
//, // danger cloud node
/*new NetworkAddress(IPAddress.Parse("51.140.231.125"), builder.Port)//, // danger cloud node
{
new
NetworkAddress
(
IPAddress
.
Parse
(
"51.140.231.125"
),
builder
.
Port
),
// danger cloud node
new
NetworkAddress
(
IPAddress
.
Parse
(
"13.70.81.5"
),
3389
),
// beard cloud node
new
NetworkAddress
(
IPAddress
.
Parse
(
"191.235.85.131"
),
3389
),
// fassa cloud node
new NetworkAddress(IPAddress.Parse("52.232.58.52"), 26178), // neurosploit public node
*/
new
NetworkAddress
(
IPAddress
.
Parse
(
"52.232.58.52"
),
26178
),
// neurosploit public node
});
return
builder
.
BuildAndRegister
();
...
...
@@ -495,12 +493,16 @@ namespace NBitcoin
var
builder
=
Network
.
GetDestreamTestNetworkBuilderWithCommonData
();
builder
.
AddDNSSeeds
(
new
[]
{
new
DNSSeedData
(
"peak-srv-12.qb-systems.ru"
,
"peak-srv-12.qb-systems.ru"
)
new
DNSSeedData
(
"peak-srv-12.qb-systems.ru"
,
"peak-srv-12.qb-systems.ru"
),
new
DNSSeedData
(
"peak-srv-16.qb-systems.ru"
,
"peak-srv-16.qb-systems.ru"
),
new
DNSSeedData
(
"peak-srv-17.qb-systems.ru"
,
"peak-srv-17.qb-systems.ru"
)
});
builder
.
AddSeeds
(
new
[]
{
new
NetworkAddress
(
IPAddress
.
Parse
(
"95.128.181.196"
),
builder
.
Port
)
new
NetworkAddress
(
IPAddress
.
Parse
(
"95.128.181.196"
),
builder
.
Port
),
new
NetworkAddress
(
IPAddress
.
Parse
(
"95.128.181.103"
),
builder
.
Port
),
//16
new
NetworkAddress
(
IPAddress
.
Parse
(
"95.128.181.80"
),
builder
.
Port
)
//17
});
return
builder
.
BuildAndRegister
();
...
...
Sources/Stratis.StratisD/Program.cs
View file @
98bb282c
...
...
@@ -28,12 +28,7 @@ namespace Stratis.StratisD
{
try
{
if
(
args
!=
null
)
{
foreach
(
var
item
in
args
)
{
Console
.
WriteLine
(
$"cli argument:
{
item
}
"
);
}
}
Network
network
=
null
;
if
(
args
.
Contains
(
"-testnet"
))
network
=
Network
.
StratisTest
;
...
...
@@ -45,6 +40,7 @@ namespace Stratis.StratisD
network
=
Network
.
StratisMain
;
NodeSettings
nodeSettings
=
new
NodeSettings
(
network
,
ProtocolVersion
.
ALT_PROTOCOL_VERSION
,
args
:
args
,
loadConfiguration
:
false
);
Console
.
WriteLine
(
$"current network:
{
network
.
Name
}
"
);
// NOTES: running BTC and STRAT side by side is not possible yet as the flags for serialization are static
var
node
=
new
FullNodeBuilder
()
...
...
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