Update util.py
Updated block explorers. We have http://eu1.zcl-explorer.com/insight http://as1.zcl-explorer.com/insight and http://zcl-explorer.com/insight/
This commit is contained in:
parent
a2909b3c7b
commit
e3a6337035
|
@ -432,11 +432,11 @@ def time_difference(distance_in_time, include_seconds):
|
|||
|
||||
# For raw json, append /insight-api-zcash
|
||||
mainnet_block_explorers = {
|
||||
'ZclassicExplorer.com': ('http://zclassicexplorer.com',
|
||||
'Zcl-explorer.com': ('http://zcl-explorer.com/insight/',
|
||||
{'tx': 'tx', 'addr': 'address'}),
|
||||
'ZCLMine.pro': ('http://explorer.zclmine.pro',
|
||||
'ZclassicExplorer.com': ('http://ZclassicExplorer.com',
|
||||
{'tx': 'tx', 'addr': 'address'}),
|
||||
'MyZCL.com': ('http://myzcl.com',
|
||||
'EU Zcl-explorer.com': ('http://eu1.zcl-explorer.com/insight/',
|
||||
{'tx': 'tx', 'addr': 'address'}),
|
||||
'system default': ('blockchain:',
|
||||
{'tx': 'tx', 'addr': 'address'})
|
||||
|
@ -455,7 +455,7 @@ def block_explorer_info():
|
|||
return testnet_block_explorers if bitcoin.NetworkConstants.TESTNET else mainnet_block_explorers
|
||||
|
||||
def block_explorer(config):
|
||||
return config.get('block_explorer', 'ZclassicExplorer.com')
|
||||
return config.get('block_explorer', 'Zcl-explorer.com')
|
||||
|
||||
def block_explorer_tuple(config):
|
||||
return block_explorer_info().get(block_explorer(config))
|
||||
|
|
Loading…
Reference in New Issue