From eabeb126f8802997b573f107d2d1d9d38d497c20 Mon Sep 17 00:00:00 2001 From: ezegom Date: Thu, 29 Nov 2018 13:04:53 -0500 Subject: [PATCH] Bitcoinabc regtest (#659) * Add litecoin regtest to lib/coins.py * Add BitcoinCashABC regtest mode * pycodestyle fix --- electrumx/lib/coins.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/electrumx/lib/coins.py b/electrumx/lib/coins.py index 4fe2e4e..bf4e553 100644 --- a/electrumx/lib/coins.py +++ b/electrumx/lib/coins.py @@ -657,6 +657,26 @@ class LitecoinTestnet(Litecoin): ] +class LitecoinRegtest(LitecoinTestnet): + NET = "regtest" + GENESIS_HASH = ('530827f38f93b43ed12af0b3ad25a288' + 'dc02ed74d6d7857862df51fc56c416f9') + PEERS = [] + TX_COUNT = 1 + TX_COUNT_HEIGHT = 1 + + +class BitcoinCashABCRegtest(BitcoinTestnetMixin, Coin): + NAME = "BitcoinCashABC" + NET = "regtest" + PEERS = [] + GENESIS_HASH = ('0f9188f13cb7b2c71f2a335e3a4fc328' + 'bf5beb436012afca590b1a11466e2206') + TX_COUNT = 1 + TX_COUNT_HEIGHT = 1 + BLOCK_PROCESSOR = block_proc.LTORBlockProcessor + + class Viacoin(AuxPowMixin, Coin): NAME = "Viacoin" SHORTNAME = "VIA"