Skip to content

Commit

Permalink
3.3.5.7-2
Browse files Browse the repository at this point in the history
  • Loading branch information
gridcoin committed Jan 14, 2015
1 parent 04d62ad commit 348f118
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.Debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: gridcoinresearch
# Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jan 13 18:17:11 2015
# Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jan 13 18:37:51 2015
# Project: gridcoinstake.pro
# Template: app
#############################################################################
Expand Down
2 changes: 1 addition & 1 deletion Makefile.Release
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: gridcoinresearch
# Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jan 13 18:17:12 2015
# Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jan 13 18:37:52 2015
# Project: gridcoinstake.pro
# Template: app
#############################################################################
Expand Down
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ extern void FlushGridcoinBlockFile(bool fFinalize);
std::string Organization = "";
std::string OrganizationKey = "";

int nGrandfather = 115237;
int nGrandfather = 115261;

//GPU Projects:
std::string msGPUMiningProject = "";
Expand Down Expand Up @@ -2997,13 +2997,13 @@ bool CBlock::ConnectBlock(CTxDB& txdb, CBlockIndex* pindex, bool fJustCheck)
{
//Ban the researcher if owed less than -1000grc
return DoS(100, error("ConnectBlock(): Hack Attempt! : Researchers Reward for CPID %s pays far too much: Owed %f, (actual=%"PRId64" vs calculated=%"PRId64") Mag: %f, hash %s",
(double)owed_advanced, bb.cpid.c_str(), nStakeReward/COIN, nCalculatedResearch2/COIN, user_magnitude,vtx[0].hashBoinc.c_str()));
bb.cpid.c_str(), (double)owed_advanced, nStakeReward/COIN, nCalculatedResearch2/COIN, (double)user_magnitude,vtx[0].hashBoinc.c_str()));
}
if (complete_failure)
{

return DoS(20, error("ConnectBlock() : Researchers Reward for CPID %s pays too much(actual=%"PRId64" vs calculated=%"PRId64") Mag: %f, Hash: %s",
bb.cpid.c_str(), nStakeReward/COIN, nCalculatedResearch2/COIN, user_magnitude, vtx[0].hashBoinc.c_str()));
return DoS(20, error("ConnectBlock() : Researchers Reward for CPID %s pays too much - Owed %f , (actual=%"PRId64" vs calculated=%"PRId64") Mag: %f, Hash: %s",
bb.cpid.c_str(), (double)owed_advanced,nStakeReward/COIN, nCalculatedResearch2/COIN, (double)user_magnitude, vtx[0].hashBoinc.c_str()));
}
}
}
Expand Down

0 comments on commit 348f118

Please sign in to comment.