From 7392bfacb14d09ed9c30b341c469c857a0e33e37 Mon Sep 17 00:00:00 2001 From: Lucie666-LNC <124527558+Lucie666-LNC@users.noreply.github.com> Date: Sun, 5 Feb 2023 14:57:16 -0500 Subject: [PATCH 1/6] Update coins.py --- electrumx/lib/coins.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/electrumx/lib/coins.py b/electrumx/lib/coins.py index 2edf706bf..9d7e2e5d4 100644 --- a/electrumx/lib/coins.py +++ b/electrumx/lib/coins.py @@ -4074,3 +4074,23 @@ class Lbry(Coin): TX_PER_BLOCK = 43 RPC_PORT = 9245 REORG_LIMIT = 5000 + + + class LNC(Coin): + NAME = "LightningCash" + SHORTNAME = "LNC" + NET = "mainnet" + XPUB_VERBYTES = bytes.fromhex("0488b21e") + XPRV_VERBYTES = bytes.fromhex("0488ade4") + P2PKH_VERBYTE = bytes.fromhex("1c") + P2SH_VERBYTES = [bytes.fromhex("05")] + WIF_BYTE = bytes.fromhex("b0") + GENESIS_HASH = ('a1d8b56639865905eef9205e148bad0c' + '6a4b2026b1753c76558bb735c3e9735c') + DESERIALIZER = lib_tx.DeserializerSegWit + TX_COUNT = 1 + TX_COUNT_HEIGHT = 1 + TX_PER_BLOCK = 1 + RPC_PORT = 9110 + REORG_LIMIT = 5000 + PEERS = [] From d71356923aa3f8c58a4f872b832e770c151243a9 Mon Sep 17 00:00:00 2001 From: Lucie666-LNC <124527558+Lucie666-LNC@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:08:45 -0500 Subject: [PATCH 2/6] Update coins.py --- electrumx/lib/coins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrumx/lib/coins.py b/electrumx/lib/coins.py index 9d7e2e5d4..45a41b4ea 100644 --- a/electrumx/lib/coins.py +++ b/electrumx/lib/coins.py @@ -4074,9 +4074,9 @@ class Lbry(Coin): TX_PER_BLOCK = 43 RPC_PORT = 9245 REORG_LIMIT = 5000 - - - class LNC(Coin): + + +class LNC(Coin): NAME = "LightningCash" SHORTNAME = "LNC" NET = "mainnet" From c349a29e5a7248c900e4ac6e2790dcc7c6423366 Mon Sep 17 00:00:00 2001 From: Lucie666-LNC <124527558+Lucie666-LNC@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:10:10 -0500 Subject: [PATCH 3/6] Add LNC coins Add lightning Cash coins From 6abe4922e299c8bb275bccc8fc69e01afd930b61 Mon Sep 17 00:00:00 2001 From: Lucie666-LNC <124527558+Lucie666-LNC@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:14:44 -0500 Subject: [PATCH 4/6] Add Lightning Cash coins From 907bc79c77d6171581e70d3ccb9d966badecd719 Mon Sep 17 00:00:00 2001 From: Lucie666-LNC <124527558+Lucie666-LNC@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:20:22 -0500 Subject: [PATCH 5/6] Revert "Add Lightning Cash coins" From a8122ebe75d357b59b2448b7d6b0bcbd758976ff Mon Sep 17 00:00:00 2001 From: Lucie666-LNC <124527558+Lucie666-LNC@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:23:22 -0500 Subject: [PATCH 6/6] Update coins.py