Prepare Plan::update_psbt_input for migration to rust-psbt#974
Conversation
Nope, go for it.
The context appears to be a few lines below where we do a loop Probably fine to delete the TODO. It dates to #592, like much of the "weird" stuff in this module, and likely wasn't reviewed since the new module was too big. |
5c6ed14 to
eeeeda9
Compare
|
Thanks for clarifying _@apoelstra , I've removed the TODO as the functionality seems covered and the possible explanation is related to a performance improvement. I've publicly exposed the As removing the I've copied the code from here into |
|
I've removed the changes that weren't needed by |
9e1ced6 chore: remove outdated TODO (nymius) 5248db1 feat: expose `Plan.descriptor` field (nymius) Pull request description: Getting the changes from #974 into `rust-miniscript@13.x` is easier and faster than waiting for the next major release. This is a back port of #974. ACKs for top commit: apoelstra: ACK 9e1ced6; successfully ran local tests Tree-SHA512: 9885e7bc1ad5cd959ed2fabf0b2534d2de0da195627c7b7407b99ffd5e9a6151c87ea65cbefb19e3d40c8f89abfb3051ada55354dd70b2802305e55d00a1f8db
Plan::update_psbt_input to migration to rust-psbtPlan::update_psbt_input for migration to rust-psbt
…@13.x` 9e1ced6 chore: remove outdated TODO (nymius) 5248db1 feat: expose `Plan.descriptor` field (nymius) Pull request description: Getting the changes from rust-bitcoin#974 into `rust-miniscript@13.x` is easier and faster than waiting for the next major release. This is a back port of rust-bitcoin#974. ACKs for top commit: apoelstra: ACK 9e1ced6; successfully ran local tests Tree-SHA512: 9885e7bc1ad5cd959ed2fabf0b2534d2de0da195627c7b7407b99ffd5e9a6151c87ea65cbefb19e3d40c8f89abfb3051ada55354dd70b2802305e55d00a1f8db
This is the simplest way I found to use the public
PlanAPI in thePlan::update_psbt_inputmethod so It can later be migrated to therust-psbtproject.Notes to the reviewers:
descriptorandtemplatefields directly?