diff --git a/Cargo.lock b/Cargo.lock index 12975f8..b634c3c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2643,7 +2643,7 @@ dependencies = [ [[package]] name = "more-cli" -version = "1.1.1" +version = "1.1.2" dependencies = [ "bincode", "bs58 0.5.1", diff --git a/Cargo.toml b/Cargo.toml index 0532313..c6f6f32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "more-cli" -version = "1.1.1" +version = "1.1.2" edition = "2021" license = "Apache-2.0" description = "A command line interface for ORE cryptocurrency mining. Tailored by Miraland Labs." diff --git a/src/send_and_confirm.rs b/src/send_and_confirm.rs index 14aa674..fb81df4 100644 --- a/src/send_and_confirm.rs +++ b/src/send_and_confirm.rs @@ -24,11 +24,11 @@ const MIN_SOL_BALANCE: f64 = 0.005; const RPC_RETRIES: usize = 0; const _SIMULATION_RETRIES: usize = 4; -const GATEWAY_RETRIES: usize = 37; // MI, vanilla: 150, keep retries * delay same +const GATEWAY_RETRIES: usize = 150; // MI, vanilla: 150, keep retries * delay same const CONFIRM_RETRIES: usize = 1; const CONFIRM_DELAY: u64 = 0; -const GATEWAY_DELAY: u64 = 1200; // MI, vanilla: 300, keep retries * delay same +const GATEWAY_DELAY: u64 = 300; // MI, vanilla: 300, keep retries * delay same pub enum ComputeBudget { Dynamic,