Skip to content

Add Witness::new()#771

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
sanket1729:witness_improvements
Jan 11, 2022
Merged

Add Witness::new()#771
apoelstra merged 1 commit intorust-bitcoin:masterfrom
sanket1729:witness_improvements

Conversation

@sanket1729
Copy link
Copy Markdown
Member

Rebasing rust-miniscript on rust-bitcoin master. Expect more trivial PRs :)

I think it is more natural to write Wintess::new() followed by Witness::push()
then Witness::default(). In any case, there is no harm in having additional constructors.
@sanket1729 sanket1729 added the trivial Obvious, easy and quick to review (few lines or doc-only...) label Jan 11, 2022
@sanket1729 sanket1729 added this to the 0.28.0 milestone Jan 11, 2022
Copy link
Copy Markdown
Collaborator

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK 5d27c15

Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 5d27c15

@apoelstra apoelstra merged commit d9bc48f into rust-bitcoin:master Jan 11, 2022
erickcestari pushed a commit to erickcestari/rust-bitcoin that referenced this pull request Feb 4, 2026
…oot script and control block sizes

9483366 fix: include varints for Taproot script and control block sizes (Michael Mallan)

Pull request description:

  This is a simple fix for rust-bitcoin#771.


ACKs for top commit:
  apoelstra:
    ACK 9483366; successfully ran local tests; thanks!!


Tree-SHA512: 329406258b83fd0f6e68d1b6f7ea04d3d37b9dacc47809517c584086fb16f74bb4b5f262dd42fc2cc855c298503d681b294bcb9beb263362fa72cb682b4fded1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trivial Obvious, easy and quick to review (few lines or doc-only...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants