From 068e2306169c66e8005eb46a8ec724ed29e369d9 Mon Sep 17 00:00:00 2001 From: wilsonmeier Date: Sun, 24 Jun 2018 07:20:03 +0200 Subject: [PATCH] Add mainnet, testnet and regtest peers for BTG (#500) --- lib/coins.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/coins.py b/lib/coins.py index 4b1174f..9c1d98b 100644 --- a/lib/coins.py +++ b/lib/coins.py @@ -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):