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

Planned support for searchrawtransactions API method? #185

Closed
adamkrellenstein opened this issue Nov 8, 2014 · 4 comments
Closed

Planned support for searchrawtransactions API method? #185

adamkrellenstein opened this issue Nov 8, 2014 · 4 comments

Comments

@adamkrellenstein
Copy link

Over at Counterparty, we're currently using local Insight servers for providing counterpartyd with Bitcoin block explorer functionality, and we're considering switching over to just using jmcorgan's addrindex fork of Bitcoin Core (which provides a searchrawtransactions API method) to do all of that instead. However, it's not clear yet whether that functionality will be merged into Bitcoin Core master. We'd really like to switch to using btcd as our backend as soon as it's production-ready, so if btcd isn't going to support this functionality (namely if it doesn't get merged into Bitcoin Core), we might hold off on dropping Insight support. So the question is, will btcd index transactions by address?

@davecgh
Copy link
Member

davecgh commented Nov 10, 2014

It's not currently planned, but the idea of a flag to add an address index has been discussed before. I like the idea, however it would have to be an option because the address index is huge and it isn't needed for the standard non-development/service use case.

@davecgh
Copy link
Member

davecgh commented Nov 14, 2014

I posted in the reference issue, but I'll post here as well for visibility.

I would gladly accept a pull request to btcd that provides a flag to enable it. As I mentioned previously, I like the idea and see the benefits of it. The only concern I have is that it needs to be an option that is disabled by default due to the rather largish amount of additional space it consumes which is not that useful for non-developers.

Unfortunately, I know there is a list long enough right now that those of us at Conformal won't get to work on it in the short term. However, if there is anyone willing to tackle adding it in a pull request, I would certainly work with them to make it happen.

@davecgh
Copy link
Member

davecgh commented Jan 30, 2015

This is currently implemented in pr #205.

@davecgh davecgh closed this as completed Feb 5, 2015
@davecgh
Copy link
Member

davecgh commented Feb 5, 2015

This is now available on master.

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

No branches or pull requests

2 participants