test/doc: Follow-up nits for #35269 #35504

pull kevkevinpal wants to merge 2 commits into bitcoin:master from kevkevinpal:musig-35269-followup-nits changing 2 files +5 −7
  1. kevkevinpal commented at 12:42 PM on June 10, 2026: contributor

    Summary:

    This is a follow-up to #35269

    • Rename different_key to different_field in assert_musig_signer_data (discussion)
    • Use 3-argument assert_equal for pubnonce/partial-sig length checks, matching the pattern already used for finalized["complete"] (discussion)
    • Fix MuSig2SessionID doc to say "signing pubkey" instead of "aggregate xonly key" (discussion)
  2. test: updated different_key to be different_field and also used a single assert_equal with 3 args instead of multiple assert_equals ddceb4e603
  3. DrahtBot commented at 12:42 PM on June 10, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35504.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    Stale ACK rkrux

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. fanquake commented at 8:54 AM on June 12, 2026: member

    @rkrux / @theStack want to take a look here?

  5. in src/musig.h:62 in be5bd5b269
      58 | @@ -59,7 +59,7 @@ class MuSig2SecNonce
      59 |  
      60 |  /**
      61 |   * Computes an arbitrary unique session ID to identify ongoing signing sessions.
      62 | - * It is the SHA256 of the aggregate xonly key, the participant pubkey, the sighash, and the pubnonce
      63 | + * It is the SHA256 of the signing pubkey, the participant pubkey, the sighash, and the pubnonce
    


    rkrux commented at 10:51 AM on June 12, 2026:
    - It is the SHA256 of the signing pubkey, the participant pubkey, the sighash, and the pubnonce
    + It is the SHA256 of the signing (aggregate) pubkey, the participant pubkey, the sighash, and the pubnonce
    

    Can retain and put the aggregate term in braces because even in case of keypath, the tap-tweaked version works over the aggregate. Also, to differentiate it more clearly from the participant pubkeys.

    https://github.com/bitcoin/bitcoin/blob/142e86a65c8a809911e37ead5ece63ad7854077e/src/script/sign.cpp#L333-L339


    kevkevinpal commented at 8:07 PM on June 12, 2026:

    Thanks for the review!

    That makes sense, I pushed a fix in b337102

  6. rkrux approved
  7. rkrux commented at 10:52 AM on June 12, 2026: contributor

    crACK be5bd5b269b9660d229b6ba660864e04ef88615a

    Shared a suggestion.

  8. doc: use signing pubkey instead of aggregate xonly key b3371029dc
  9. kevkevinpal force-pushed on Jun 12, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-13 21:30 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me