diff options
| author | Satoshi Nakamoto <[email protected]> | 2010-08-13 02:23:46 +0000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2010-08-13 02:23:46 +0000 |
| commit | 7f71fd13ae5c61bf844591d93e74803e85601931 (patch) | |
| tree | a9cb89da3ab6261fc5fbf2cdeee70edce373c2e0 /rpc.cpp | |
| parent | fix build, thanks jgarzik (diff) | |
| download | discoin-7f71fd13ae5c61bf844591d93e74803e85601931.tar.xz discoin-7f71fd13ae5c61bf844591d93e74803e85601931.zip | |
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
Diffstat (limited to 'rpc.cpp')
| -rw-r--r-- | rpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |