From 7f71fd13ae5c61bf844591d93e74803e85601931 Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto Date: Fri, 13 Aug 2010 02:23:46 +0000 Subject: 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 --- rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc.cpp') diff --git a/rpc.cpp b/rpc.cpp index 6ac4f5577..920fe900b 100644 --- a/rpc.cpp +++ b/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::iterator mi = mapCallTable.find(strMethod); -- cgit v1.2.3