diff options
author | fanquake <fanquake@gmail.com> | 2021-10-11 09:32:06 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-10-11 09:52:47 +0800 |
commit | 829d3e0e713571c245555d68eb52ead605ddee19 (patch) | |
tree | 1ce404df9eea52a25c76e4a3bc2821dfd1095f6a /src/validationinterface.cpp | |
parent | 01129ca37272408d11558f0f0db41c8913da6f38 (diff) | |
parent | 7fc487afd1249eee97651a0eec0630d7e421924f (diff) |
Merge bitcoin/bitcoin#23199: refactor: use `{Read,Write}BE32` helpers for BIP32 nChild (de)serialization
7fc487afd1249eee97651a0eec0630d7e421924f refactor: use `{Read,Write}BE32` helpers for BIP32 nChild (de)serialization (Sebastian Falbesoner)
Pull request description:
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).
ACKs for top commit:
sipa:
utACK 7fc487afd1249eee97651a0eec0630d7e421924f
laanwj:
Code review ACK 7fc487afd1249eee97651a0eec0630d7e421924f
Tree-SHA512: bbe3e411fb0429fa74c8a5705a91f4d6ed704dac9d6623ecb633563f22acf8e21f3189a16f1d0cf1aeedfc56a5b695df54ae51e9577e34eb6d7dc335de2da6de
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions