Skip to content

Commit

Permalink
doc: delete author's email
Browse files Browse the repository at this point in the history
  • Loading branch information
decryp2kanon committed Nov 15, 2020
1 parent c882a72 commit 387aa81
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Jeff Garzik <jgarzik@pobox.com>
Jeff Garzik

ArtForz

pooler <pooler@litecoinpool.org>
pooler

Alexander Peslyak <solar@openwall.com>
Alexander Peslyak

Kanon <60179867+decryp2kanon@users.noreply.github.com>
Kanon
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ rpcpassword=パスワード
* When the `--proxy` option is not used, the program honors the `http_proxy` and `all_proxy` environment variables.

### Author
- Jeff Garzik <jeff@garzik.org>
- Pooler <pooler@litecoinpool.org>
- Alexander Peslyak <solar@openwall.com>
- Kanon <60179867+decryp2kanon@users.noreply.github.com>
- Jeff Garzik
- Pooler
- Alexander Peslyak
- Kanon

### Support and donation
If you happy with this sugarmaker, please support devloper for better performance in near future!
Expand Down
26 changes: 13 additions & 13 deletions cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static inline void affine_to_cpu(int id, int cpu)
{
}
#endif

enum workio_commands {
WC_GET_WORK,
WC_SUBMIT_WORK,
Expand Down Expand Up @@ -692,7 +692,7 @@ static void share_result(int result, const char *reason)
hashrate += thr_hashrates[i];
result ? accepted_count++ : rejected_count++;
pthread_mutex_unlock(&stats_lock);

sprintf(s, hashrate >= 1e3 ? "%.0f" : "%.1f", hashrate);
applog(LOG_INFO, "accepted: %lu/%lu (%.2f%%), %s hash/s %s",
accepted_count,
Expand Down Expand Up @@ -1047,7 +1047,7 @@ static bool get_work(struct thr_info *thr, struct work *work)
static bool submit_work(struct thr_info *thr, const struct work *work_in)
{
struct workio_cmd *wc;

/* fill out work request message */
wc = calloc(1, sizeof(*wc));
if (!wc)
Expand Down Expand Up @@ -1091,7 +1091,7 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work)
memcpy(merkle_root + 32, sctx->job.merkle[i], 32);
sha256d(merkle_root, merkle_root, 64);
}

/* Increment extranonce2 */
for (i = 0; i < sctx->xnonce2_size && !++sctx->job.xnonce2[i]; i++);

Expand Down Expand Up @@ -1188,7 +1188,7 @@ static void *miner_thread(void *userdata)
work.data[19]++;
pthread_mutex_unlock(&g_work_lock);
work_restart[thr_id].restart = 0;

/* adjust max_nonce to meet target scan time */
if (have_stratum)
max64 = LP_SCANTIME;
Expand Down Expand Up @@ -1231,7 +1231,7 @@ static void *miner_thread(void *userdata)
max_nonce = end_nonce;
else
max_nonce = work.data[19] + max64;

hashes_done = 0;
gettimeofday(&tv_start, NULL);

Expand Down Expand Up @@ -1366,7 +1366,7 @@ static void *longpoll_thread(void *userdata)
lp_url = hdr_path;
hdr_path = NULL;
}

/* absolute path, on current server */
else {
copy_start = (*hdr_path == '/') ? (hdr_path + 1) : hdr_path;
Expand Down Expand Up @@ -1522,7 +1522,7 @@ static void *stratum_thread(void *userdata)
restart_threads();
}
}

if (!stratum_socket_full(&stratum, 120)) {
applog(LOG_ERR, "Stratum connection timed out");
s = NULL;
Expand Down Expand Up @@ -1899,10 +1899,10 @@ static void show_credits() {
printf(" Multi-threaded CPU miner for Sugarchain and other Yespower variants\n");
printf("\n");
printf(" Authors:\n");
printf(" Jeff Garzik jeff@garzik.org\n");
printf(" Pooler pooler@litecoinpool.org\n");
printf(" Alexander Peslyak solar@openwall.com\n");
printf(" Kanon 60179867+decryp2kanon@users.noreply.github.com\n");
printf(" Jeff Garzik\n");
printf(" Pooler\n");
printf(" Alexander Peslyak\n");
printf(" Kanon\n");
printf("\n");
printf(" Donation to Kanon:\n");
printf(" Your support is very helpful to develop better software:)\n");
Expand Down Expand Up @@ -2015,7 +2015,7 @@ int main(int argc, char *argv[])
thr_info = calloc(opt_n_threads + 3, sizeof(*thr));
if (!thr_info)
return 1;

thr_hashrates = (double *) calloc(opt_n_threads, sizeof(double));
if (!thr_hashrates)
return 1;
Expand Down
8 changes: 4 additions & 4 deletions sugarmaker.1
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ Most of the code in the current version of sugarmaker was written by,
.PP
.RS
.TP
Jeff Garzik <jeff@garzik.org>
Jeff Garzik
.TP
Pooler <pooler@litecoinpool.org>
Pooler
.TP
Alexander Peslyak <solar@openwall.com>
Alexander Peslyak
.TP
Kanon <60179867+decryp2kanon@users.noreply.github.com>
Kanon
.RE
.PP

0 comments on commit 387aa81

Please sign in to comment.