aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorLőrinc <lorinc.pap@gmail.com>2024-03-09 13:32:38 +0100
committerjosibake <josibake@protonmail.com>2024-05-21 09:14:55 +0200
commit7f3f6c6dc80247e6dfb0d406dc53bc8198f029fd (patch)
tree580bff1b5c69c7f96cf03a536e40e55fbdf24248 /src/Makefile.test.include
parent5676aec1e1a6d2c6fd3099e120e263a0a7def089 (diff)
downloadbitcoin-7f3f6c6dc80247e6dfb0d406dc53bc8198f029fd.tar.xz
refactor: replace hardcoded numbers
Replace ExpandHRP with a PreparePolynomialCoefficients function. Instead of using a hardcoded value for the size of the array (90 in this case) and a hardcoded value for the checksum, use the actual values vector and define checksum size as a constexpr. Use the new CHECKSUM_SIZE throughout instead 6. Co-authored-by: Lőrinc <pap.lorinc@gmail.com>
Diffstat (limited to 'src/Makefile.test.include')
0 files changed, 0 insertions, 0 deletions