From 5d1e2904b9f04e5b95c6ba77052d54eff419c778 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Sat, 12 Dec 2020 23:17:19 -0500 Subject: [PATCH 1/8] proper default for win --- cheetah.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cheetah.bat b/cheetah.bat index 4589e1f..135befb 100644 --- a/cheetah.bat +++ b/cheetah.bat @@ -1,4 +1,4 @@ set PATH=C:\Python27;C:\Python27\Scripts;%PATH% python main.py -h -python main.py --interval 120 --cpu 1 -pause \ No newline at end of file +python main.py --interval 20 --cpu 1 +pause From 1331efe9b4c102d83d03a22340bf36fc0feffc63 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Sat, 12 Dec 2020 23:21:49 -0500 Subject: [PATCH 2/8] name change to nengcoin --- README.md | 40 ++++++++++++++++++++-------------------- main.py | 18 +++++++++--------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 93502f5..0c0bfd7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Youtube Video Tutorial -* How to CPU Mine NewEnglandcoin (NENG) in Windows 10 +* How to CPU Mine Nengcoin (NENG) in Windows 10 Part 1 https://www.youtube.com/watch?v=sdOoPvAjzlE @@ -10,14 +10,14 @@ https://www.youtube.com/watch?v=sdOoPvAjzlE Part2 https://www.youtube.com/watch?v=nHnRJvJRzZg -* How to CPU Mine NewEnglandcoin (NENG) in macOS +* How to CPU Mine Nengcoin (NENG) in macOS https://www.youtube.com/watch?v=Zj7NLMeNSOQ ## What is Cheetah_Cpuminer? -NewEnglandcoin (NENG) blockchain has 3rd generation dynamic difficulty adjustment algorithm "randomSpike" +Nengcoin (NENG) blockchain has 3rd generation dynamic difficulty adjustment algorithm "randomSpike" which may trigger ASIC miners to get stuck on NENG blockchain finding no blocks from several minutes to several hours. @@ -25,18 +25,18 @@ Cheetah_cpuminer will automatically start mining at local PC when ASIC/GPU miner Cheeta_cpuminer will stop mining when ASIC miners are smoothly generating blocks - v1.1.5 is tested under Windows 10, macOS El Capitan (10.11), macOS Mojave (10.14), macOS Catelina (10.15) and 8 distros of Linux (Ubuntu 16.04/18.04/20.04, Debian 9/10, MX Linux, Linux Mint, Fedora, openSUSE, Arch/Manjaro). - - Other versions of Windows, Mac or Linux platform are untested. Cheetah under other windows, mac, linux may still work. For example windows full node NENG wallet was tested to be working windows XP. Python based cheetah typically works on any version of unix, windows, or macOS. The limitation tends to be the full node wallet software for NewEnglandcoin, which is required for the in-wallet mining operation. If you can run a full node on whatever flavor of unix or mac, or windows, cheetah_cpuminer will work. + - Other versions of Windows, Mac or Linux platform are untested. Cheetah under other windows, mac, linux may still work. For example windows full node NENG wallet was tested to be working windows XP. Python based cheetah typically works on any version of unix, windows, or macOS. The limitation tends to be the full node wallet software for Nengcoin, which is required for the in-wallet mining operation. If you can run a full node on whatever flavor of unix or mac, or windows, cheetah_cpuminer will work. -## CPU Minable Coin - NewEnglandcoin (NENG) -Because of randomSpike algorithm on top of scrypt, NewEnglandcoin is CPU Minable. Users can easily set up full node for mining at Home Windows PC, Mac, Linux, Chromebook or android phones using this open sourced cheetah software. +## CPU Minable Coin - Nengcoin (NENG) +Because of randomSpike algorithm on top of scrypt, Nengcoin is CPU Minable. Users can easily set up full node for mining at Home Windows PC, Mac, Linux, Chromebook or android phones using this open sourced cheetah software. Research on the first forked 50 blocks on v1.2.0 core confirmed that ASIC/GPU miners mined 66% of 50 blocks, CPU miners mined the remaining 34%. ## Android Mining with Cheetah_Cpuminer Android phone (64 bits arm64 or32 bits armhf) has a slightly different operation workflow compared to computers. Please check out web guide for Android CPU Mining through UserLand app at: -https://github.com/ShorelineCrypto/NewEnglandCoin/tree/master/doc/Android_Userland_App +https://github.com/ShorelineCrypto/NengCoin/tree/master/doc/Android_Userland_App The Cheetah CPU mining operation portion of Android mining setup is actually same as below desktop/laptop linux guides. Instead of running cheetah in computer terminal, you run cheetah inside android UserLand app's linux terminal. @@ -44,7 +44,7 @@ you run cheetah inside android UserLand app's linux terminal. ## Chromebook Mining with Cheetah_Cpuminer Chromebook (x64 or arm) has a slightly different operation workflow compared to computers. Please check out web guide for Chromebook CPU Mining through Linux (beta) app at: -https://github.com/ShorelineCrypto/NewEnglandCoin/tree/master/doc/Chromebook +https://github.com/ShorelineCrypto/NengCoin/tree/master/doc/Chromebook The Cheetah CPU mining operation portion of Chromebook mining setup is actually same as below desktop/laptop linux guides. Instead of running cheetah in computer terminal, you run cheetah inside chromebook's linux terminal. @@ -67,12 +67,12 @@ or sometimes the python is python2 in newer linux OS, pip is pip2 ### How to Run Cheetah_Cpuminer - - Download and run NewEnglandcoin linux wallet first (command line or QT either one) from release page at: - https://github.com/ShorelineCrypto/NewEnglandCoin/releases - - At the same local linux machine, using the provided newenglandcoin example, modify rpc username password change the filename - into 'newenglandcoin.conf' , run below command: + - Download and run Nengcoin linux wallet first (command line or QT either one) from release page at: + https://github.com/ShorelineCrypto/NengCoin/releases + - At the same local linux machine, using the provided nengcoin example, modify rpc username password change the filename + into 'nengcoin.conf' , run below command: ``` - cp newenglandcoin.conf ~/.newenglandcoin/ + cp nengcoin.conf ~/.nengcoin/ ``` - Restart wallet. Fully sync the wallet to latest block. A full node of NENG is required to allow Cheetah_Cpuminer to work. - run below command using the provided the bash shell script: @@ -105,15 +105,15 @@ or sometimes the python is python2 in newer linux OS, pip is pip2 ### How to Run Cheetah_Cpuminer - - Download and run NewEnglandcoin mac wallet first (CLI or GUI either one). Please be aware that additional library files are required to be installed or dmg installed GUI/CLI wallet won't work + - Download and run Nengcoin mac wallet first (CLI or GUI either one). Please be aware that additional library files are required to be installed or dmg installed GUI/CLI wallet won't work without them. macOS Mojave wallet has detailed library dependencies installation guide at: - https://github.com/ShorelineCrypto/NewEnglandCoin/releases/download/v1.2.1.2/newenglandcoin_v1.2.1.2_macOS_Mojave.tgz + https://github.com/ShorelineCrypto/NengCoin/releases/download/v1.2.1.2/nengcoin_v1.2.1.2_macOS_Mojave.tgz After proper dependencies are installed for macOS, the El Capitan wallet files (CLI or dmg file) should work for all the macOS platforms from version 10.11 or later. macO versions of macOS from 10.11 to 10.14 or earlier or later - - At the same local mac machine, using the provided "newenglandcoin.conf-example" example file, modify rpcusername rpcpassword fields value with an editor, change the filename into 'newenglandcoin.conf' , run below command in mac terminal: + - At the same local mac machine, using the provided "nengcoin.conf-example" example file, modify rpcusername rpcpassword fields value with an editor, change the filename into 'nengcoin.conf' , run below command in mac terminal: ``` - cp newenglandcoin.conf ~/Library/'Application Support'/NewEnglandcoin/ + cp nengcoin.conf ~/Library/'Application Support'/Nengcoin/ ``` - Restart wallet. Fully sync the wallet to latest block. A full node of NENG is required to allow Cheetah_Cpuminer to work. - run below command using the provided the bash shell script: @@ -137,9 +137,9 @@ or sometimes the python is python2 in newer linux OS, pip is pip2 ### How to Run Cheetah_Cpuminer - - Download and run NewEnglandcoin Windows QT wallet. - - At the same local machine, using the provided "newenglandcoin.conf-example" example file, modify rpcusername rpcpassword fields value with wordpad, change the filename - into 'newenglandcoin.conf' , copy 'newenglandcoin.conf' to your path 'C:\Users\YourUser\AppData\Roaming\NewEnglandcoin' + - Download and run Nengcoin Windows QT wallet. + - At the same local machine, using the provided "nengcoin.conf-example" example file, modify rpcusername rpcpassword fields value with wordpad, change the filename + into 'nengcoin.conf' , copy 'nengcoin.conf' to your path 'C:\Users\YourUser\AppData\Roaming\Nengcoin' - Restart wallet. Fully sync the wallet to latest block. A running full node of NENG is required to allow Cheetah_Cpuminer to work. - Download and unpack the latest Cheetah_Cpuminer release from https://github.com/ShorelineCrypto/cheetah_cpuminer/releases - Double click the provided window batch file 'cheetah.bat' to start CPU mining. diff --git a/main.py b/main.py index 4d5a9a8..f705ab8 100755 --- a/main.py +++ b/main.py @@ -1,13 +1,13 @@ #!/usr/bin/env python2.7 """ -NewEnglandcoin (NENG) blockchain has dynamic difficulty adjustment algorithm +Nengcoin (NENG) blockchain has dynamic difficulty adjustment algorithm which may trigger ASIC miners to get stuck on NENG blockchain finding no blocks from several minutes to several hours. Cheetah_cpuminer will automatically start mining at local PC when ASIC miners get stuck. Cheeta_cpuminer will stop mining when ASIC miners are smoothly generating blocks. -A full node of NewEnglandcoin is required to be running at local PC +A full node of Nengcoin is required to be running at local PC """ @@ -56,17 +56,17 @@ def main(args): osname = platform.system() print "Your Computer Platform is: {}".format(osname) if osname == 'Linux': - tmpFile1 = os.path.join(os.path.expanduser("~"), '.newenglandcoin', 'newenglandcoin.conf') + tmpFile1 = os.path.join(os.path.expanduser("~"), '.nengcoin', 'nengcoin.conf') tmpFile2 = os.path.join(os.path.dirname( - utils.getPathOfThisFile()), 'newenglandcoin.conf') + utils.getPathOfThisFile()), 'nengcoin.conf') elif osname == 'Windows': - tmpFile1 = os.path.join(os.path.expandvars("%userprofile%"), 'AppData\Roaming\NewEnglandcoin','newenglandcoin.conf') + tmpFile1 = os.path.join(os.path.expandvars("%userprofile%"), 'AppData\Roaming\Nengcoin','nengcoin.conf') tmpFile2 = os.path.join(os.path.dirname( - utils.getPathOfThisFile()), 'newenglandcoin.conf') + utils.getPathOfThisFile()), 'nengcoin.conf') elif osname == 'Darwin': - tmpFile1 = os.path.join(os.path.expanduser("~"), 'Library/Application Support/NewEnglandcoin', 'newenglandcoin.conf') + tmpFile1 = os.path.join(os.path.expanduser("~"), 'Library/Application Support/Nengcoin', 'nengcoin.conf') tmpFile2 = os.path.join(os.path.dirname( - utils.getPathOfThisFile()), 'newenglandcoin.conf') + utils.getPathOfThisFile()), 'nengcoin.conf') else: assert False, "Error: unsupported operating system: {}".format(osname) @@ -78,7 +78,7 @@ def main(args): print "config found: {}".format(tmpFile2) else: raise UserInputException( - "Error in reading NENG Config File. Please copy or create file 'newenglandcoin.conf' using example file") + "Error in reading NENG Config File. Please copy or create file 'nengcoin.conf' using example file") sys.exit(100) From 074bd37c84c2e5349b5d237dd7fb8154645b4904 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Sat, 12 Dec 2020 23:30:27 -0500 Subject: [PATCH 3/8] rename conf filename --- cheetah.sh | 2 +- newenglandcoin.conf-example => nengcoin.conf-example | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename newenglandcoin.conf-example => nengcoin.conf-example (100%) diff --git a/cheetah.sh b/cheetah.sh index 7d3ed93..14c0930 100755 --- a/cheetah.sh +++ b/cheetah.sh @@ -1,3 +1,3 @@ #! /bin/bash python main.py -h -python main.py +python main.py --interval 20 --cpu 1 diff --git a/newenglandcoin.conf-example b/nengcoin.conf-example similarity index 100% rename from newenglandcoin.conf-example rename to nengcoin.conf-example From 1c907da5e8bfe6ae7053a783e549115227a0d6e2 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto <42956879+ShorelineCrypto@users.noreply.github.com> Date: Mon, 14 Dec 2020 01:26:57 -0500 Subject: [PATCH 4/8] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0c0bfd7..3852799 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,9 @@ or sometimes the python is python2 in newer linux OS, pip is pip2 ### How to Run Cheetah_Cpuminer - Download and run Nengcoin mac wallet first (CLI or GUI either one). Please be aware that additional library files are required to be installed or dmg installed GUI/CLI wallet won't work - without them. macOS Mojave wallet has detailed library dependencies installation guide at: - https://github.com/ShorelineCrypto/NengCoin/releases/download/v1.2.1.2/nengcoin_v1.2.1.2_macOS_Mojave.tgz - After proper dependencies are installed for macOS, the El Capitan wallet files (CLI or dmg file) should work for all the macOS platforms from version 10.11 or later. + without them. After proper dependencies are installed for macOS, the El Capitan wallet files (CLI or dmg file) should work for all the macOS platforms from version 10.11 or later including Catalina. - macO versions of macOS from 10.11 to 10.14 or earlier or later + macO versions of macOS from 10.11 to 10.15 - At the same local mac machine, using the provided "nengcoin.conf-example" example file, modify rpcusername rpcpassword fields value with an editor, change the filename into 'nengcoin.conf' , run below command in mac terminal: ``` cp nengcoin.conf ~/Library/'Application Support'/Nengcoin/ From 1b151fcbeeb289e239838a265d15ab7ed9e32289 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Mon, 14 Dec 2020 01:41:35 -0500 Subject: [PATCH 5/8] adding btc/ltc/doge msg at start --- main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.py b/main.py index f705ab8..7fa5675 100755 --- a/main.py +++ b/main.py @@ -1,5 +1,10 @@ #!/usr/bin/env python2.7 """ +Bitcoin Digital Gold - HODL +Litecoin Silver to Bitcoin's Gold +Dogecoin to the Moon +Running Cheetah with Neng + Nengcoin (NENG) blockchain has dynamic difficulty adjustment algorithm which may trigger ASIC miners to get stuck on NENG blockchain finding no blocks from several minutes to several hours. From 3a36896e708d6915a4962309e5f8606c57f27999 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Mon, 14 Dec 2020 01:51:52 -0500 Subject: [PATCH 6/8] moved msg, default 10 interval --- cheetah.bat | 2 +- cheetah.sh | 2 +- main.py | 13 ++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/cheetah.bat b/cheetah.bat index 135befb..c56b4b9 100644 --- a/cheetah.bat +++ b/cheetah.bat @@ -1,4 +1,4 @@ set PATH=C:\Python27;C:\Python27\Scripts;%PATH% python main.py -h -python main.py --interval 20 --cpu 1 +python main.py --interval 10 --cpu 1 pause diff --git a/cheetah.sh b/cheetah.sh index 14c0930..4c9d4aa 100755 --- a/cheetah.sh +++ b/cheetah.sh @@ -1,3 +1,3 @@ #! /bin/bash python main.py -h -python main.py --interval 20 --cpu 1 +python main.py --interval 10 --cpu 1 diff --git a/main.py b/main.py index 7fa5675..1c0cea6 100755 --- a/main.py +++ b/main.py @@ -1,10 +1,5 @@ #!/usr/bin/env python2.7 """ -Bitcoin Digital Gold - HODL -Litecoin Silver to Bitcoin's Gold -Dogecoin to the Moon -Running Cheetah with Neng - Nengcoin (NENG) blockchain has dynamic difficulty adjustment algorithm which may trigger ASIC miners to get stuck on NENG blockchain finding no blocks from several minutes to several hours. @@ -117,6 +112,14 @@ def main(args): assert config['rpcuser'] is not None, "rpcuser missing!" assert config['rpcpassword'] is not None, "rpcpassword missing!" + + +""" +Bitcoin Digital Gold - HODL +Litecoin Silver to Bitcoin's Gold +Dogecoin to the Moon +Running Cheetah with Neng +""" print "cheetah_cpuminer started!" From 6696d8059d5e215c675379a5f6e03e0c472066c5 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Mon, 14 Dec 2020 01:58:30 -0500 Subject: [PATCH 7/8] fixed string bug --- main.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/main.py b/main.py index 1c0cea6..1af35fd 100755 --- a/main.py +++ b/main.py @@ -114,13 +114,7 @@ def main(args): assert config['rpcpassword'] is not None, "rpcpassword missing!" -""" -Bitcoin Digital Gold - HODL -Litecoin Silver to Bitcoin's Gold -Dogecoin to the Moon -Running Cheetah with Neng -""" - + print "Bitcoin Digital Gold - HODL\nLitecoin Silver to Bitcoin's Gold\nDogecoin to the Moon\nRunning Cheetah with Neng" print "cheetah_cpuminer started!" blocknum = 0 From 2b1b3056ee9efdd3bf4b225e79a46d76f8a2dd67 Mon Sep 17 00:00:00 2001 From: ShorelineCrypto Date: Mon, 14 Dec 2020 02:02:06 -0500 Subject: [PATCH 8/8] rephrase on neng cheetah --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1af35fd..84750ff 100755 --- a/main.py +++ b/main.py @@ -114,7 +114,7 @@ def main(args): assert config['rpcpassword'] is not None, "rpcpassword missing!" - print "Bitcoin Digital Gold - HODL\nLitecoin Silver to Bitcoin's Gold\nDogecoin to the Moon\nRunning Cheetah with Neng" + print "Bitcoin Digital Gold - HODL\nLitecoin Silver to Bitcoin's Gold\nDogecoin to the Moon\nHere comes Cheetah running with Neng" print "cheetah_cpuminer started!" blocknum = 0