File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ burn_reward = false
150
150
# slower.
151
151
[[mining .cuckoo_miner_plugin_config ]]
152
152
type_filter = " mean_compat_cpu"
153
- parameter_list = {NUM_THREADS =4 , NUM_TRIMS =68 }
153
+ parameter_list = {NUM_THREADS =1 , NUM_TRIMS =68 }
154
154
155
155
# note lean_cpu currently has a bug which prevents it from
156
156
# working with threads > 1
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ impl Miner {
207
207
let stats = job_handle. get_stats ( i) ;
208
208
if let Ok ( stat_vec) = stats {
209
209
for s in stat_vec {
210
- let last_solution_time_secs = s. last_solution_time as f64 / 1000 .0;
210
+ let last_solution_time_secs = s. last_solution_time as f64 / 1000000000 .0;
211
211
let last_hashes_per_sec = 1.0 / last_solution_time_secs;
212
212
debug ! (
213
213
LOGGER ,
@@ -299,7 +299,7 @@ impl Miner {
299
299
if time:: get_time ( ) . sec >= next_stat_check {
300
300
let stats_vec = plugin_miner. get_stats ( 0 ) . unwrap ( ) ;
301
301
for s in stats_vec. into_iter ( ) {
302
- let last_solution_time_secs = s. last_solution_time as f64 / 1000 .0;
302
+ let last_solution_time_secs = s. last_solution_time as f64 / 1000000000 .0;
303
303
let last_hashes_per_sec = 1.0 / last_solution_time_secs;
304
304
debug ! (
305
305
LOGGER ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ grin_util = { path = "../util" }
18
18
19
19
[dependencies .cuckoo_miner ]
20
20
git = " https://github.com/mimblewimble/cuckoo-miner"
21
- tag =" grin_integration_15 "
21
+ tag =" grin_integration_16 "
22
22
# path = "../../cuckoo-miner"
23
23
# uncomment this feature to turn off plugin builds
24
24
# features=["no-plugin-build"]
You can’t perform that action at this time.
0 commit comments