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

Feature Request: Add tracked accounts at runtime #88

Open
TylerJThomas opened this issue Apr 18, 2021 · 2 comments
Open

Feature Request: Add tracked accounts at runtime #88

TylerJThomas opened this issue Apr 18, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@TylerJThomas
Copy link

Would it be possible to add new xpubs/wallets to be tracked during runtime via a POST request?

@shesek
Copy link
Collaborator

shesek commented Apr 25, 2021

Hi Tyler, thanks for the suggestion! This is definitely on the roadmap. I'm currently in the process of doing some major refactoring for the wallet manager and indexer (should hopefully be ready soon-ish), which would make this easier to implement.

One complication is that bwt will have to keep the xpubs/descriptors added at runtime in a persistent store, which it currently doesn't have (its stateless, with all the state is held in Bitcoin Core). But I have a possible solution for this in mind.

@shesek shesek added the enhancement New feature or request label Apr 25, 2021
@craigraw
Copy link

craigraw commented Jun 2, 2022

+1 on this.

I'm currently trying to add BIP47 support in Sparrow to Bitcoin Core connections, which means adding individual addresses to BWT's config rather than descriptors or xpubs. However, restarting the server must now occur much more frequently - for example whenever a new notification transaction is received, or even an unused BIP47-generated address is received to (in order to maintain a gap limit). This is creating a number of problems practically as other requests fail during these BWT restarts. The ability to add new addresses at runtime would help greatly.

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

No branches or pull requests

3 participants