Skip to content

Implement taproot specific script helpers#604

Closed
jrawsthorne wants to merge 2 commits intorust-bitcoin:masterfrom
jrawsthorne:taproot_script
Closed

Implement taproot specific script helpers#604
jrawsthorne wants to merge 2 commits intorust-bitcoin:masterfrom
jrawsthorne:taproot_script

Conversation

@jrawsthorne
Copy link
Copy Markdown
Contributor

This change implements the script parts of #503. Will rebase with changes from #563 once it's merged

@sgeisler
Copy link
Copy Markdown
Contributor

There is also a dependency on #585 imo.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not sure why you are calling allocating to_vec() function just to take the reference after.

Also will need to get rid out of u5-caused unwrap, but that requires #563 merge as you said, with its WitnessVersion type

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right. I've removed that and added a commit to do the same for new_v0_wpkh() and new_v0_wsh()

Comment on lines 408 to 409
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not related to the PR, but just a thought that we probably need to refactor all these opcode-based version guessing via WitnessVersion API

@dr-orlovsky dr-orlovsky added this to the 0.28.0 milestone Sep 25, 2021
@dr-orlovsky
Copy link
Copy Markdown
Collaborator

Am I right that this PR was superseded by #585?

@apoelstra
Copy link
Copy Markdown
Member

ping @jrawsthorne

@dr-orlovsky dr-orlovsky mentioned this pull request Jan 6, 2022
20 tasks
@sanket1729
Copy link
Copy Markdown
Member

This is now done as a part of #696.

@sanket1729 sanket1729 closed this Jan 11, 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.

5 participants