From 0d2e6f14266c3019b34ada2a69f645b1324e8489 Mon Sep 17 00:00:00 2001 From: kanon <60179867+decryp2kanon@users.noreply.github.com> Date: Mon, 23 Mar 2020 08:32:46 +0900 Subject: [PATCH] fix: solo mining url to http:// (#35) --- README.md | 4 ++-- mining-script/bat/run-mainnet-solo.bat | 2 +- mining-script/bat/run-testnet-solo.bat | 2 +- mining-script/sh/run-mainnet-solo.sh | 2 +- mining-script/sh/run-testnet-solo.sh | 2 +- sugarmaker.1 | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7a3ab306af..46c9791d0e 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Run `sugarmaker --help` to see options. You can solo-mine using these options: - Mainnet (Solo) ``` -./sugarmaker -o localhost:34229 -u ユーザーネーム -p パスワード --coinbase-addr=sugar1qv0ahzfa2ssu47wes89390sl0jz6g05h0267u8g -t1 +./sugarmaker -o http://127.0.0.1:34229 -u ユーザーネーム -p パスワード --coinbase-addr=sugar1qv0ahzfa2ssu47wes89390sl0jz6g05h0267u8g -t1 ``` - Mainnet (Stratum Pool) ``` @@ -59,7 +59,7 @@ Run `sugarmaker --help` to see options. You can solo-mine using these options: ``` - Testnet (Solo) ``` -./sugarmaker -o localhost:44229 -u ユーザーネーム -p パスワード --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1 +./sugarmaker -o http://127.0.0.1:44229 -u ユーザーネーム -p パスワード --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1 ``` - Testnet (Stratum Pool) ``` diff --git a/mining-script/bat/run-mainnet-solo.bat b/mining-script/bat/run-mainnet-solo.bat index f29936543f..cabcee7f5a 100644 --- a/mining-script/bat/run-mainnet-solo.bat +++ b/mining-script/bat/run-mainnet-solo.bat @@ -1 +1 @@ -sugarmaker.exe -a YespowerSugar -o localhost:34229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=sugar1q49dwwrwxle07wzvs84qe77m6wwfmtkn07ycmcm -t1 +sugarmaker.exe -a YespowerSugar -o http://127.0.0.1:34229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=sugar1q49dwwrwxle07wzvs84qe77m6wwfmtkn07ycmcm -t1 diff --git a/mining-script/bat/run-testnet-solo.bat b/mining-script/bat/run-testnet-solo.bat index b5aae324b6..2a3f4e47c5 100644 --- a/mining-script/bat/run-testnet-solo.bat +++ b/mining-script/bat/run-testnet-solo.bat @@ -1 +1 @@ -sugarmaker.exe -a YespowerSugar -o localhost:44229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1 +sugarmaker.exe -a YespowerSugar -o http://127.0.0.1:44229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1 diff --git a/mining-script/sh/run-mainnet-solo.sh b/mining-script/sh/run-mainnet-solo.sh index b529fda9b2..7a8cd6c74b 100755 --- a/mining-script/sh/run-mainnet-solo.sh +++ b/mining-script/sh/run-mainnet-solo.sh @@ -1 +1 @@ -./sugarmaker -a YespowerSugar -o localhost:34229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=sugar1q49dwwrwxle07wzvs84qe77m6wwfmtkn07ycmcm -t1 +./sugarmaker -a YespowerSugar -o http://127.0.0.1:34229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=sugar1q49dwwrwxle07wzvs84qe77m6wwfmtkn07ycmcm -t1 diff --git a/mining-script/sh/run-testnet-solo.sh b/mining-script/sh/run-testnet-solo.sh index 070d6a8986..98a8dc69f4 100755 --- a/mining-script/sh/run-testnet-solo.sh +++ b/mining-script/sh/run-testnet-solo.sh @@ -1 +1 @@ -./sugarmaker -a YespowerSugar -o localhost:44229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1 +./sugarmaker -a YespowerSugar -o http://127.0.0.1:44229 -u RPCUSER -p RPCPASSWORD --coinbase-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 -t1 diff --git a/sugarmaker.1 b/sugarmaker.1 index 24f58f904a..aaac7f5821 100644 --- a/sugarmaker.1 +++ b/sugarmaker.1 @@ -47,7 +47,7 @@ authenticating with username "rpcuser" and password "rpcpass": .PP .nf .RS -sugarmaker \-o http://localhost:44229 \-O rpcuser:rpcpass \\ +sugarmaker \-o http://127.0.0.1:44229 \-O rpcuser:rpcpass \\ \-\-coinbase\-addr=tugar1qkvl32hmzvgtwpu7v70k5u0kcv9s4uqy4twjge8 .RE .fi