RPC: add facility to enable RPCs to run outside cs_main, wallet locks

Use with 'stop' and 'help' RPCs.

This provides a facility to individually evaluate the locking for an RPC, and
potentially make it more parallel.
This commit is contained in:
Jeff Garzik
2012-08-21 12:03:52 -04:00
committed by Jeff Garzik
parent 5f2b41d54d
commit 0e1d3551da
2 changed files with 63 additions and 58 deletions

View File

@@ -46,6 +46,7 @@ public:
std::string name;
rpcfn_type actor;
bool okSafeMode;
bool unlocked;
};
/**