Skip to content

Commit

Permalink
Remove Blocksmurfer providers as API is down
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed Jan 15, 2024
1 parent d86fea6 commit 3d92fa0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
22 changes: 0 additions & 22 deletions bitcoinlib/data/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,27 +405,5 @@
"priority": 10,
"denominator": 1,
"network_overrides": null
},
"blocksmurfer": {
"provider": "blocksmurfer",
"network": "bitcoin",
"client_class": "BlocksmurferClient",
"provider_coin_id": "",
"url": "https://harari.blocksmurfer.io/api/v1/btc/",
"api_key": "",
"priority": 10,
"denominator": 100000000,
"network_overrides": null
},
"blocksmurfer.testnet": {
"provider": "blocksmurfer",
"network": "testnet",
"client_class": "BlocksmurferClient",
"provider_coin_id": "",
"url": "https://harari.blocksmurfer.io/api/v1/tbtc/",
"api_key": "",
"priority": 10,
"denominator": 100000000,
"network_overrides": null
}
}
2 changes: 1 addition & 1 deletion bitcoinlib/encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
try:
from Crypto.Hash import RIPEMD160
except ImportError as err:
_logger.warning("Could not import RIPEMD160 from cryptodome, will try do use hashlib but this could lead to errors")
_logger.warning("Could not import RIPEMD160 from cryptodome, will try to use hashlib but this could lead to errors")

try:
from Crypto.Cipher import AES
Expand Down
2 changes: 1 addition & 1 deletion bitcoinlib/services/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from sqlalchemy import func
from bitcoinlib import services
from bitcoinlib.networks import Network
from bitcoinlib.encoding import to_bytes, int_to_varbyteint, varstr, varbyteint_to_int
from bitcoinlib.encoding import to_bytes, int_to_varbyteint, varstr
from bitcoinlib.db_cache import *
from bitcoinlib.transactions import Transaction, transaction_update_spents
from bitcoinlib.blocks import Block
Expand Down

0 comments on commit 3d92fa0

Please sign in to comment.