electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8ffeb79d0164fadf87eecc273c32e74eb51bfa56
parent 9853cc6f3139d8f4734d366c0536989aee71009c
Author: SomberNight <somber.night@protonmail.com>
Date:   Mon, 23 Jul 2018 16:01:36 +0200

constants.py: remove duplicate Simnet declaration

Diffstat:
Melectrum/constants.py | 13+++----------
1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/electrum/constants.py b/electrum/constants.py @@ -112,16 +112,6 @@ class BitcoinTestnet(AbstractNet): BIP44_COIN_TYPE = 1 -class BitcoinSimnet(BitcoinTestnet): - ADDRTYPE_P2PKH = 0x3f - ADDRTYPE_P2SH = 0x7b - SEGWIT_HRP = "sb" - GENESIS = "683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6" - WIF_PREFIX = 0x00 - DEFAULT_SERVERS = read_json('servers_regtest.json', {}) # Note: regtest! - CHECKPOINTS = [] - - class BitcoinRegtest(BitcoinTestnet): SEGWIT_HRP = "bcrt" @@ -132,6 +122,9 @@ class BitcoinRegtest(BitcoinTestnet): class BitcoinSimnet(BitcoinTestnet): + WIF_PREFIX = 0x64 + ADDRTYPE_P2PKH = 0x3f + ADDRTYPE_P2SH = 0x7b SEGWIT_HRP = "sb" GENESIS = "683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6" DEFAULT_SERVERS = read_json('servers_regtest.json', {})