Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Blockstream API for Fetching Transactions #202

Merged
merged 2 commits into from
Dec 4, 2020
Merged

Use Blockstream API for Fetching Transactions #202

merged 2 commits into from
Dec 4, 2020

Conversation

joelklabo
Copy link
Contributor

No description provided.

@@ -22,14 +22,14 @@ class TxFetcher:
@classmethod
def get_url(cls, testnet=False):
if testnet:
return 'http://testnet.programmingbitcoin.com'
return 'https://blockstream.info/testnet/api/'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should move these into constants.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a bad idea. I think to fix this I'd rather just make the minimum change here though.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joelklabo
Copy link
Contributor Author

@jimmysong

Copy link
Owner

@jimmysong jimmysong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks guys! Good stuff.

@jimmysong jimmysong merged commit 3fba6b9 into jimmysong:master Dec 4, 2020
@joelklabo
Copy link
Contributor Author

Thanks @jimmysong just saw this got merged 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants