Browse Source

Update description of GetNetworkHashPS()

0.8
pooler 11 years ago
parent
commit
7446c4adc9
  1. 4
      src/rpcmining.cpp

4
src/rpcmining.cpp

@ -11,7 +11,9 @@
using namespace json_spirit; using namespace json_spirit;
using namespace std; using namespace std;
// Litecoin: Return average network hashes per second based on last number of blocks. // Return average network hashes per second based on the last 'lookup' blocks,
// or from the last difficulty change if 'lookup' is nonpositive.
// If 'height' is nonnegative, compute the estimate at the time when a given block was found.
Value GetNetworkHashPS(int lookup, int height) { Value GetNetworkHashPS(int lookup, int height) {
CBlockIndex *pb = pindexBest; CBlockIndex *pb = pindexBest;

Loading…
Cancel
Save