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
913b8e51
Commit
913b8e51
authored
6 years ago
by
Sergei Zubov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update settings
parent
153c7361
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
DeStreamMain.cs
Sources/NBitcoin/Networks/DeStreamMain.cs
+2
-2
Startup.cs
Sources/Stratis.Bitcoin.Features.Api/Startup.cs
+1
-1
No files found.
Sources/NBitcoin/Networks/DeStreamMain.cs
View file @
913b8e51
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq
;
using
NBitcoin.BouncyCastle.Math
;
using
NBitcoin.BouncyCastle.Math
;
...
@@ -109,7 +109,7 @@ namespace NBitcoin.Networks
...
@@ -109,7 +109,7 @@ namespace NBitcoin.Networks
this
.
Consensus
.
PowNoRetargeting
=
false
;
this
.
Consensus
.
PowNoRetargeting
=
false
;
this
.
Consensus
.
RuleChangeActivationThreshold
=
1916
;
// 95% of 2016
this
.
Consensus
.
RuleChangeActivationThreshold
=
1916
;
// 95% of 2016
this
.
Consensus
.
MinerConfirmationWindow
=
2016
;
// nPowTargetTimespan / nPowTargetSpacing
this
.
Consensus
.
MinerConfirmationWindow
=
2016
;
// nPowTargetTimespan / nPowTargetSpacing
this
.
Consensus
.
LastPOWBlock
=
1
25
00
;
this
.
Consensus
.
LastPOWBlock
=
1
0
00
;
this
.
Consensus
.
IsProofOfStake
=
true
;
this
.
Consensus
.
IsProofOfStake
=
true
;
this
.
Consensus
.
ConsensusFactory
=
new
PosConsensusFactory
{
Consensus
=
this
.
Consensus
};
this
.
Consensus
.
ConsensusFactory
=
new
PosConsensusFactory
{
Consensus
=
this
.
Consensus
};
this
.
Consensus
.
ProofOfStakeLimit
=
new
BigInteger
(
uint256
this
.
Consensus
.
ProofOfStakeLimit
=
new
BigInteger
(
uint256
...
...
This diff is collapsed.
Click to expand it.
Sources/Stratis.Bitcoin.Features.Api/Startup.cs
View file @
913b8e51
...
@@ -37,7 +37,7 @@ namespace Stratis.Bitcoin.Features.Api
...
@@ -37,7 +37,7 @@ namespace Stratis.Bitcoin.Features.Api
builder
=>
builder
=>
{
{
var
allowedDomains
=
new
[]
{
"http://localhost"
,
"http://localhost:4200"
};
var
allowedDomains
=
new
[]
{
"http://localhost"
,
"http://localhost:4200"
,
"http://localhost:6060"
};
builder
builder
.
WithOrigins
(
allowedDomains
)
.
WithOrigins
(
allowedDomains
)
...
...
This diff is collapsed.
Click to expand it.
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