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

Support using a bitcoind that doesn't have the wallet enabled #85

Closed
wants to merge 1 commit into from

Conversation

stevenroose
Copy link
Contributor

No description provided.

@stevenroose
Copy link
Contributor Author

On second thought, there are other reasons why bwt won't work on a wallet-less node, but maybe this change isn't too bad after all? Or we can print a better error when this returns None to inform the user that you need to compile bitcoind with the wallet enabled or so?

@shesek
Copy link
Collaborator

shesek commented Mar 6, 2021

In its current form, bwt heavily relies on the bitcoind wallet functionality to track wallet activity. bwt derives the wallet addresses, imports them into the wallet, builds some additional indexes on top of what bitcoind provides, and maintains the gap limit by importing more addresses as it becomes necessary.

I would like to eventually add additional backends to bwt, like client-side block filtering or the esplora http api. This would require going through transactions and searching for relevant inputs/outputs on bwt's side, which also would make it easier to implement a wallet-less bitcoind rpc as a backend (or through the p2p protocol, even).

I'm hoping to start tackling this soon (tm). nakamoto seems very promising at the basis for a client-side filtering backend.

For now, it would definitely be great if it printed a more useful error message. Would you like to look into that or should I?

@shesek shesek closed this Mar 18, 2021
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.

None yet

2 participants