Skip to content

Remove unneeded Wallet functions #1622

Closed

Description

@notmandatory

As we were reviewing which Wallet functions to expose in the language bindings we found some functions that likely aren't needed by Wallet users. I'll use this issue to list which ones I don't think are needed or can be called directly on LocalChain. Comment below if you have any other suggestions.

I'd like to remove any unneeded ones now before we have a final 1.0 API.

Activity

  1. converted this from a draft issue on Sep 25, 2024
  2. self-assigned this
    on Sep 25, 2024
  3. added
    api
    on Sep 25, 2024
  4. added this to the 1.0.0-beta milestone on Sep 25, 2024
  5. changed the title [-]Review and remove unneeded bdk_wallet functions[/-] [+]Review and remove unneeded `Wallet` functions[/+] on Sep 25, 2024
  6. changed the title [-]Review and remove unneeded `Wallet` functions[/-] [+]Remove unneeded `Wallet` functions[/+] on Sep 25, 2024
  7. ValuedMammal commented on Oct 28, 2024

    @ValuedMammal
    Contributor

    I had another look at the API docs. Originally I thought get_psbt_input shouldn't be public but I don't really see a problem with it. We could possibly try to streamline the "stage" API - right now we have staged, take_staged, and staged_mut all with slightly different semantics.

    Some other ideas for better organization are to reintroduce a unit test module for testing non public wallet functions, and consider making the common test utils available through a public test_util module.

  8. notmandatory commented on Nov 12, 2024

    @notmandatory
    ContributorAuthor

    fixed by #1658

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

Metadata

Metadata

Assignees

Labels

api

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions