Skip to content

Feature Request: Add tracked accounts at runtime #88

Description

@TylerJThomas

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

Activity

  1. shesek commented on Apr 25, 2021

    @shesek
    Collaborator

    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.

  2. craigraw commented on Jun 2, 2022

    @craigraw

    +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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions