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

add isAddressUsed to bitcore-explorers #1120

Closed
maraoz opened this issue Feb 26, 2015 · 6 comments
Closed

add isAddressUsed to bitcore-explorers #1120

maraoz opened this issue Feb 26, 2015 · 6 comments

Comments

@maraoz
Copy link
Contributor

maraoz commented Feb 26, 2015

See: https://labs.bitpay.com/t/how-to-get-utxos-for-an-hd-wallet/369

isAddressUsed should receive an address and return true if the address ever received a transaction

@dskloet
Copy link
Contributor

dskloet commented Feb 26, 2015

Thanks!

Something more advanced to support HD wallets would be great as well. For example giving a window size of addresses to generate from an extended public key and finding all the unspent outputs from that, increasing the window as long as used addresses continue to be found.

@dskloet
Copy link
Contributor

dskloet commented Apr 5, 2015

I just noticed that 3 days earlier Insight.address() was added which can tell the total amount received on an address.

bitpay/bitcore-explorers@05dd58a

The function name isn't super clear but it should do the trick for checking if an address is used.

@dskloet
Copy link
Contributor

dskloet commented Apr 5, 2015

Unfortunately that code is broken. Issue 1175.

@maraoz
Copy link
Contributor Author

maraoz commented Apr 6, 2015

should be fixed with https://github.com/bitpay/bitcore-explorers, can you review it?

@dskloet
Copy link
Contributor

dskloet commented Apr 6, 2015

I think I've reviewed it. Can you see the comments I left or do I need to send them out or something?

@braydonf
Copy link
Contributor

braydonf commented Jun 6, 2016

Moved to: bitpay/bitcore-explorers#32

@braydonf braydonf closed this as completed Jun 6, 2016
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

3 participants