Skip to content

Commit

Permalink
[Core] Update explorer endpoints
Browse files Browse the repository at this point in the history
Both mainnet and testnet explorer endpoints are updated.
  • Loading branch information
Fuzzbawls committed Mar 25, 2024
1 parent 9736c7a commit 0bc5657
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/blockbookClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def process_blockbook_exceptions_int(*args, **kwargs):
return func(*args, **kwargs)
except Exception as e:
if client.isTestnet:
new_url = "https://testnet.fuzzbawls.pw"
new_url = "https://testnet.duddino.com/"
else:
new_url = "https://zkbitcoin.com/"
message = "BlockBook Client exception on %s\nTrying backup server %s" % (client.url, new_url)
Expand All @@ -37,9 +37,9 @@ class BlockBookClient:
def __init__(self, isTestnet=False):
self.isTestnet = isTestnet
if isTestnet:
self.url = "https://testnet.rockdev.org/"
self.url = "https://testnet.fuzzbawls.pw"
else:
self.url = "https://explorer.rockdev.org/"
self.url = "https://explorer.duddino.com/"

def checkResponse(self, method, param=""):
url = self.url + "/api/%s" % method
Expand Down

0 comments on commit 0bc5657

Please sign in to comment.