Skip to content

Commit

Permalink
Merge pull request #55 from ShorelineCrypto/v2.4
Browse files Browse the repository at this point in the history
V2.4
  • Loading branch information
ShorelineCrypto authored Apr 27, 2024
2 parents 25c540f + b4e6500 commit 452e4e8
Show file tree
Hide file tree
Showing 26 changed files with 347 additions and 205 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ Major releases features:
- v2.1.0-1.10.x Fix the 51% attack on SXC, bitcoin 2 hours rule to 2 minutes, cheetah diff drop 8x, spike diff cut in half
- v2.2.0-1.11.x Reverse 51% attack on SXC. cheetah diff rise 5%
- v2.3.0-1.12.x Future timestamp 30 seconds rule, cheetah diff drop 5%, 3 CSV BIPs enabled, Segwit BIPs Disabled
- v2.4.0-P13x Rolling 96 Blocks Deep Reorg Protection, cheetah diff drop 20x, spike diff rise 2x

Current full version name: "v2.3.0_randomSpike-1.12.x"
Note: All users/miners are recommended to use v2.3.0. Solo miners on USB ASIC/ASIC are no longer recommended to use v1.12.1 because of soft forks enforcement.
Because now v2.3.0 are built with static linked wallet, macOS are fully supported (x86_64 wallet, but should work too for M1 chip)
Current full version name: "v2.4.0_randomSpike-P13x"
Note: All users/miners are recommended to use v2.4.0. Solo miners on USB ASIC/ASIC are no longer recommended to use v1.13.1 because of soft forks enforcement.
Because now v2.4.0 are built with static linked wallet, macOS are fully supported (x86_64 wallet, but should work too for M1 chip)

Community Whitepaper: https://nengcoin.org/knowledgebase/whitepaper-nengcoin/

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 3)
define(_CLIENT_VERSION_MINOR, 4)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ NENG Android 64bit Wallet Upgrade Guide without Putty
1. Open Userland App and select Ubuntu or Debian
2. Log in Ubuntu
3. cd Android_Userland_App/arm64/
4. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_2.3.0_arm64_linux-gnu.tgz
5. tar xvfz nengcoin_2.3.0_arm64_linux-gnu.tgz
4. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_2.4.0_arm64_linux-gnu.tgz
5. tar xvfz nengcoin_2.4.0_arm64_linux-gnu.tgz
6. rm -rf nengcoin_2.2.0_arm64_linux-gnu (remove previous nengcoin qt folder)
7. rm nengcoin_2.2.0_arm64_linux-gnu.tgz (remove previous nengcoin tgz file if exist)
8. rm nengcoin_2.3.0_arm64_linux-gnu.tgz (remove current nengcoin tgz file)
8. rm nengcoin_2.4.0_arm64_linux-gnu.tgz (remove current nengcoin tgz file)

NENG Android 32bit Wallet Upgrade Guide without Putty
1. Open Userland App and select Ubuntu or Debian
2. Log in Ubuntu
3. cd Android_Userland_App/armhf/
4. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_2.3.0_armhf_linux-gnu.tgz
5. tar xvfz nengcoin_2.3.0_armhf_linux-gnu.tgz
4. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_2.4.0_armhf_linux-gnu.tgz
5. tar xvfz nengcoin_2.4.0_armhf_linux-gnu.tgz
6. rm -rf nengcoin_2.2.0_armhf_linux-gnu (remove previous nengcoin qt folder)
7. rm nengcoin_2.2.0_armhf_linux-gnu.tgz (remove previous nengcoin tgz file if exist)
8. rm nengcoin_2.3.0_armhf_linux-gnu.tgz (remove current nengcoin tgz file)
8. rm nengcoin_2.4.0_armhf_linux-gnu.tgz (remove current nengcoin tgz file)



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ NENG Android Mining Guide without Putty
a. uname -a (or uname -m : to determine whether your phone is 64bit or 32bit. This guide is using arm64 / 64bit folder. For 32bit please install the files in armhf folder instead of arm64 folder)
b. sudo apt update
c. sudo apt install wget ssh
d. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_v2.3.0_android_userland_arm.tgz
e. tar xvfz nengcoin_v2.3.0_android_userland_arm.tgz
d. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_v2.4.0_android_userland_arm.tgz
e. tar xvfz nengcoin_v2.4.0_android_userland_arm.tgz
f. cd Android_Userland_App/arm64/
g. bash prepare_userland.sh
8. Relogin Userland Ubuntu or Debian
9. Enter command line
a. cd Android_Userland_App/arm64/
b. bash prepare_neng.sh
c. cd nengcoin_2.3.0_arm64_linux-gnu/
c. cd nengcoin_2.4.0_arm64_linux-gnu/
d. ./nengcoind (create wallet folder & files)
e. screen (creates another screen so you can check your wallet and mining at the same time using one ssh)
f. cd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ NENG Android Mining Guide without Putty
a. uname -a (or uname -m : to determine whether your phone is 64bit or 32bit. This guide is using armhf / 32bit folder. For 64bit please install the files in arm64 folder instead of armhf folder)
b. sudo apt update
c. sudo apt install wget ssh
d. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_v2.3.0_android_userland_arm.tgz
e. tar xvfz nengcoin_v2.3.0_android_userland_arm.tgz
d. wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_v2.4.0_android_userland_arm.tgz
e. tar xvfz nengcoin_v2.4.0_android_userland_arm.tgz
f. cd Android_Userland_App/armhf/
g. bash prepare_userland.sh
8. Relogin Userland Ubuntu or Debian
9. Enter command line
a. cd Android_Userland_App/armhf/
b. bash prepare_neng.sh
c. cd nengcoin_2.3.0_armhf_linux-gnu/
c. cd nengcoin_2.4.0_armhf_linux-gnu/
d. ./nengcoind (create wallet folder & files)
e. screen (creates another screen so you can check your wallet and mining at the same time using one ssh)
f. cd
Expand Down
16 changes: 8 additions & 8 deletions doc/Android_Userland_App/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ See attached picture in this folder "tab.gif". Tab key in android is the charac

Here is easier way with tab:
```
cd nengcoin_2.3.0_arm64_linux-gnu
cd nengcoin_2.4.0_arm64_linux-gnu
```
Typing above long word in android phone is close to impossible. An easier way to do is:

```
cd neng-finger push TAB key
```
After you push TAB afer word "neng" , the android UserLand linux terminal should behave like linux in server/desktop with the full file/folder name "nengcoin_2.3.0_arm64_linux-gnu" auto populated for you.
After you push TAB afer word "neng" , the android UserLand linux terminal should behave like linux in server/desktop with the full file/folder name "nengcoin_2.4.0_arm64_linux-gnu" auto populated for you.

#### Arrow up or down key for history

Expand Down Expand Up @@ -107,25 +107,25 @@ Now you can let the cheetah cpuminer running with the phone cord connected to ch
"Enable X11 forwarding" for the userland login setting. Save the login session with X11 enabled, start VcXsrv in windows,
re-login into phone with putty and type below command lines:
```
hlu@localhost:~$ cd nengcoin_2.3.0_arm64_linux-gnu
hlu@localhost:~/nengcoin_2.3.0_arm64_linux-gnu$ ./nengcoin-qt &
hlu@localhost:~$ cd nengcoin_2.4.0_arm64_linux-gnu
hlu@localhost:~/nengcoin_2.4.0_arm64_linux-gnu$ ./nengcoin-qt &
```
Above command inside putty will pop the QT GUI wallet in windows 10 with VcXsrv running. Wait for a while for the QT wallet to fully show up in windows, and then you can control the wallet inside phone from windows 10.
- macOS with XQuartz. Download, install free software "XQuartz". Log out and re-login. Open up mac terminal:
```
$ ssh -XY [email protected] -p 2022
-----login in phone----
hlu@localhost:~$ cd nengcoin_2.3.0_arm64_linux-gnu
hlu@localhost:~/nengcoin_2.3.0_arm64_linux-gnu$ ./nengcoin-qt &
hlu@localhost:~$ cd nengcoin_2.4.0_arm64_linux-gnu
hlu@localhost:~/nengcoin_2.4.0_arm64_linux-gnu$ ./nengcoin-qt &
```
Above in mac terminal will pop up android phone NENG QT GUI wallet in macOS desktop.

- Linux Desktop, any distro in a terminal
```
honglu@MX $ ssh -XY [email protected] -p 2022
-----login in phone----
hlu@localhost:~$ cd nengcoin_2.3.0_arm64_linux-gnu
hlu@localhost:~/nengcoin_2.3.0_arm64_linux-gnu$ ./nengcoin-qt &
hlu@localhost:~$ cd nengcoin_2.4.0_arm64_linux-gnu
hlu@localhost:~/nengcoin_2.4.0_arm64_linux-gnu$ ./nengcoin-qt &
```
Above in linux desktop terminal will pop android phone NENG QT wallet in linux desktop remotely.

Expand Down
4 changes: 2 additions & 2 deletions doc/Android_Userland_App/arm64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ IP = 192.168.1.98 with user "hlu" like below
First login into UserLand app linux terminal remotely, you should find that common linux command like "top", "uptime" does not work.
Please run below for workaround for those issues:
```
wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_v2.3.0_android_userland_arm.tgz
tar xvfz nengcoin_v2.3.0_android_userland_arm.tgz
wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_v2.4.0_android_userland_arm.tgz
tar xvfz nengcoin_v2.4.0_android_userland_arm.tgz
cd Android_Userland_App/arm64/
bash prepare_userland.sh
Expand Down
4 changes: 2 additions & 2 deletions doc/Android_Userland_App/arm64/prepare_neng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ sudo python2 get-pip.py

git clone https://github.com/ShorelineCrypto/cheetah_cpuminer.git

wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_2.3.0_arm64_linux-gnu.tgz
tar xvfz nengcoin_2.3.0_arm64_linux-gnu.tgz
wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_2.4.0_arm64_linux-gnu.tgz
tar xvfz nengcoin_2.4.0_arm64_linux-gnu.tgz

4 changes: 2 additions & 2 deletions doc/Android_Userland_App/armhf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ IP = 192.168.1.98 with user "hlu" like below
First login into UserLand app linux terminal remotely, you should find that common linux command like "top", "uptime" does not work.
Please run below for workaround for those issues:
```
wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_v2.3.0_android_userland_arm.tgz
tar xvfz nengcoin_v2.3.0_android_userland_arm.tgz
wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_v2.4.0_android_userland_arm.tgz
tar xvfz nengcoin_v2.4.0_android_userland_arm.tgz
cd Android_Userland_App/armhf/
bash prepare_userland.sh
Expand Down
4 changes: 2 additions & 2 deletions doc/Android_Userland_App/armhf/prepare_neng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ sudo python2 get-pip.py

git clone https://github.com/ShorelineCrypto/cheetah_cpuminer.git

wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.3.0/nengcoin_2.3.0_armhf_linux-gnu.tgz
tar xvfz nengcoin_2.3.0_armhf_linux-gnu.tgz
wget https://github.com/ShorelineCrypto/nengcoin/releases/download/v2.4.0/nengcoin_2.4.0_armhf_linux-gnu.tgz
tar xvfz nengcoin_2.4.0_armhf_linux-gnu.tgz

58 changes: 20 additions & 38 deletions doc/Android_Userland_App/nengcoin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,23 @@ rpcallowip=127.0.0.1
server=1
daemon=1
upnp=1
addnode=107.12.227.200:53021
addnode=108.254.26.173:39738
addnode=108.254.26.173:43308
addnode=108.254.26.173:43348
addnode=108.254.26.173:56004
addnode=108.254.26.173:62956
addnode=108.254.26.173:62957
addnode=108.254.26.173:63554
addnode=185.182.8.67:6377
addnode=194.60.86.120:52336
addnode=194.60.86.120:52412
addnode=194.60.86.120:52542
addnode=209.145.50.223:56726
addnode=209.145.50.223:6377
addnode=209.182.239.169:33512
addnode=213.93.140.69:52808
addnode=68.151.207.8:51281
addnode=68.151.207.8:51299
addnode=68.151.207.8:51310
addnode=71.234.69.93:38294
addnode=71.234.69.93:39066
addnode=71.234.69.93:49936
addnode=71.234.69.93:63722
addnode=73.239.183.184:47751
addnode=73.239.183.184:6377
addnode=80.229.151.154:41682
addnode=80.229.151.154:48722
addnode=80.229.151.154:52016
addnode=83.99.51.137:51788
addnode=85.202.228.70:54276
addnode=85.202.228.70:54282
addnode=85.202.228.70:54290
addnode=86.19.127.88:50860
addnode=86.19.127.88:52496
addnode=86.19.127.88:59228
addnode=86.19.127.88:59246
addnode=86.19.127.88:59269
addnode=89.233.108.211:56008
addnode=206.0.20.176
addnode=144.91.111.8
addnode=184.91.80.85
addnode=146.19.215.49
addnode=99.68.177.108
addnode=85.202.231.41
addnode=87.240.193.233
addnode=194.34.232.192
addnode=86.125.209.111
addnode=1.156.5.90
addnode=89.84.195.176
addnode=95.25.75.223
addnode=5.196.91.67
addnode=85.202.228.70
addnode=76.152.60.70
addnode=142.112.238.161
addnode=209.145.50.223
addnode=130.162.40.152
addnode=69.124.8.44
addnode=95.98.26.178
14 changes: 7 additions & 7 deletions doc/Chromebook/arm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In the rare cases, your chromebook may have 64 bits CPU, but the linux runs on 3
```
Above information from terminal should give you clear idea whether you have arm64 (aarch64) or armhf platform in linux.

By default, Linux (Beta) or Crostini runs a container for Debian 11. Below has been tested to be working in both Debian 11 and Debian 10. Because v2.3.0 wallet is static linked, it should work directly in linux beta with proper hardware versions.
By default, Linux (Beta) or Crostini runs a container for Debian 11. Below has been tested to be working in both Debian 11 and Debian 10. Because v2.4.0 wallet is static linked, it should work directly in linux beta with proper hardware versions.


After successfully downloading NENG wallet file at your current folder. You can move these files to whatever best location inside your "Linux files" folder by using either linux command line or Chromebook GUI drag and drop.
Expand All @@ -49,14 +49,14 @@ to run a full node and for the purpose of CPU mining.

### arm64
```
hlu@penguin:~$ cd nengcoin_2.3.0_arm64_linux-gnu
hlu@penguin:~/nengcoin_2.3.0_arm64_linux-gnu$ ./nengcoin-qt &
hlu@penguin:~$ cd nengcoin_2.4.0_arm64_linux-gnu
hlu@penguin:~/nengcoin_2.4.0_arm64_linux-gnu$ ./nengcoin-qt &
```

### armhf
```
hlu@penguin:~$ cd nengcoin_2.3.0_armhf_linux-gnu
hlu@penguin:~/nengcoin_2.3.0_armhf_linux-gnu$ ./nengcoin-qt &
hlu@penguin:~$ cd nengcoin_2.4.0_armhf_linux-gnu
hlu@penguin:~/nengcoin_2.4.0_armhf_linux-gnu$ ./nengcoin-qt &
```

Above in linux terminal will pop NENG QT wallet in chromebook desktop.
Expand All @@ -81,15 +81,15 @@ TAB key is powerful in linux command line. Typing full word of file or folder n

Here is easier way with tab:
```
cd nengcoin_2.3.0_arm64_linux-gnu
cd nengcoin_2.4.0_arm64_linux-gnu
```
Typing above long word in Chromebook is close to impossible. An easier way to do is:

```
cd nengc-finger push TAB key
```
After you push TAB afer word "nengc" , the chromebook linux terminal should behave like linux in server/desktop with the full file/folder name "nengcoin_2.3.0_arm64_linux-gnu" auto populated for you.
After you push TAB afer word "nengc" , the chromebook linux terminal should behave like linux in server/desktop with the full file/folder name "nengcoin_2.4.0_arm64_linux-gnu" auto populated for you.

#### Arrow up or down key for history

Expand Down
40 changes: 20 additions & 20 deletions doc/Chromebook/arm/nengcoin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ rpcallowip=127.0.0.1
server=1
daemon=1
upnp=1
addnode=184.59.34.45:50401
addnode=209.145.50.223:6377
addnode=71.234.69.93:6377
addnode=173.70.249.155:52164
addnode=173.70.249.155:36190
addnode=70.113.108.236:6377
addnode=213.93.140.69:56292
addnode=108.254.26.173:42850
addnode=206.0.21.52:9469
addnode=108.254.26.173:57576
addnode=83.99.51.137:34019
addnode=208.87.135.124:48040
addnode=181.44.131.88:31591
addnode=87.240.225.0:6377
addnode=173.17.162.125:59386
addnode=71.234.69.93:38158
addnode=178.84.56.51:38842
addnode=207.244.243.35:38350
addnode=172.58.230.235:49440
addnode=173.17.162.125:49755
addnode=206.0.20.176
addnode=144.91.111.8
addnode=184.91.80.85
addnode=146.19.215.49
addnode=99.68.177.108
addnode=85.202.231.41
addnode=87.240.193.233
addnode=194.34.232.192
addnode=86.125.209.111
addnode=1.156.5.90
addnode=89.84.195.176
addnode=95.25.75.223
addnode=5.196.91.67
addnode=85.202.228.70
addnode=76.152.60.70
addnode=142.112.238.161
addnode=209.145.50.223
addnode=130.162.40.152
addnode=69.124.8.44
addnode=95.98.26.178
10 changes: 5 additions & 5 deletions doc/Chromebook/x64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For disk size in Linux Beta, we recommend to add 3G on top of recommended 5G by
You can pin linux "Terminal" at menu bar. Download this tgz file to chromebook, drag the file from "Downloads" to "Linux files" folder in chromebook.
Inside terminal, this file will be at your home directory.

By default, Linux (Beta) or Crostini runs a container for Debian 10. Below has been tested to be working in both Debian 11 and Debian 10. Because the latest v2.3.0 is static linked wallet file, you can simply download x86_64 linux-gnu version wallet binary and run in either GUI (QT) or command line CLI wallet.
By default, Linux (Beta) or Crostini runs a container for Debian 10. Below has been tested to be working in both Debian 11 and Debian 10. Because the latest v2.4.0 is static linked wallet file, you can simply download x86_64 linux-gnu version wallet binary and run in either GUI (QT) or command line CLI wallet.

After successfully downloading NENG wallet file at your current folder. You can move these files to whatever best location inside your "Linux files" folder by using either linux command line or Chromebook GUI drag and drop.

Expand All @@ -39,8 +39,8 @@ to run a full node and for the purpose of CPU mining.
## run GUI QT wallet in Chromebook

```
hlu@penguin:~$ cd nengcoin_2.3.0_x86_64_linux-gnu
hlu@penguin:~/nengcoin_2.3.0_x86_64_linux-gnu$ ./nengcoin-qt &
hlu@penguin:~$ cd nengcoin_2.4.0_x86_64_linux-gnu
hlu@penguin:~/nengcoin_2.4.0_x86_64_linux-gnu$ ./nengcoin-qt &
```

Above in linux terminal will pop NENG QT wallet in chromebook desktop.
Expand All @@ -64,15 +64,15 @@ TAB key is powerful in linux command line. Typing full word of file or folder n

Here is easier way with tab:
```
cd nengcoin_2.3.0_x86_64_linux-gnu
cd nengcoin_2.4.0_x86_64_linux-gnu
```
Typing above long word in Chromebook is close to impossible. An easier way to do is:

```
cd nengc-finger push TAB key
```
After you push TAB afer word "nengc" , the chromebook linux terminal should behave like linux in server/desktop with the full file/folder name "nengcoin_2.3.0_x86_64_linux-gnu" auto populated for you.
After you push TAB afer word "nengc" , the chromebook linux terminal should behave like linux in server/desktop with the full file/folder name "nengcoin_2.4.0_x86_64_linux-gnu" auto populated for you.

#### Arrow up or down key for history

Expand Down
Loading

0 comments on commit 452e4e8

Please sign in to comment.