From f761f1c0e05c1bf1cfcdf02d9bf5c60dfa1d1499 Mon Sep 17 00:00:00 2001 From: wam-rd Date: Sat, 25 Nov 2023 09:34:19 +0100 Subject: [PATCH] removing the opencl plugin and fix hiveos integration --- Cargo.toml | 2 +- integrations/hiveos/createmanifest.sh | 4 ++-- integrations/hiveos/h-config.sh | 2 +- integrations/hiveos/h-run.sh | 2 +- integrations/hiveos/h-stats.sh | 2 +- src/cli.rs | 2 +- src/main.rs | 4 +++- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 95e9561..40f19df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "karlsen-miner" -version = "0.0.1-GPU-0.1" +version = "0.0.3-GPU-0.1" edition = "2021" license = "MIT/Apache-2.0" authors = ["Elichai "] diff --git a/integrations/hiveos/createmanifest.sh b/integrations/hiveos/createmanifest.sh index 5b981bb..548689b 100755 --- a/integrations/hiveos/createmanifest.sh +++ b/integrations/hiveos/createmanifest.sh @@ -1,7 +1,7 @@ #################################################################################### ### ### karlsen-miner -### https://github.com/tmrlvi/karlsen-miner/releases +### https://github.com/karlsen-network/karlsen-miner/releases ### ### Hive integration: Merlin ### @@ -16,7 +16,7 @@ cat > h-manifest.conf << EOF #################################################################################### ### ### karlsen-miner -### https://github.com/tmrlvi/karlsen-miner/releases +### https://github.com/karlsen-network/karlsen-miner/releases ### ### Hive integration: Merlin ### diff --git a/integrations/hiveos/h-config.sh b/integrations/hiveos/h-config.sh index b77f740..d328b6d 100755 --- a/integrations/hiveos/h-config.sh +++ b/integrations/hiveos/h-config.sh @@ -1,7 +1,7 @@ #################################################################################### ### ### karlsen-miner -### https://github.com/tmrlvi/karlsen-miner/releases +### https://github.com/karlsen-network/karlsen-miner/releases ### ### Hive integration: Merlin ### diff --git a/integrations/hiveos/h-run.sh b/integrations/hiveos/h-run.sh index c6d8017..5e511b8 100755 --- a/integrations/hiveos/h-run.sh +++ b/integrations/hiveos/h-run.sh @@ -1,7 +1,7 @@ #################################################################################### ### ### karlsen-miner -### https://github.com/tmrlvi/karlsen-miner/releases +### https://github.com/karlsen-network/karlsen-miner/releases ### ### Hive integration: Merlin ### diff --git a/integrations/hiveos/h-stats.sh b/integrations/hiveos/h-stats.sh index f8afdb5..86ebdc4 100755 --- a/integrations/hiveos/h-stats.sh +++ b/integrations/hiveos/h-stats.sh @@ -1,7 +1,7 @@ #################################################################################### ### ### karlsen-miner -### https://github.com/tmrlvi/karlsen-miner/releases +### https://github.com/karlsen-network/karlsen-miner/releases ### ### Hive integration: Merlin ### diff --git a/src/cli.rs b/src/cli.rs index 1635aeb..3257f30 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -16,7 +16,7 @@ pub struct Opt { #[clap(long = "devfund-percent", help = "The percentage of blocks to send to the devfund (minimum 0%)", default_value = "0", parse(try_from_str = parse_devfund_percent))] pub devfund_percent: u16, - #[clap(short, long, help = "karlsend port [default: Mainnet = 16110, Testnet = 16211]")] + #[clap(short, long, help = "karlsend port [default: Mainnet = 42110, Testnet = 16211]")] port: Option, #[clap(long, help = "Use testnet instead of mainnet [default: false]")] diff --git a/src/main.rs b/src/main.rs index 44b730d..f44a965 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,7 +30,9 @@ mod pow; mod target; mod watch; -const WHITELIST: [&str; 4] = ["libkaspacuda", "libkaspaopencl", "kaspacuda", "kaspaopencl"]; +//remove the opencl plugin support for the moment +//const WHITELIST: [&str; 4] = ["libkaspacuda", "libkaspaopencl", "kaspacuda", "kaspaopencl"]; +const WHITELIST: [&str; 2] = ["libkaspacuda", "kaspacuda"]; pub mod proto { #![allow(clippy::derive_partial_eq_without_eq)]