Clarify pseudocode for lift_x() (jnewbery) #832

pull sipa wants to merge 22 commits into bitcoin:master from sipa:201908_computec changing 8 files +1035 −0
  1. sipa commented at 9:37 PM on August 21, 2019: member

    Rebase of #47

    • define c
    • return x as the x-co-ordinate, not the undefined r
    • explicitly state that the return object is a point (and not eg an array or tuple of ints)
  2. Add draft for Schnorr BIP
    Includes squashed contributions by GitHub users jonasnick,
    real-or-random, AustinWilliams, JustinTArthur, ysangkok,
    RCassatta, Sjors, tnakagawa, and guggero.
    aeffa07527
  3. Add taproot/tapscript bips drafts 6733024595
  4. Clarify what 'reduced' means in tests and use word 'message' instead of 'message hash' e9ea1710ef
  5. Merge pull request #30 from jonasnick/clarify-reduce
    Clarify what 'reduced' means in tests and use word 'message' instead of 'message hash'
    271e5db6d7
  6. remove duplicate warning
    Though perhaps, the emphasis is warranted given its importance. :-)
    d194620af9
  7. Merge pull request #40 from markblundeberg/patch-1
    remove duplicate warning
    27e61d61e6
  8. taproot_output_script: first returned byte should be OP_1 (0x51)
    If we look at
    
      def IsPayToTaproot(script):
          return len(script) == 35 and script[0] == OP_1 and script[1] == 33 and script[2] >= 0 and script[2] <= 1
    
    First byte is is checked for OP_1. OP_1 is 0x51
    
    But the example code in this BIP returns  
    
    `bytes([0x01, 0x21, output_pubkey[0] & 1]) + output_pubkey[1:]`
    
    First byte 0x01, but it should be 0x51
    0c49346c87
  9. Merge pull request #41 from dgpv/patch-1
    taproot_output_script: first returned byte should be OP_1 (0x51)
    b55fed9f86
  10. Clarify diagram 04b844540e
  11. Merge pull request #42 from jonasnick/clarify-diagram
    Clarify description of diagram
    084dee847d
  12. Fix point_from_bytes in bip-schnorr reference implementation 1faf705388
  13. Switch to 32 byte public keys in bip-schnorr ed01c1a776
  14. Use short public keys for taproot output keys 5793d3d735
  15. Clarify how to disable key path spending 9795b7081a
  16. Address Tim's comments 112d9c150a
  17. Update bip-schnorr.mediawiki
    Co-Authored-By: Tim Ruffing <tim@timruffing.de>
    30fdc87599
  18. Update bip-schnorr/test-vectors.py
    Co-Authored-By: Tim Ruffing <tim@timruffing.de>
    ae96228913
  19. Address sipa's feedback 0d28b3c37b
  20. Merge pull request #55 from jonasnick/bip-schnorr32
    Completely switch to 32-byte public keys in bip-schnorr/taproot/tapscript
    28dc94f36c
  21. Merge pull request #43 from jonasnick/script-path-only
    Clarify how to disable key path spending
    4fef743de7
  22. Define c in lift_x(x) ad91099b8f
  23. Return a point from lift_x() a462876b9a
  24. sipa commented at 9:38 PM on August 21, 2019: member

    Oops, wrong repo.

  25. sipa closed this on Aug 21, 2019


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:10 UTC

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