Skip to content

Expose more getters in Wallet and other useful descriptor traits#562

Merged
notmandatory merged 5 commits intobitcoindevkit:masterfrom
afilini:feature/more-getters
Apr 5, 2022
Merged

Expose more getters in Wallet and other useful descriptor traits#562
notmandatory merged 5 commits intobitcoindevkit:masterfrom
afilini:feature/more-getters

Conversation

@afilini
Copy link
Copy Markdown
Member

@afilini afilini commented Mar 9, 2022

Description

Expose more getters and internal utilities for people who need to work with descriptors.

A good example of how this can be leveraged is in the second commit, which refactors the wallet export functionality to use the new public APIs rather than using members on Wallet directly.

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature
  • I've updated CHANGELOG.md

@afilini afilini force-pushed the feature/more-getters branch 2 times, most recently from 3b13941 to 86eb0c5 Compare March 9, 2022 20:13
Comment thread src/wallet/mod.rs Outdated
@afilini afilini force-pushed the feature/more-getters branch from 86eb0c5 to 36dd65d Compare March 23, 2022 11:12
@afilini afilini changed the title Feature/more getters Expose more getters in Wallet and other useful descriptor traits Mar 23, 2022
@afilini afilini force-pushed the feature/more-getters branch 4 times, most recently from 80f7e0d to b5cb0f7 Compare March 23, 2022 14:11
Copy link
Copy Markdown
Contributor

@rajarshimaitra rajarshimaitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b5cb0f7

Code changes looks good to me. Tried the doc example and it works. Agree with the idea to expose more descriptor level functionality to users..

Below are few comments and questions

Comment thread src/wallet/mod.rs Outdated
Comment thread src/wallet/mod.rs Outdated
Comment thread src/wallet/export.rs
@afilini afilini force-pushed the feature/more-getters branch from b5cb0f7 to 519ebe3 Compare March 25, 2022 10:17
@afilini afilini force-pushed the feature/more-getters branch from 519ebe3 to 11c091e Compare March 25, 2022 10:19
@notmandatory
Copy link
Copy Markdown
Member

It looks like this one is ready for the next release, @rajarshimaitra or @LLFourn since you've both taken a look already would one of your like to approve it?

Copy link
Copy Markdown
Contributor

@rajarshimaitra rajarshimaitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReACK 11c091e

Just one nit.

Comment thread CHANGELOG.md Outdated
@notmandatory notmandatory force-pushed the feature/more-getters branch from 11c091e to cc4dbf0 Compare April 5, 2022 01:12
@notmandatory notmandatory force-pushed the feature/more-getters branch from cc4dbf0 to 1b90148 Compare April 5, 2022 01:57
Copy link
Copy Markdown
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 8cd0550

@notmandatory notmandatory merged commit 213f18f into bitcoindevkit:master Apr 5, 2022
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.

4 participants