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
2013-12-08 15:26:08 +01:00
parent 70370ae502
commit 4a85e06750
6 changed files with 44 additions and 20 deletions

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`.