From c6be118babbd4fdbf2be973d40d878994863f935 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 29 Nov 2016 07:28:09 +0900 Subject: [PATCH] Tweak Litecoin settings --- lib/coins.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/coins.py b/lib/coins.py index 1b0f9d0..c8902e8 100644 --- a/lib/coins.py +++ b/lib/coins.py @@ -281,7 +281,6 @@ class BitcoinTestnet(Bitcoin): REORG_LIMIT = 2000 -# Source: pycoin and others class Litecoin(Coin): NAME = "Litecoin" SHORTNAME = "LTC" @@ -295,14 +294,13 @@ class Litecoin(Coin): b'4ff763ae46a2a6c172b3f1b60a8ce26f') TX_COUNT = 8908766 TX_COUNT_HEIGHT = 1105256 - TX_PER_BLOCK = 800 - IRC_PREFIX = "E_" + TX_PER_BLOCK = 10 + IRC_PREFIX = "EL_" IRC_CHANNEL = "#electrum-ltc" RPC_PORT = 9332 -class LitecoinTestnet(Coin): - NAME = "Litecoin" +class LitecoinTestnet(Litecoin): SHORTNAME = "XLT" NET = "testnet" XPUB_VERBYTES = bytes.fromhex("0436f6e1") @@ -310,6 +308,7 @@ class LitecoinTestnet(Coin): P2PKH_VERBYTE = 0x6f P2SH_VERBYTE = 0xc4 WIF_BYTE = 0xef + # Some details missing... # Source: namecoin.org