Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rpc changes (Large) #1024

Merged
merged 28 commits into from
Mar 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
da46408
remove extra space from error message
iFoggz Feb 14, 2018
bcdbd10
bitcoinrpc changes and testing complete
iFoggz Feb 14, 2018
0e058a3
initial changes for last of testing
iFoggz Feb 14, 2018
4fa945d
Remove unlocked feature no longer used by bitcoin; Move locks into rp…
iFoggz Feb 16, 2018
ac5e077
move some of the execute rpc calls into straight rpc calls. move exec…
iFoggz Feb 16, 2018
c5f4fa9
fix rpc bug and support for subcategories
iFoggz Feb 17, 2018
072dbc2
latest changes
iFoggz Feb 18, 2018
2069cba
Add debug4 for rpc response times
iFoggz Feb 19, 2018
2b95193
..
iFoggz Feb 19, 2018
afa5e08
complete mining category
iFoggz Feb 26, 2018
c0d8dfc
more of developer category complete
iFoggz Feb 26, 2018
da8fb12
Complete developers category
iFoggz Feb 26, 2018
365edbe
update changes
iFoggz Feb 27, 2018
7cebebd
more done
iFoggz Feb 28, 2018
afacace
Complete with some refactoring; TODO spacing
iFoggz Mar 7, 2018
a974c90
Fix compiler issues
iFoggz Mar 7, 2018
6b783e1
Add getwalletinfo, getblockchaininfo, getnetworkinfo
iFoggz Mar 7, 2018
554b53d
refactor fdebug4 a bit
iFoggz Mar 7, 2018
02e00e3
add debug4 to rpc
iFoggz Mar 7, 2018
da6f8e2
Start clean up of code
iFoggz Mar 8, 2018
03eb989
Add RPC_DEPRECATED json error
iFoggz Mar 8, 2018
c147ceb
cleanup
iFoggz Mar 8, 2018
3260bed
clean up + prep for help refactoring
iFoggz Mar 11, 2018
b35ea54
Moved/changed/added locks
iFoggz Mar 14, 2018
7af41a3
Moved/changed locks
iFoggz Mar 14, 2018
d5e1bd4
Adjustments
iFoggz Mar 14, 2018
ed7b6a0
fixed compiler conflicts
iFoggz Mar 15, 2018
7aa7ec8
fix help <command>; fix win32 compiliation errors
iFoggz Mar 15, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/backup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ bool BackupPrivateKeys(const CWallet& wallet, std::string& sTarget, std::string&
{
if (wallet.IsLocked() || fWalletUnlockStakingOnly)
{
sErrors = "Wallet needs to be fully unlocked to backup private keys. ";
sErrors = "Wallet needs to be fully unlocked to backup private keys.";
return false;
}
filesystem::path PrivateKeysTarget = GetBackupFilename("keys.dat");
Expand Down
560 changes: 362 additions & 198 deletions src/bitcoinrpc.cpp

Large diffs are not rendered by default.

242 changes: 173 additions & 69 deletions src/bitcoinrpc.h

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,18 @@ bool AppInit2(ThreadHandlerPtr threads)
}

fDebug3 = false;

if (GetArg("-debug3", "false")=="true")
{
fDebug3 = true;
LogPrintf("Entering GRC debug mode 3.\n");
}

fDebug4 = GetBoolArg("-debug4");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reminder to self to join this to same as other debugs or change others to appropriate method


if (fDebug4)
printf("Entering RPC time debug mode\r\n");

fDebug10= (GetArg("-debug10","false")=="true");

#if !defined(WIN32) && !defined(QT_GUI)
Expand Down
Loading