Skip to content

Commit

Permalink
3.5.7.0-b - leisure
Browse files Browse the repository at this point in the history
Gridcoin Research 3.5.7.0/MSI=40.5
Leisure Upgrade

- Advanced | Foundation | Expense Reimbursement Request:  Added Username
maintenance page to set your username.  Added Expense Amount to Add,
View and List pages.  Fixed Expense Title width.  Corrected problem with

submitting new expenses (preventing the Expense View page from working).
- Fixed GRCRestarter block downloader percentage value (where it could
exceed 100%).
- Block Syncing: Fixed a long standing bug where the wallet randomly
stops asking for the best block.  Additionally, when out of sync it will
ask for missing blocks periodically.  Made wallet more aware of clusters
of orphans.
- Added 'execute restartclient' for windows for debugging.
- Modified getmininginfo and overview for Investors to say Staking
Interest (instead of Boinc Mining) and removed Boinc Projects Exhaused
for Investors.  Removed Unable To Mine message for Investors.
- Moved unecessary logging to fDebug10=true.  Added message to show the
condition when Process Block succeeds and Set Best Chain fails.
- Added execute askforoutstandingblocks for debugging.
  • Loading branch information
gridcoin committed Jul 22, 2016
1 parent 28c6849 commit 9b50f7e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile.Debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#############################################################################
# Makefile for building: gridcoinresearch
# Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 21 22:07:19 2016
# Project: gridcoinresearch.pro
# Template: app
#############################################################################
Expand Down
1 change: 1 addition & 0 deletions Makefile.Release
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#############################################################################
# Makefile for building: gridcoinresearch
# Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 21 22:07:19 2016
# Project: gridcoinresearch.pro
# Template: app
#############################################################################
Expand Down
8 changes: 6 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4882,7 +4882,9 @@ void GridcoinServices()
if (OutOfSyncByMoreThan(30) || fGhostChain)
{
printf("Restarting Gridcoin...");
int iResult = RestartClient();
#ifdef QT_GUI
int iResult = RestartClient();
#endif
}
}

Expand Down Expand Up @@ -5259,7 +5261,9 @@ bool ProcessBlock(CNode* pfrom, CBlock* pblock, bool generated_by_me)
if (TimerMain("OrphansAndNotRecovering",8))
{
printf("\r\nGridcoin has not recovered after clearing orphans; Restarting node...\r\n");
int iResult = RestartClient();
#ifdef QT_GUI
int iResult = RestartClient();
#endif
}
else
{
Expand Down
5 changes: 4 additions & 1 deletion src/rpcblockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,10 @@ Value execute(const Array& params, bool fHelp)
else if (sItem == "restartclient")
{
printf("Restarting Gridcoin...");
int iResult = RestartClient();
int iResult = 0;
#ifdef QT_GUI
iResult = RestartClient();
#endif
entry.push_back(Pair("Restarting",(double)iResult));
results.push_back(entry);
}
Expand Down

0 comments on commit 9b50f7e

Please sign in to comment.