Skip to content

Instantly share code, notes, and snippets.

@TheTrunk
Created March 28, 2019 09:45
Show Gist options
  • Save TheTrunk/e5159479def9c800aec9829a1ce4e5fa to your computer and use it in GitHub Desktop.
Save TheTrunk/e5159479def9c800aec9829a1ce4e5fa to your computer and use it in GitHub Desktop.
Bitcoinzero electrumx
class Bitcoinzero(Coin):
NAME = "Bitcoinzero"
SHORTNAME = "BZX"
TX_COUNT = 43798
TX_COUNT_HEIGHT = 44
TX_PER_BLOCK = 576
NET = "mainnet"
GENESIS_HASH = '322bad477efb4b33fa4b1f0b2861eaf543c61068da9898a95062fdb02ada486f'
XPUB_VERBYTES = bytes.fromhex("0488b21e")
XPRV_VERBYTES = bytes.fromhex("0488ade4")
P2PKH_VERBYTE = bytes.fromhex("4b")
P2SH_VERBYTES = [bytes.fromhex("22")]
WIF_BYTE = bytes.fromhex("d2")
RPC_PORT = 29200
REORG_LIMIT = 5000
PEERS = { 'electrum.bitcoinzerox.net s t',
'electrum2.bitcoinzerox.net s t'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment