From 794a136bef6c02a8493883b3807c30226725b6d7 Mon Sep 17 00:00:00 2001 From: tokusyu Date: Sun, 23 Jun 2019 00:38:13 +0900 Subject: [PATCH 1/2] add bitoin_gold --- bitcoinetl/enumeration/chain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitcoinetl/enumeration/chain.py b/bitcoinetl/enumeration/chain.py index d54728b..1bcd1a1 100644 --- a/bitcoinetl/enumeration/chain.py +++ b/bitcoinetl/enumeration/chain.py @@ -6,7 +6,8 @@ class Chain: DASH = 'dash' ZCASH = 'zcash' MONACOIN = 'monacoin' + BITCOIN_GOLD = 'bitcoin_gold' - ALL = [BITCOIN, BITCOIN_CASH, DOGECOIN, LITECOIN, DASH, ZCASH, MONACOIN] + ALL = [BITCOIN, BITCOIN_CASH, DOGECOIN, LITECOIN, DASH, ZCASH, MONACOIN, BITCOIN_GOLD] # Old API doesn't support verbosity for getblock which doesn't allow querying all transactions in a block in 1 go. HAVE_OLD_API = [BITCOIN_CASH, DOGECOIN, DASH, MONACOIN] From 787456b1cfdb867286bc1f08da8722fc8898c8c2 Mon Sep 17 00:00:00 2001 From: tokusyu Date: Mon, 24 Jun 2019 22:13:44 +0900 Subject: [PATCH 2/2] updates about BitcoinCash --- bitcoinetl/enumeration/chain.py | 5 ++--- bitcoinetl/service/genesis_transactions.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bitcoinetl/enumeration/chain.py b/bitcoinetl/enumeration/chain.py index 1bcd1a1..4583abc 100644 --- a/bitcoinetl/enumeration/chain.py +++ b/bitcoinetl/enumeration/chain.py @@ -6,8 +6,7 @@ class Chain: DASH = 'dash' ZCASH = 'zcash' MONACOIN = 'monacoin' - BITCOIN_GOLD = 'bitcoin_gold' - ALL = [BITCOIN, BITCOIN_CASH, DOGECOIN, LITECOIN, DASH, ZCASH, MONACOIN, BITCOIN_GOLD] + ALL = [BITCOIN, BITCOIN_CASH, DOGECOIN, LITECOIN, DASH, ZCASH, MONACOIN] # Old API doesn't support verbosity for getblock which doesn't allow querying all transactions in a block in 1 go. - HAVE_OLD_API = [BITCOIN_CASH, DOGECOIN, DASH, MONACOIN] + HAVE_OLD_API = [DOGECOIN, DASH, MONACOIN] diff --git a/bitcoinetl/service/genesis_transactions.py b/bitcoinetl/service/genesis_transactions.py index a5a64a6..ad957c9 100644 --- a/bitcoinetl/service/genesis_transactions.py +++ b/bitcoinetl/service/genesis_transactions.py @@ -50,7 +50,7 @@ "reqSigs": 1, "type": "pubkey", "addresses": [ - "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" + "bitcoincash:qp3wjpa3tjlj042z2wv7hahsldgwhwy0rq9sywjpyy" ] } }