mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
fix -datadir=./subdir relative path,
autostart off by default except on windows, fix occasional "vector iterator not dereferencable" assertion with msvc, fix readlink compile warning on linux build, use sys/param.h and BSD define instead of __BSD__, -paytxfee switch git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@130 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
4287732797
commit
01cd2fdaf3
20 changed files with 132 additions and 39 deletions
4
rpc.cpp
4
rpc.cpp
|
|
@ -974,8 +974,8 @@ void ThreadRPCServer2(void* parg)
|
|||
printf("ThreadRPCServer method=%s\n", strMethod.c_str());
|
||||
|
||||
// Observe lockdown
|
||||
if (IsLockdown() && strMethod != "help" && strMethod != "stop" && strMethod != "getgenerate" && strMethod != "setgenerate")
|
||||
throw runtime_error("WARNING: Displayed transactions may not be correct! You may need to upgrade.");
|
||||
if (IsLockdown() && !mapArgs.count("-overridesafety") && strMethod != "help" && strMethod != "stop" && strMethod != "getgenerate" && strMethod != "setgenerate")
|
||||
throw runtime_error("WARNING: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.");
|
||||
|
||||
// Execute
|
||||
map<string, rpcfn_type>::iterator mi = mapCallTable.find(strMethod);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue