Skip to content

Commit 53d8e0b

Browse files
Various fix and improvements
1 parent 0b96c63 commit 53d8e0b

File tree

12 files changed

+110
-102
lines changed

12 files changed

+110
-102
lines changed

README.md

Lines changed: 9 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ LNCR
55

66
# LightningCashr Core integration/staging tree
77
===========================================
8-
LightningCashr Core new release version : 2.0.1
8+
LightningCashr Core new release version : 2.0.2
99

10-
README.md Updated on July 1st 2025
10+
README.md Updated on July 14th 2025
1111

1212
What is LightningCashr ?
1313
----------------------
1414

15-
LightningCashr is a coin based on Lightning-Cash ( LNC ),with Yespower POW algorithm, including DarkGravityWave ( difficulty changes for every block ) and possible CURRENT block difficulty change over time to protect against high network hash variation and long stale tip. It is also 15 times faster than LitecoinCash. For full details, please visit our website at https://lightningcashr.org
15+
LightningCashr is a coin based on Lightning-Cash ( LNC ),with Yespower POW algorithm, including DarkGravityWave ( difficulty changes for every block ) and possible CURRENT block difficulty change over time to protect against high network hash variation and long stale tip. It is also 15 times faster than LitecoinCash. For full details, please visit our website at https://lightningcash-reborn.space or
16+
https://lightningcashr.org
1617

1718
A snapshot of the old LightningCash's chain has been made on September 20th 2023, and all old balances can be claimed in the new LightningCash-Reborn wallet !!
1819
( except addresses with less than 100 LNC )
@@ -21,13 +22,15 @@ A snapshot of the old LightningCash's chain has been made on September 20th 2023
2122
Compiled binary releases are available here on Github.
2223
Whitepapers will be available soon.
2324

24-
Current supported version : 2.0.1
25+
Current supported versions : 2.0.0 - 2.0.1 - 2.0.2
2526

2627
LightningCashr Core is the full node software that makes up the backbone of the LightningCashr p2p network.
2728

2829

2930
Website : https://lightningcash-reborn.space
3031

32+
Alternative website : https://lightningcashr.org
33+
3134
Pool : https://pool.lightningcash-reborn.space
3235

3336
Block Explorer : https://explorer.lightningcash-reborn.space
@@ -71,59 +74,9 @@ And modifications from LighningCashDev made here : https://github.com/Mer
7174

7275
- Halved every 8.400.000 blocks ( +- 2 years 9 months and 17 days )
7376

74-
- Extensive total supply by halving period :
75-
76-
- block 1 - 7 : 70 000 000 LNCR , which 66 414 845 LNCR has been used for the old LightningCash ( LNC ) balances claims, and 3 585 155 as a new premine.
77-
at block 48 725 , 1 682 694 coins were sent to an old exchange's admin to cover the old LNC to LNCR swap. So the true available dev premine was
78-
1 902 461 LNCR.
79-
80-
See in explorer : block 238, 241, 248, 254, 265, 270, 272, 276, 280, 283, 286, 289, 291, 329, 344, 345, 352, 356, 360, 367, 673, and finaly 48725.
81-
82-
83-
To this day, on December 14th 2024, at block height 3 707 245,
84-
74 634 033.75 coins have been emitted so far,
85-
1 766 134.75 coins have been burned in the hive,
86-
so 72 867 899 is the actual total supply.
87-
38.11 % of emitted coins have been burned. ( 1 766 134 / 4 634 033 LNCR)
88-
89-
It is therefore estimated that at this rate, the 21 000 000 mineable coins will all be mined on October 21st 2088, and out of those 21 000 000, around 8 003 562 coins will have been burned.
90-
So it is estimated that when all coins will be mined, in October 2088, the total supply will be 82 996 438 LNCR.
91-
92-
93-
1.25 reward - block 8 - 8 399 999 : 10 500 000 LNCR September 23rd 2023 - July 10th 2026 TOTAL 80 500 000 / 91 000 000 CORRECTED TOTAL 76 498 219 / 82 996 438
94-
0.625 reward - block 8 400 000 - 16 799 999 : 5 250 000 LNCR July 10th 2026 - April 26th 2029 TOTAL 85 750 000 / 91 000 000 CORRECTED TOTAL 79 747 329 / 82 996 438
95-
0.3125 reward - block 16 800 000 - 25 199 999 : 2 625 000 LNCR April 26th 2029 - February 10th 2032 TOTAL 88 375 000 / 91 000 000 CORRECTED TOTAL 81 371 883 / 82 996 438
96-
0.15625 reward - block 25 200 000 - 33 599 999 : 1 312 500 LNCR February 10th 2032 - November 27th 2034 TOTAL 89 687 500 / 91 000 000 CORRECTED TOTAL 82 184 161 / 82 996 438
97-
0.078125 reward - block 33 600 000 - 41 999 999 : 656 250 LNCR November 27th 2034 - September 13th 2037 TOTAL 90 343 750 / 91 000 000 CORRECTED TOTAL 82 590 299 / 82 996 438
98-
0.0390625 reward- block 42 000 000 - 50 399 999 : 328 125 LNCR September 13th 2037 - June 30th 2040 TOTAL 90 671 875 / 91 000 000 CORRECTED TOTAL 82 793 369 / 82 996 438
99-
0.01953125 reward block 50 400 000 - 58 799 999 : 164 062.5 LNCR June 30th 2040 - April 17th 2043 TOTAL 90 835 938 / 91 000 000 CORRECTED TOTAL 82 894 904 / 82 996 438
100-
...
101-
...
102-
Febrary 1st 2046 ... November 17th 2048 ... September 4th 2051
103-
... June 21st 2054 ... April 7th 2057 --- January 23rd 2060 ( 12th halving )
104-
... October 21st 2088 ( 26th and last possible halving )
105-
106-
Maximum supply ( maximum theoretical possible supply, reached in October 2088, but will always be less due to coins being burned in bee creation transactions... )
107-
108-
91 000 000 coins ( 70 000 000 divided as follows : 66 414 845 coins for the old LNC balance claims, 1 682 694 coins for an old exchange swap, and 1 902 461 as a new premine )
109-
( 21 000 000 mineable coins )
110-
111-
Approximately 38.11 % of coins will be burned.......
112-
113-
To push it even further.... since the percentage of the bee creation fee that will be burned will go down from 90 or 100 % to 50 % on January 1st 2025, blockheight 3 864 378, it is estimated
114-
that from this blockheight, only 20 % of the emitted coins will end up being burned in the hive.
115-
116-
XXXXX ---- So, final most accurate coin supply prediction : ---- XXXXX
117-
118-
January 1st 2025 : 72 989 468 / 85 925 089 84.95 % of Max supply reached, 18.77 % of mineable coins mined.
119-
July 10th 2026 : 77 525 089 / 85 925 089 90.22 % of Max supply reached, 47.25 % of mineable coins mined.
120-
April 26th 2029 : 81 725 089 / 85 925 089 95.11 % of Max supply reached, 73.63 % of mineable coins mined.
121-
February 10th 2032 : 83 825 089 / 85 925 089 97.56 % of Max supply reached, 86.81 % of mineable coins mined.
122-
November 27th 2034 : 84 875 089 / 85 925 089 98.78 % of Max supply reached, 93.41 % of mineable coins mined.
123-
...
124-
October 21st 2088 : 85 925 089 / 85 925 089 100 % of Max supply reached, 100 % of mineable coins mined.
125-
77+
- Total possible supply : 91 000 000 coins
12678

79+
- Extensive total supply by halving period : see ----> https://github.com/MerlinMagic2018/LightningCash-R/supply.md
12780

12881
The Hive Characteristics
12982
---------------------------------------------------------------------------

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
22
AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 2)
44
define(_CLIENT_VERSION_MINOR, 0)
5-
define(_CLIENT_VERSION_REVISION, 1)
5+
define(_CLIENT_VERSION_REVISION, 2)
66
define(_CLIENT_VERSION_BUILD, 0)
77
define(_CLIENT_VERSION_IS_RELEASE, true)
88
define(_COPYRIGHT_YEAR, 2025)
9-
define(_COPYRIGHT_HOLDERS,[The %s developers])
9+
define(_COPYRIGHT_HOLDERS,[merlin (%s)])
1010
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[LNCR]])
1111
define(_COPYRIGHT_HOLDERS_SUBSTITUTION2,[[LNCR]])
1212
AC_INIT([LightningCashr Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/MerlinMagic2018/LightningCash-R/issues],[lncr],[https://lightningcash-reborn.space/])

contrib/seeds/nodes_main.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
66.55.66.167:9113
2-
24.203.200.156:9113
31
24.200.40.197:9113
2+
24.203.200.156:9113
43
125.229.48.110:9113
5-
4+
192.145.237.212:9113
65

76

doc/build-ALL-OS.md

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ LightningCashr Build Instructions for any OS
44
--------------------------------
55

66

7-
---> Compile from Ubuntu 18.04 ---> Necessary steps for ANY OS :
7+
---> Compile from Ubuntu 18.04
8+
---> Necessary steps for ANY OS :
89

10+
sudo apt-get update
911

1012
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils curl git wget python3
1113

@@ -17,7 +19,7 @@ sudo apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chr
1719

1820
sudo apt-get install software-properties-common
1921

20-
sudo add-apt-repository -y ppa:luke-jr/bitcoincore
22+
sudo add-apt-repository -y ppa:bitcoin:bitcoin
2123

2224
sudo apt-get update
2325

@@ -37,9 +39,9 @@ Alternatively, to build with Qt 4 (NOT recommended) you need the following:
3739

3840
sudo apt install git
3941

40-
git clone https://github.com/diabaths/LightningCashr-Coin
42+
git clone https://github.com/MerlinMagic2018/LightningCash-R
4143

42-
cd LightningCashr-Coin
44+
cd LightningCash-R
4345

4446

4547
-------------------------------------------------------------------------
@@ -93,13 +95,13 @@ sudo apt-get install git
9395

9496
sudo apt-get install curl
9597

96-
git clone https://github.com/diabaths/LightningCashr-Coin
98+
git clone https://github.com/MerlinMagic2018/LightningCash-R
9799

98-
sudo chmod -R a+rw LightningCashr-Coin
100+
sudo chmod -R a+rw LightningCash-R
99101

100102
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
101103

102-
cd LightningCashr-Coin
104+
cd LightningCash-R
103105

104106
cd depends
105107

@@ -123,7 +125,7 @@ daemon, cli and tx in src folder, GUI ( qt ) in src/qt folder.
123125

124126
---------------------------------------------------------------------------
125127

126-
OSX ( Apple )
128+
## Building for OSX ( Apple )
127129
----------
128130

129131
sudo apt-get update
@@ -147,9 +149,9 @@ sudo apt install libbz2-dev
147149

148150

149151

150-
git clone https://github.com/diabaths/LightningCashr-Coin
152+
git clone https://github.com/MerlinMagic2018/LightningCash-R
151153

152-
cd LightningCashr-Coin
154+
cd LightningCash-R
153155

154156
cd depends
155157

@@ -183,26 +185,16 @@ lightningcashrd, lightningcashr-cli and lightningcashr-tx are in src folder, GUI
183185

184186
make deploy
185187

186-
# Installation into user directories (optional):
187-
188-
sudo make install
189-
190-
or
191-
192-
sudo cd ~/LightningCashr-Coin/src
193-
sudo cp lightningcashrd /usr/local/bin/
194-
sudo cp lightningcashr-cli /usr/local/bin/
195-
196188
--------------------------------------------------------------------------
197189

198-
Linux ( linux-gnu, usable on ANY linux ):
190+
## Building for Linux ( linux-gnu, usable on ANY linux distribution ):
199191
------
200192

201193
sudo apt-get update
202194

203-
git clone https://github.com/diabaths/LightningCashr-Coin
195+
git clone https://github.com/MerlinMagic2018/LightningCash-R
204196

205-
cd LightningCashr-Coin
197+
cd LightningCash-R
206198

207199
cd depends
208200

@@ -222,6 +214,8 @@ Done.
222214

223215
Binaries in depends/x86_64-pc-linux-gnu/bin/
224216

225-
You need both the "bin" and the "lib" folders, together in a folder, for the binaries to work.
217+
Librairies in depends/x86_64-pc-linux-gnu/lib/
218+
219+
You need both the "bin" and the "lib" folders, together in a folder, for the binaries to work !
226220

227221
----------------------------------------------------------------------------

src/chainparams.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ class CMainParams : public CChainParams {
173173

174174
// The best chain should have at least this much work.
175175

176-
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000089fe179b775b"); // LightningCashr: block 5362791
176+
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000000008db26219b009"); // LightningCashr: block 5472830
177177
// By default assume that the signatures in ancestors of this block are valid.
178-
consensus.defaultAssumeValid = uint256S("0x9e881790e1bb01f8f43fc8f3c49f1ca2f257ddf9f7042800aaa512e475727528"); // LightningCashr : block 5362791
178+
consensus.defaultAssumeValid = uint256S("0x090200eb68d00cd1ad990c2a7ddca7d567a2402fb909e99d304d5cf333ab5bdf"); // LightningCashr : block 5472830
179179

180180

181181

@@ -227,6 +227,7 @@ class CMainParams : public CChainParams {
227227
{ 1305391, uint256S("0x99bd061f8c1b4a5b18ab76c93b353007d9026822df35c7201b08dde8cc42e5d3")},
228228
{ 3657000, uint256S("0x966f34fec23d771d6a0793396650e64fb1f991c06fbfa046c5928d50884f409b")},
229229
{ 5362791, uint256S("0x9e881790e1bb01f8f43fc8f3c49f1ca2f257ddf9f7042800aaa512e475727528")},
230+
{ 5472830, uint256S("0x090200eb68d00cd1ad990c2a7ddca7d567a2402fb909e99d304d5cf333ab5bdf")},
230231
}
231232
};
232233

src/chainparamsseeds.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
* IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.
99
*/
1010
static SeedSpec6 pnSeed6_main[] = {
11-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x42,0x37,0x42,0xa7}, 9113},
12-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x18,0xcb,0xc8,0x9c}, 9113},
1311
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x18,0xc8,0x28,0xc5}, 9113},
14-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x7d,0xe5,0x30,0x6e}, 9113}
12+
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x18,0xcb,0xc8,0x9c}, 9113},
13+
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x7d,0xe5,0x30,0x6e}, 9113},
14+
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xc0,0x91,0xed,0xd4}, 9113}
1515
};
1616

1717
static SeedSpec6 pnSeed6_test[] = {

src/init.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,14 +526,15 @@ std::string HelpMessage(HelpMessageMode mode)
526526

527527
std::string LicenseInfo()
528528
{
529-
const std::string URL_SOURCE_CODE = "<https://github.com/diabaths/LightningCashr-Coin>";
530-
const std::string URL_WEBSITE = "<http://lightningcashr.org>";
529+
const std::string URL_SOURCE_CODE = "<https://github.com/MerlinMagic2018/LightningCash-R>";
530+
const std::string URL_WEBSITE = "<https://lightningcash-reborn.space>";
531+
const std::string URL_WEBSITE2 = "<https://lightningcashr.org>";
531532

532533
return CopyrightHolders(strprintf(_("Copyright (C) %i-%i"), 2011, COPYRIGHT_YEAR) + " ") + "\n" +
533534
"\n" +
534535
strprintf(_("Please contribute if you find %s useful. "
535-
"Visit %s for further information about the software."),
536-
PACKAGE_NAME, URL_WEBSITE) +
536+
"Visit %s or %s for further information about the software."),
537+
PACKAGE_NAME, URL_WEBSITE, URL_WEBSITE2) +
537538
"\n" +
538539
strprintf(_("The source code is available from %s."),
539540
URL_SOURCE_CODE) +

src/qt/intro.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
static const uint64_t GB_BYTES = 1000000000LL;
2424
/* Minimum free space (in GB) needed for data directory */
25-
static const uint64_t BLOCK_CHAIN_SIZE = 14;
25+
static const uint64_t BLOCK_CHAIN_SIZE = 5;
2626
/* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */
2727
static const uint64_t CHAIN_STATE_SIZE = 3;
2828
/* Total required space (in GB) depending on user choice (prune, not prune) */
@@ -127,7 +127,7 @@ Intro::Intro(QWidget *parent) :
127127
.arg(tr(PACKAGE_NAME))
128128
.arg(BLOCK_CHAIN_SIZE)
129129
.arg(2011) // LightningCashr: Fix parent coin year
130-
.arg(tr("Lightning")) // LightningCashr: Fix parent coin name
130+
.arg(tr("Litecoin")) // LightningCashr: Fix parent coin name
131131
);
132132
ui->lblExplanation2->setText(ui->lblExplanation2->text().arg(tr(PACKAGE_NAME)));
133133

src/qt/splashscreen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle)
103103

104104
// draw copyright stuff
105105
{
106-
pixPaint.setFont(QFont(font, 10*fontFactor));
106+
pixPaint.setFont(QFont(font, 15*fontFactor));
107107
const int x = pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight;
108108
const int y = paddingTop+titleCopyrightVSpace;
109109
QRect copyrightRect(x, y, pixmap.width() - x - paddingRight, pixmap.height() - y);
@@ -121,7 +121,7 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle)
121121
}
122122

123123
// LightningCashr: Faster, stronger, better !
124-
pixPaint.setFont(QFont(font, 15*fontFactor));
124+
pixPaint.setFont(QFont(font, 25*fontFactor));
125125
pixPaint.drawText(302, 180, "Faster, stronger, better !");
126126

127127
pixPaint.end();

src/util.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,13 +953,19 @@ std::string CopyrightHolders(const std::string& strPrefix)
953953

954954
// LitecoinCash: Add a row
955955
std::string strFirstPrefix = strPrefix;
956-
strFirstPrefix.replace(strFirstPrefix.find("2011-"), sizeof("2011-")-1, "2022-");
956+
strFirstPrefix.replace(strFirstPrefix.find("2011-"), sizeof("2011-")-1, "2023-");
957957
std::string strCopyrightHolders = strFirstPrefix + strprintf(_(COPYRIGHT_HOLDERS), _(COPYRIGHT_HOLDERS_SUBSTITUTION));
958958

959+
if (strprintf(COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION).find("Bitcoin Core") == std::string::npos) {
960+
std::string strYear = strPrefix;
961+
strYear.replace(strYear.find("2011"), sizeof("2011")-1, "2019");
962+
strCopyrightHolders += "\n" + strYear + "merlin (LightningCash)";
963+
}
964+
959965
if (strprintf(COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION).find("Bitcoin Core") == std::string::npos) {
960966
std::string strYear = strPrefix;
961967
strYear.replace(strYear.find("2011"), sizeof("2011")-1, "2018");
962-
strCopyrightHolders += "\n" + strYear + "The LightningCashr devs";
968+
strCopyrightHolders += "\n" + strYear + "The LitecoinCash devs";
963969
}
964970

965971
// Litecoin: Check for untranslated substitution to make sure Litecion Core copyright is not removed by accident

0 commit comments

Comments
 (0)