From e7ea3e5d01257db218c7b97bac36ff5ea5d246e4 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 15 Jul 2015 20:55:48 +0900 Subject: [PATCH] Add two more block explorers chain.so and biteasy.com --- lib/util.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/util.py b/lib/util.py index 9104da7f..d7c7260c 100644 --- a/lib/util.py +++ b/lib/util.py @@ -202,14 +202,18 @@ def time_difference(distance_in_time, include_seconds): return "over %d years" % (round(distance_in_minutes / 525600)) block_explorer_info = { + 'Biteasy.com': ('https://www.biteasy.com/blockchain', + {'tx': 'transactions', 'addr': 'addresses'}), 'Blockchain.info': ('https://blockchain.info', {'tx': 'tx', 'addr': 'address'}), 'Blockr.io': ('https://btc.blockr.io', {'tx': 'tx/info', 'addr': 'address/info'}), - 'Insight.is': ('https://insight.bitpay.com', - {'tx': 'tx', 'addr': 'address'}), 'Blocktrail.com': ('https://www.blocktrail.com/BTC', {'tx': 'tx', 'addr': 'address'}), + 'Chain.so': ('https://www.chain.so', + {'tx': 'tx/BTC', 'addr': 'address/BTC'}), + 'Insight.is': ('https://insight.bitpay.com', + {'tx': 'tx', 'addr': 'address'}), 'TradeBlock.com': ('https://tradeblock.com/blockchain', {'tx': 'tx', 'addr': 'address'}), }