Add mainnet, testnet and regtest peers for BTG (#500)

This commit is contained in:
wilsonmeier 2018-06-24 07:20:03 +02:00 committed by Neil
parent f968a45c23
commit 068e230616

View File

@ -454,6 +454,12 @@ class BitcoinGold(EquihashMixin, BitcoinMixin, Coin):
TX_PER_BLOCK = 50
REORG_LIMIT = 1000
RPC_PORT = 8338
PEERS = [
'electrumx-eu.bitcoingold.org s50002 t50001',
'electrumx-us.bitcoingold.org s50002 t50001',
'electrumx-eu.btcgpu.org s50002 t50001',
'electrumx-us.btcgpu.org s50002 t50001'
]
@classmethod
def header_hash(cls, header):
@ -496,6 +502,14 @@ class BitcoinGoldTestnet(BitcoinGold):
RPC_PORT = 18338
GENESIS_HASH = ('00000000e0781ebe24b91eedc293adfe'
'a2f557b53ec379e78959de3853e6f9f6')
PEERS = [
'test-node1.bitcoingold.org s50002',
'test-node2.bitcoingold.org s50002',
'test-node3.bitcoingold.org s50002',
'test-node1.btcgpu.org s50002',
'test-node2.btcgpu.org s50002',
'test-node3.btcgpu.org s50002'
]
class BitcoinGoldRegtest(BitcoinGold):
@ -512,6 +526,7 @@ class BitcoinGoldRegtest(BitcoinGold):
RPC_PORT = 18444
GENESIS_HASH = ('0f9188f13cb7b2c71f2a335e3a4fc328'
'bf5beb436012afca590b1a11466e2206')
PEERS = []
class Emercoin(Coin):