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

Inconsistent data being returned from /address/utxo/ #18

Closed
alwaysAn0n opened this issue Jun 9, 2018 · 2 comments
Closed

Inconsistent data being returned from /address/utxo/ #18

alwaysAn0n opened this issue Jun 9, 2018 · 2 comments

Comments

@alwaysAn0n
Copy link

alwaysAn0n commented Jun 9, 2018

Hitting https://rest.bitbox.earth/v1/address/utxo/ with a stringified array of cashaddress formatted addresses frequently yields different results. This is true if you hit the server directly and also if you use the Bitbox-cli BITBOX.Address.utxo() method.

If I remember correctly, this endpoint is relayed from Bitcoin.com . If that's true, then the problem might actually be their Insight node. Strangely enough, #17 looks like it might also be a problem with Bitcoin.com . I've commented on that issue as well.

Here's a script that demonstrates my problem: https://gist.github.com/alwaysAn0n/433616933f2a0dbefe03c71650caa38a

EDIT: I tried hitting the endpoint one time for each address and it didn't fix the problem. Same symptoms exactly. I'm certain this is a problem with the Bitcoin.com Insight API library.

@cgcardona
Copy link
Member

Has this been resolved w/ my recent change @alwaysAn0n ?

@alwaysAn0n
Copy link
Author

Show nuff! Thanks @cgcardona :)

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

No branches or pull requests

2 participants