From ddae0079a70bf3736e5b7950ac85794bc43ce89f Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 9 Jul 2018 21:36:40 -0400 Subject: [PATCH] + BitcoinCashRegtest coin class (#512) --- electrumx/lib/coins.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/electrumx/lib/coins.py b/electrumx/lib/coins.py index a6359a5..ba88616 100644 --- a/electrumx/lib/coins.py +++ b/electrumx/lib/coins.py @@ -595,6 +595,15 @@ class BitcoinCashTestnet(BitcoinTestnetMixin, Coin): ] +class BitcoinCashRegtest(BitcoinCashTestnet): + NET = "regtest" + GENESIS_HASH = ('0f9188f13cb7b2c71f2a335e3a4fc328' + 'bf5beb436012afca590b1a11466e2206') + PEERS = [] + TX_COUNT = 1 + TX_COUNT_HEIGHT = 1 + + class BitcoinSegwitTestnet(BitcoinTestnetMixin, Coin): '''Bitcoin Testnet for Core bitcoind >= 0.13.1.''' NAME = "BitcoinSegwit"