-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable GPU mining update yescryptr16.
Enable GPU algo update, Fix block size, add coins, correct max supply, fix -reindex, add checkpoints, pump version.
- Loading branch information
Showing
9 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
#include "yespower.h" | ||
#include "sysendian.h" | ||
|
||
static const yespower_params_t v1 = {YESPOWER_0_5, 4096, 16, "Client Key", 10}; | ||
|
||
static const yespower_params_t v2 = {YESPOWER_1_0, 2048, 32, NULL, 0}; | ||
|
||
int yespower_hash(const char *input, char *output) | ||
{ | ||
yespower_params_t params = {YESPOWER_1_0, 2048, 32, NULL, 0}; | ||
return yespower_tls(input, 80, ¶ms, (yespower_binary_t *) output); | ||
uint32_t time = le32dec(&input[68]); | ||
if (time > 1676761800) { | ||
return yespower_tls(input, 80, &v1, (yespower_binary_t *) output); | ||
} else { | ||
return yespower_tls(input, 80, &v2, (yespower_binary_t *) output); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters