Skip to content

Commit

Permalink
Merge pull request #3 from ShorelineCrypto/v1.2.x
Browse files Browse the repository at this point in the history
V1.2.x
  • Loading branch information
ShorelineCrypto authored Dec 15, 2020
2 parents 91b2740 + 2b1b305 commit 165a351
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
44 changes: 21 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,49 @@

## 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

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.

Cheetah_cpuminer will automatically start mining at local PC when ASIC/GPU miners get stuck.
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.

## 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.
Expand All @@ -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:
Expand Down Expand Up @@ -105,15 +105,13 @@ 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
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
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.
- 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. 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
- 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:
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 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:
Expand All @@ -137,9 +135,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.
Expand Down
4 changes: 2 additions & 2 deletions cheetah.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set PATH=C:\Python27;C:\Python27\Scripts;%PATH%
python main.py -h
python main.py --interval 120 --cpu 1
pause
python main.py --interval 10 --cpu 1
pause
2 changes: 1 addition & 1 deletion cheetah.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
python main.py -h
python main.py
python main.py --interval 10 --cpu 1
22 changes: 12 additions & 10 deletions main.py
Original file line number Diff line number Diff line change
@@ -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
"""


Expand Down Expand Up @@ -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)

Expand All @@ -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)


Expand Down Expand Up @@ -112,7 +112,9 @@ def main(args):

assert config['rpcuser'] is not None, "rpcuser missing!"
assert config['rpcpassword'] is not None, "rpcpassword missing!"



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
Expand Down
File renamed without changes.

0 comments on commit 165a351

Please sign in to comment.