diff --git a/src/blake3/original-blake.hpp b/src/blake3/original-blake.hpp index 6a40989..1af0a9e 100644 --- a/src/blake3/original-blake.hpp +++ b/src/blake3/original-blake.hpp @@ -352,7 +352,6 @@ __global__ void blake3_hasher_mine(void *global_hasher) if (check_hash(hasher->hash, hasher->target, hasher->from_group, hasher->to_group)) { - printf("tid %d found it !!\n", tid); if (atomicCAS(&reinterpret_cast(global_hasher)->found_good_hash, 0, 1) == 0) { copy_good_nonce(hasher, reinterpret_cast(global_hasher)); diff --git a/src/main.cu b/src/main.cu index dedf708..04c3af9 100644 --- a/src/main.cu +++ b/src/main.cu @@ -410,7 +410,7 @@ int main(int argc, char **argv) uv_timer_t log_timer; uv_timer_init(loop, &log_timer); - uv_timer_start(&log_timer, log_hashrate, 5000, 5000); + uv_timer_start(&log_timer, log_hashrate, 5000, 20000); uv_run(loop, UV_RUN_DEFAULT); diff --git a/src/template.h b/src/template.h index 810bd4e..1a67fcb 100644 --- a/src/template.h +++ b/src/template.h @@ -84,7 +84,6 @@ bool expire_template_for_new_block(mining_template_t *template_ptr) mining_template_t *latest_template = load_template(chain_index); if (latest_template) { - printf("new solution found, remove the outdated template\n"); store_template(chain_index, NULL); free_template(latest_template); return true; diff --git a/src/worker.h b/src/worker.h index aaed57c..3776428 100644 --- a/src/worker.h +++ b/src/worker.h @@ -185,7 +185,6 @@ ssize_t write_new_block(mining_worker_t *worker, uint8_t *write_buf) { ssize_t block_size = 24 + job->header_blob.len + job->txs_blob.len; ssize_t message_size = 1 + 4 + block_size; - printf("message: %zd\n", message_size); write_size(&write_pos, message_size); write_byte(&write_pos, 0); // message type write_size(&write_pos, block_size);