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
ac213331
Commit
ac213331
authored
Oct 29, 2018
by
Sergei Zubov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update reserve balance for staking
parent
c27aa6b4
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
PosMinting.cs
Sources/Stratis.Bitcoin.Features.Miner/PosMinting.cs
+1
-1
No files found.
Sources/NBitcoin/Networks/DeStreamMain.cs
View file @
ac213331
...
@@ -167,8 +167,8 @@ namespace NBitcoin.Networks
...
@@ -167,8 +167,8 @@ namespace NBitcoin.Networks
initialWalletAddresses
);
initialWalletAddresses
);
this
.
Consensus
.
HashGenesisBlock
=
this
.
Genesis
.
GetHash
();
this
.
Consensus
.
HashGenesisBlock
=
this
.
Genesis
.
GetHash
();
Assert
(
this
.
Consensus
.
HashGenesisBlock
==
uint256
.
Parse
(
"
754bc6b0a3ee1b05d3a5dc309b311ba84b02cbbe9992715198e6a59219afc19f
"
));
Assert
(
this
.
Consensus
.
HashGenesisBlock
==
uint256
.
Parse
(
"
416beaac36e7d6e08a46a87ec1bea980a9ac527609f81ea5e2c992920c052df5
"
));
Assert
(
this
.
Genesis
.
Header
.
HashMerkleRoot
==
uint256
.
Parse
(
"
8663707abae6892f1b44a62746c2b04903b61074f36dd13c21e6792c76ae663a
"
));
Assert
(
this
.
Genesis
.
Header
.
HashMerkleRoot
==
uint256
.
Parse
(
"
b99cb1b790a1506ceefc3ee989dfaa747e9393bfe64f40872553f16d541e5742
"
));
}
}
protected
Block
CreateDeStreamGenesisBlock
(
ConsensusFactory
consensusFactory
,
uint
nTime
,
uint
nNonce
,
protected
Block
CreateDeStreamGenesisBlock
(
ConsensusFactory
consensusFactory
,
uint
nTime
,
uint
nNonce
,
...
...
Sources/Stratis.Bitcoin.Features.Miner/PosMinting.cs
View file @
ac213331
...
@@ -370,7 +370,7 @@ namespace Stratis.Bitcoin.Features.Miner
...
@@ -370,7 +370,7 @@ namespace Stratis.Bitcoin.Features.Miner
this
.
systemTimeOutOfSyncSleep
=
7000
;
this
.
systemTimeOutOfSyncSleep
=
7000
;
this
.
lastCoinStakeSearchTime
=
this
.
dateTimeProvider
.
GetAdjustedTimeAsUnixTimestamp
();
this
.
lastCoinStakeSearchTime
=
this
.
dateTimeProvider
.
GetAdjustedTimeAsUnixTimestamp
();
this
.
lastCoinStakeSearchPrevBlockHash
=
0
;
this
.
lastCoinStakeSearchPrevBlockHash
=
0
;
this
.
targetReserveBalance
=
0
;
// TOOD:settings.targetReserveBalance
this
.
targetReserveBalance
=
10000000
0
;
// TOOD:settings.targetReserveBalance
this
.
stakeProgressFlag
=
StakeNotInProgress
;
this
.
stakeProgressFlag
=
StakeNotInProgress
;
this
.
rpcGetStakingInfoModel
=
new
Miner
.
Models
.
GetStakingInfoModel
();
this
.
rpcGetStakingInfoModel
=
new
Miner
.
Models
.
GetStakingInfoModel
();
...
...
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