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

Get ordered list of recovery paths #547

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

VeronicaTee
Copy link

@VeronicaTee VeronicaTee commented May 29, 2023

The new function gets the ordered list, as discussed as part of #517

Copy link
Member

@darosior darosior left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. I think it's the right first step toward #517.

Regarding the code. As i mentioned in #517 (comment) i think we should convey somehow that the vector will never be empty, if possible.
This new interface should also be tested. For instance with a unit test against a descriptor that comports multiple timelocks.

Regarding the PR, please squash your commits.

@VeronicaTee
Copy link
Author

Regarding conveying somehow that the vector will never be empty, I can look into a way of ensuring that.

For the new interface, this will be effected and tested as suggested, and added in another PR, once I get the go-ahead to implement this function for it.

Copy link
Member

@darosior darosior left a comment

Choose a reason for hiding this comment

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

For the new interface, this will be effected and tested as suggested, and added in another PR, once I get the go-ahead to implement this function for it.

What go-ahead? I agree it's better to do the GUI integration in another PR but this one introduces a new API that needs to be tested.

.cirrus.yml Outdated
tar -xzf bitcoin-24.1-x86_64-linux-gnu.tar.gz
export BITCOIND_PATH=bitcoin-24.1/bin/bitcoind
curl -O https://bitcoincore.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
echo "33930d432593e49d58a9bff4c30078823e9af5d98594d2935862788ce8a20aec bitcoin-25.0-x86_64-linux-gnu.tar.gz" | sha256sum -c
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated change? You must have messed up the rebase. :)

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.

2 participants