Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Specify which algorithm to use in getwork

  • Loading branch information...
commit b84654323c909e0db97edd255ae64a8651c25d33 1 parent 8ad55e4
@coblee coblee authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/bitcoinrpc.cpp
View
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;
}
else
Please sign in to comment.
Something went wrong with that request. Please try again.