Skip to content

Conversation

sipa
Copy link
Member

@sipa sipa commented Jun 18, 2021

This addresses a few review comments from #21365 that were left at the time of merge (as well as some from #22166 applying to the commit it shared with #21365).

I do not think any are blockers for a 22.0 release.

@theStack
Copy link
Contributor

Concept ACK

@achow101
Copy link
Member

aCK 38844bc

@sipa sipa force-pushed the 202106_taproot_sign_followup branch from 38844bc to 9336670 Compare June 18, 2021 20:21
@sipa
Copy link
Member Author

sipa commented Jun 18, 2021

Improved the comment in CKey::SignSchnorr to elaborate on the 3 variants of tweaking (pointed out here).

@Sjors
Copy link
Member

Sjors commented Jun 21, 2021

utACK 9336670

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

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

ACK 9336670

Checked that the introduced comments match the logic, verified by review that the code-changes are refactor-only (+ an added sanity check in TaprootBuilder::GetSpendData), built locally, ran unit tests and the functional test feature_taproot.py.

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

ACK 9336670

@DrahtBot
Copy link
Contributor

DrahtBot commented Jun 29, 2021

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #22558 (psbt: Taproot fields for PSBT by achow101)
  • #22512 (Consolidate XOnlyPubKey lookup hack by achow101)
  • #22440 (Eliminate Signature Checker/Creator Ambiguity w/ LIFETIMEBOUND References by JeremyRubin)
  • #22364 (wallet: Make a tr() descriptor by default by achow101)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@sipa sipa force-pushed the 202106_taproot_sign_followup branch from 9336670 to f0fb5f8 Compare July 2, 2021 23:42
Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

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

It seems like after rebasing, the CKey::SignSchnorr comment improvement (previously done in commit 8b1d3db) is missing now?

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

ACK per git range-diff 7a49fdc 9336670 f0fb5f8 modulo the missing CKey::SignSchnorr() doxygen improvement as mentioned in #22275 (review)

@sipa sipa force-pushed the 202106_taproot_sign_followup branch from f0fb5f8 to 08f57a0 Compare August 20, 2021 18:29
@sipa
Copy link
Member Author

sipa commented Aug 20, 2021

@theStack @jonatack Restored the accidentally deleted comment improvement.

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

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

re-ACK 08f57a0 🌴

Checked via git range-diff 9336670d...08f57a00 that since my last ACK, the only changes were jonatack's suggestions w.r.t. to doxygen comments wording and code style (#22275 (comment), #22275 (comment)) plus the rebase on master.

Copy link
Contributor

@Zero-1729 Zero-1729 left a comment

Choose a reason for hiding this comment

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

crACK 08f57a0 🧉

LGTM, changes check out and taproot tests passed locally.

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

Code review ACK 08f57a0 per git range-diff e9d6eb1 9336670 08f57a0 followed by re-code review per commit to swap context back into memory and debug build/run unit tests + feature_taproot.py as a sanity check

@fanquake fanquake merged commit e826b22 into bitcoin:master Aug 23, 2021
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Aug 23, 2021
08f57a0 Assert that IsComplete() in GetSpendData() (Pieter Wuille)
d8f4b97 Remove default nHashTypeIn arguments to MutableTransactionSignatureCreator (Pieter Wuille)
c7048aa Simplify SignTransaction precomputation loop (Pieter Wuille)
addb9b5 Improve comments in taproot signing logic (Pieter Wuille)

Pull request description:

  This addresses a few review comments from bitcoin#21365 that were left at the time of merge (as well as some from bitcoin#22166 applying to the commit it shared with bitcoin#21365).

  I do not think any are blockers for a 22.0 release.

ACKs for top commit:
  theStack:
    re-ACK 08f57a0 🌴
  Zero-1729:
    crACK 08f57a0
  jonatack:
    Code review ACK 08f57a0 per `git range-diff e9d6eb1 9336670 08f57a0` followed by re-code review per commit to swap context back into memory and debug build/run unit tests + feature_taproot.py as a sanity check

Tree-SHA512: 968750109ba8d6faf3016035a38f81c6aefb724c632a3cab0bbf43cf31b9d187b6b0fddd8772768f57338df11eb07ab9c4c6dacdf3cf35b71f29699c67a301ea
Copy link

@uvhw uvhw left a comment

Choose a reason for hiding this comment

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

@bitcoin bitcoin locked and limited conversation to collaborators Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants