aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2012-06-14 18:21:07 +0000
committerLuke Dashjr <[email protected]>2012-06-14 18:21:07 +0000
commit5e322a72f94e3c759bb37cec37d8c066766b6072 (patch)
tree1f90145c9e1964685a62a3011b6811fe5e896ede /src/bitcoinrpc.cpp
parentUse a 64-bit nonce in ping (diff)
parentMerge branch '0.5.x' into 0.6.0.x (diff)
downloaddiscoin-5e322a72f94e3c759bb37cec37d8c066766b6072.tar.xz
discoin-5e322a72f94e3c759bb37cec37d8c066766b6072.zip
Merge branch '0.6.0.x' into 0.6.x
Conflicts: .gitignore src/bitcoinrpc.cpp src/main.cpp src/qt/bitcoingui.cpp src/ui_interface.h src/util.cpp
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index a954050b3..3553f81b4 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -225,7 +225,7 @@ Value stop(const Array& params, bool fHelp)
"stop\n"
"Stop bitcoin server.");
// Shutdown will take long enough that the response should get back
- QueueShutdown();
+ StartShutdown();
return "bitcoin server stopping";
}
@@ -1707,7 +1707,7 @@ Value encryptwallet(const Array& params, bool fHelp)
// BDB seems to have a bad habit of writing old data into
// slack space in .dat files; that is bad if the old data is
// unencrypted private keys. So:
- QueueShutdown();
+ StartShutdown();
return "wallet encrypted; bitcoin server stopping, restart to run with encrypted wallet";
}
@@ -2380,7 +2380,7 @@ void ThreadRPCServer2(void* parg)
GetConfigFile().string().c_str(),
EncodeBase58(&rand_pwd[0],&rand_pwd[0]+32).c_str()),
_("Error"), wxOK | wxMODAL);
- QueueShutdown();
+ StartShutdown();
return;
}
@@ -2401,7 +2401,7 @@ void ThreadRPCServer2(void* parg)
{
ThreadSafeMessageBox(strprintf(_("An error occured while setting up the RPC port %i for listening: %s"), endpoint.port(), e.what()),
_("Error"), wxOK | wxMODAL);
- QueueShutdown();
+ StartShutdown();
return;
}