Commit ac213331 authored by Sergei Zubov's avatar Sergei Zubov

Update reserve balance for staking

parent c27aa6b4
...@@ -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,
......
...@@ -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 = 100000000; // TOOD:settings.targetReserveBalance
this.stakeProgressFlag = StakeNotInProgress; this.stakeProgressFlag = StakeNotInProgress;
this.rpcGetStakingInfoModel = new Miner.Models.GetStakingInfoModel(); this.rpcGetStakingInfoModel = new Miner.Models.GetStakingInfoModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment