constants.py: Simnet inherits from Testnet
This commit is contained in:
parent
30abdbfda3
commit
91c5ddfad8
@ -94,31 +94,16 @@ class BitcoinTestnet:
|
||||
}
|
||||
BIP44_COIN_TYPE = 1
|
||||
|
||||
class BitcoinSimnet:
|
||||
|
||||
class BitcoinSimnet(BitcoinTestnet):
|
||||
ADDRTYPE_P2PKH = 0x3f
|
||||
ADDRTYPE_P2SH = 0x7b
|
||||
SEGWIT_HRP = "sb"
|
||||
GENESIS = "683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6"
|
||||
WIF_PREFIX = 0x00
|
||||
TESTNET = True
|
||||
DEFAULT_PORTS = {}
|
||||
DEFAULT_SERVERS = read_json('servers_regtest.json', {}) # Note: regtest!
|
||||
DEFAULT_SERVERS = read_json('servers_regtest.json', {}) # Note: regtest!
|
||||
CHECKPOINTS = []
|
||||
|
||||
XPRV_HEADERS = {
|
||||
'standard': 0x04358394, # tprv
|
||||
'p2wpkh-p2sh': 0x044a4e28, # uprv
|
||||
'p2wsh-p2sh': 0x024285b5, # Uprv
|
||||
'p2wpkh': 0x045f18bc, # vprv
|
||||
'p2wsh': 0x02575048, # Vprv
|
||||
}
|
||||
XPUB_HEADERS = {
|
||||
'standard': 0x043587cf, # tpub
|
||||
'p2wpkh-p2sh': 0x044a5262, # upub
|
||||
'p2wsh-p2sh': 0x024285ef, # Upub
|
||||
'p2wpkh': 0x045f1cf6, # vpub
|
||||
'p2wsh': 0x02575483, # Vpub
|
||||
}
|
||||
|
||||
class BitcoinRegtest(BitcoinTestnet):
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user