test: simplify uint256 (de)serialization routines #27516

pull theStack wants to merge 1 commits into bitcoin:master from theStack:test-simplify_uint256_serialization_routines changing 1 files +7 −15
  1. theStack commented at 1:01 AM on April 23, 2023: contributor

    These routines look fancy, but do nothing more than converting between byte objects of length 32 to/from integers in little endian byte order and can be replaced by simple one-liners, using the int.{from,to}_bytes methods (available since Python 3.2).

  2. test: simplify uint256 (de)serialization routines
    These routines look fancy, but do nothing more than converting between
    byte objects of length 32 to/from integers in little endian byte order
    and can be replaced by simple one-liners, using the int.{from,to}_bytes
    methods (available since Python 3.2).
    96bf0bca4a
  3. DrahtBot commented at 1:01 AM on April 23, 2023: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK MarcoFalke, brunoerg

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  4. DrahtBot added the label Tests on Apr 23, 2023
  5. maflcko commented at 8:59 AM on April 24, 2023: member

    lgtm ACK 96bf0bca4a0e3aa0b7c07d8c225861e72f970fa9

  6. brunoerg approved
  7. brunoerg commented at 11:56 AM on April 24, 2023: contributor

    crACK 96bf0bca4a0e3aa0b7c07d8c225861e72f970fa9

  8. fanquake merged this on Apr 25, 2023
  9. fanquake closed this on Apr 25, 2023

  10. sidhujag referenced this in commit be84e4b355 on Apr 28, 2023
  11. theStack deleted the branch on Apr 30, 2023
  12. bitcoin locked this on Apr 29, 2024

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-04-14 21:13 UTC

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