Skip to content

Commit

Permalink
[Cleanup] Remove zPIV precomputing global variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Jan 3, 2020
1 parent 520284e commit 837f4e2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ static const unsigned char REJECT_DUST = 0x41;
static const unsigned char REJECT_INSUFFICIENTFEE = 0x42;
static const unsigned char REJECT_CHECKPOINT = 0x43;

/** zPIV precomputing variables
* Set the number of included blocks to precompute per cycle. */
static const int DEFAULT_PRECOMPUTE_LENGTH = 1000;
static const int MIN_PRECOMPUTE_LENGTH = 500;
static const int MAX_PRECOMPUTE_LENGTH = 2000;

struct BlockHasher {
size_t operator()(const uint256& hash) const { return hash.GetLow64(); }
};
Expand Down

0 comments on commit 837f4e2

Please sign in to comment.