Allow mining RPCs with --disable-wallet

The following mining-related RPC calls don't use the wallet:

- getnetworkhashps
- getmininginfo
- getblocktemplate
- submitblock

Enable them when compiling with --disable-wallet.
This commit is contained in:
Wladimir J. van der Laan committed 2013-12-09 08:44:57 +01:00
1 parent 70370ae502
commit 4a85e06750
6 files changed
+44 -20

No files matched your search

+4
View File
@@ -187,3 +187,7 @@ disable-wallet mode with:
./configure --disable-wallet
In this case there is no dependency on Berkeley DB 4.8.
Mining is also possible in disable-wallet mode, but only using the `getblocktemplate` RPC
call not `getwork`.