[mining] Comment out GenerateBitcoins (should be replaced with 'generate') (-gen, -genproclimit have been removed), boost->STL array includes
This commit is contained in:
parent
f554aac4cf
commit
0dc88a7f01
|
@ -19,7 +19,7 @@
|
|||
#include <zcash/JoinSplit.hpp>
|
||||
#include <zcash/Proof.hpp>
|
||||
|
||||
#include <boost/array.hpp>
|
||||
#include <array>
|
||||
|
||||
class JSDescription
|
||||
{
|
||||
|
|
|
@ -126,9 +126,9 @@ void AsyncRPCOperation_mergetoaddress::main()
|
|||
|
||||
#ifdef ENABLE_MINING
|
||||
#ifdef ENABLE_WALLET
|
||||
GenerateBitcoins(false, NULL, 0);
|
||||
//GenerateBitcoins(false, NULL, 0);
|
||||
#else
|
||||
GenerateBitcoins(false, 0);
|
||||
//GenerateBitcoins(false, 0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -155,9 +155,9 @@ void AsyncRPCOperation_mergetoaddress::main()
|
|||
|
||||
#ifdef ENABLE_MINING
|
||||
#ifdef ENABLE_WALLET
|
||||
GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain, GetArg("-genproclimit", 1));
|
||||
//GenerateBitcoins(gArgs.GetBoolArg("-gen", false), pwalletMain, gArgs.GetArg("-genproclimit", 1));
|
||||
#else
|
||||
GenerateBitcoins(GetBoolArg("-gen", false), GetArg("-genproclimit", 1));
|
||||
//GenerateBitcoins(gArgs.GetBoolArg("-gen", false), gArgs.GetArg("-genproclimit", 1));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -127,9 +127,9 @@ void AsyncRPCOperation_sendmany::main() {
|
|||
|
||||
#ifdef ENABLE_MINING
|
||||
#ifdef ENABLE_WALLET
|
||||
GenerateBitcoins(false, NULL, 0);
|
||||
//GenerateBitcoins(false, NULL, 0);
|
||||
#else
|
||||
GenerateBitcoins(false, 0);
|
||||
//GenerateBitcoins(false, 0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -156,9 +156,9 @@ void AsyncRPCOperation_sendmany::main() {
|
|||
|
||||
#ifdef ENABLE_MINING
|
||||
#ifdef ENABLE_WALLET
|
||||
GenerateBitcoins(GetBoolArg("-gen",false), pwalletMain, GetArg("-genproclimit", 1));
|
||||
//GenerateBitcoins(gArgs.GetBoolArg("-gen",false), pwalletMain, gArgs.GetArg("-genproclimit", 1));
|
||||
#else
|
||||
GenerateBitcoins(GetBoolArg("-gen",false), GetArg("-genproclimit", 1));
|
||||
//GenerateBitcoins(gArgs.GetBoolArg("-gen",false), gArgs.GetArg("-genproclimit", 1));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -108,9 +108,9 @@ void AsyncRPCOperation_shieldcoinbase::main() {
|
|||
|
||||
#ifdef ENABLE_MINING
|
||||
#ifdef ENABLE_WALLET
|
||||
GenerateBitcoins(false, NULL, 0);
|
||||
//GenerateBitcoins(false, NULL, 0);
|
||||
#else
|
||||
GenerateBitcoins(false, 0);
|
||||
//GenerateBitcoins(false, 0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -137,9 +137,9 @@ void AsyncRPCOperation_shieldcoinbase::main() {
|
|||
|
||||
#ifdef ENABLE_MINING
|
||||
#ifdef ENABLE_WALLET
|
||||
GenerateBitcoins(GetBoolArg("-gen",false), pwalletMain, GetArg("-genproclimit", 1));
|
||||
//GenerateBitcoins(gArgs.GetBoolArg("-gen",false), pwalletMain, gArgs.GetArg("-genproclimit", 1));
|
||||
#else
|
||||
GenerateBitcoins(GetBoolArg("-gen",false), GetArg("-genproclimit", 1));
|
||||
//GenerateBitcoins(gArgs.GetBoolArg("-gen",false), gArgs.GetArg("-genproclimit", 1));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "uint256.h"
|
||||
#include "uint252.h"
|
||||
|
||||
#include <boost/array.hpp>
|
||||
#include <array>
|
||||
|
||||
namespace libzcash {
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "Zcash.h"
|
||||
#include "Address.hpp"
|
||||
#include "NoteEncryption.hpp"
|
||||
#include <array>
|
||||
|
||||
namespace libzcash {
|
||||
|
||||
|
|
Loading…
Reference in New Issue