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

Make pub_keypool_oldest optional #216

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

mplsgrant
Copy link
Contributor

@mplsgrant mplsgrant commented Apr 3, 2022

  • Issue
    Currently, get_wallet_info() fails when used with descriptor wallets.

  • Cause
    Bitcoin Core's getwalletinfo command produces a result which sometimes
    includes a field called "keypoololdest".
    Currently, default wallets have the key but descriptor wallets do not.

  • Solution
    Making keypool_oldest optional allows this crate to produce the correct
    results when operating with descriptor wallets.

* Issue
Currently, get_wallet_info() fails when used with descriptor wallets.

* Cause
Bitcoin Core's getwalletinfo command produces a result which sometimes
includes a field called "keypoololdest".

Currently, default wallets have the key but descriptor wallets do not.

* Solution
Making keypool_oldest optional allows this create to produce the correct
results when operating with descriptor wallets.
@tcharding
Copy link
Member

tcharding commented May 18, 2022

tACK 7a665aa

I checked against a regtest node locally and can confirm this issue is as described. I also confirm that the PR solves the issue.

Copy link

@dunxen dunxen left a comment

Choose a reason for hiding this comment

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

ACK 7a665aa

This is currently blocking bwt-dev/bwt#98 when using 23.0+.

@stevenroose
Copy link
Collaborator

Thanks!

@stevenroose stevenroose merged commit 2e87541 into rust-bitcoin:master Aug 17, 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