Skip to content
Browse files

Specify which algorithm to use in getwork

  • Loading branch information...
1 parent 8ad55e4 commit b84654323c909e0db97edd255ae64a8651c25d33 @coblee coblee committed Jul 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/bitcoinrpc.cpp
1 src/bitcoinrpc.cpp
@@ -2256,6 +2256,7 @@ Value getwork(const Array& params, bool fHelp)
result.push_back(Pair("data", HexStr(BEGIN(pdata), END(pdata))));
result.push_back(Pair("hash1", HexStr(BEGIN(phash1), END(phash1)))); // deprecated
result.push_back(Pair("target", HexStr(BEGIN(hashTarget), END(hashTarget))));
+ result.push_back(Pair("algorithm", "scrypt(1024,1,1)")); // Litecoin: specify that we should use the scrypt algorithm
return result;

0 comments on commit b846543

Please sign in to comment.
Something went wrong with that request. Please try again.