refactor: use `{Read,Write}BE32` helpers for BIP32 nChild (de)serialization #23199

pull theStack wants to merge 1 commits into bitcoin:master from theStack:202110-refactor-use_be32_helpers_for_bip32_nchild changing 3 files +5 −10
  1. theStack commented at 10:29 PM on October 5, 2021: member

    This small refactoring PR replaces manual bit-fiddling (de)serialization of the BIP32 child number (nChild) by the helpers ReadBE32/WriteBE32. Note that those were first introduced in #4100, almost one year after the BIP32 derivation implementation has been merged (#2829, eb2c9990).

  2. refactor: use `{Read,Write}BE32` helpers for BIP32 nChild (de)serialization 7fc487afd1
  3. fanquake added the label Refactoring on Oct 5, 2021
  4. sipa commented at 10:32 PM on October 5, 2021: member

    utACK 7fc487afd1249eee97651a0eec0630d7e421924f

  5. practicalswift commented at 9:21 AM on October 6, 2021: contributor

    Concept ACK

  6. laanwj commented at 12:17 PM on October 7, 2021: member

    Code review ACK 7fc487afd1249eee97651a0eec0630d7e421924f Checked that all changed sequences match big-endian behavior.

  7. fanquake merged this on Oct 11, 2021
  8. fanquake closed this on Oct 11, 2021

  9. theStack deleted the branch on Oct 11, 2021
  10. sidhujag referenced this in commit 99b48c9473 on Oct 11, 2021
  11. PastaPastaPasta referenced this in commit c921d51d51 on Mar 13, 2022
  12. DrahtBot locked this on Oct 30, 2022

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

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