From 7673d2a477c5e44d166da49fefd9b9733e4d4eec Mon Sep 17 00:00:00 2001 From: Miraland Labs Date: Tue, 6 Aug 2024 08:58:27 +0800 Subject: [PATCH] bump to 1.1.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/mine.rs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd935dd..58e1e37 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2507,7 +2507,7 @@ dependencies = [ [[package]] name = "more-cli" -version = "1.0.0" +version = "1.1.0" dependencies = [ "bincode", "bs58 0.5.1", diff --git a/Cargo.toml b/Cargo.toml index d694da3..d2fe39e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "more-cli" -version = "1.0.0" +version = "1.1.0" edition = "2021" license = "Apache-2.0" description = "A command line interface for ORE cryptocurrency mining. Tailored by Miraland Labs." diff --git a/src/mine.rs b/src/mine.rs index f0f47e8..bde15ca 100644 --- a/src/mine.rs +++ b/src/mine.rs @@ -56,7 +56,8 @@ impl Miner { // Submit most difficult hash let mut compute_budget = 500_000; let mut ixs = vec![ore_api::instruction::auth(proof_pubkey(signer.pubkey()))]; - if self.should_reset(config).await { + // if self.should_reset(config).await { + if self.should_reset(config).await && rand::thread_rng().gen_range(0..100).eq(&0) { compute_budget += 100_000; ixs.push(ore_api::instruction::reset(signer.pubkey())); }