Skip to content

Commit

Permalink
add staking time parameter to prevent staking until 9PM EST for a fai…
Browse files Browse the repository at this point in the history
…r relaunch of PoS
  • Loading branch information
StakeBox committed Aug 16, 2016
1 parent 7048121 commit c57b666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ void BitcoinMiner(CWallet *pwallet, bool fProofOfStake)
continue;
}

while (vNodes.empty() || pwallet->IsLocked() || !fMintableCoins || nReserveBalance >= pwallet->GetBalance() || !masternodeSync.IsSynced())
while (chainActive.Tip()->nTime < 1471482000 || vNodes.empty() || pwallet->IsLocked() || !fMintableCoins || nReserveBalance >= pwallet->GetBalance() || !masternodeSync.IsSynced())
{
nLastCoinStakeSearchInterval = 0;
MilliSleep(5000);
Expand Down

0 comments on commit c57b666

Please sign in to comment.