Browse Source

Tweak Litecoin settings

master
Neil Booth 8 years ago
parent
commit
c6be118bab
  1. 9
      lib/coins.py

9
lib/coins.py

@ -281,7 +281,6 @@ class BitcoinTestnet(Bitcoin):
REORG_LIMIT = 2000 REORG_LIMIT = 2000
# Source: pycoin and others
class Litecoin(Coin): class Litecoin(Coin):
NAME = "Litecoin" NAME = "Litecoin"
SHORTNAME = "LTC" SHORTNAME = "LTC"
@ -295,14 +294,13 @@ class Litecoin(Coin):
b'4ff763ae46a2a6c172b3f1b60a8ce26f') b'4ff763ae46a2a6c172b3f1b60a8ce26f')
TX_COUNT = 8908766 TX_COUNT = 8908766
TX_COUNT_HEIGHT = 1105256 TX_COUNT_HEIGHT = 1105256
TX_PER_BLOCK = 800 TX_PER_BLOCK = 10
IRC_PREFIX = "E_" IRC_PREFIX = "EL_"
IRC_CHANNEL = "#electrum-ltc" IRC_CHANNEL = "#electrum-ltc"
RPC_PORT = 9332 RPC_PORT = 9332
class LitecoinTestnet(Coin): class LitecoinTestnet(Litecoin):
NAME = "Litecoin"
SHORTNAME = "XLT" SHORTNAME = "XLT"
NET = "testnet" NET = "testnet"
XPUB_VERBYTES = bytes.fromhex("0436f6e1") XPUB_VERBYTES = bytes.fromhex("0436f6e1")
@ -310,6 +308,7 @@ class LitecoinTestnet(Coin):
P2PKH_VERBYTE = 0x6f P2PKH_VERBYTE = 0x6f
P2SH_VERBYTE = 0xc4 P2SH_VERBYTE = 0xc4
WIF_BYTE = 0xef WIF_BYTE = 0xef
# Some details missing...
# Source: namecoin.org # Source: namecoin.org

Loading…
Cancel
Save