Empact
commented at 8:37 PM on February 16, 2018:
member
A pubkey's length is specific to its type which is indicated by its header value. GetLen returns the header-indicated length, so this change ensures that a key matches its header-indicated length.
And replace some magic values with their constant equivalents.
Assert CPubKey::ValidLength to the pubkey's header-relevent size
Previously this was an inline test where the specificity was probably judged
overly specific. As a class method it makes sense to maintain consistency.
And replace some magic values with their constant equivalents.
Empact renamed this: Assert CPubKey::ValidLength to the pubkey's header-relevent size Assert CPubKey::ValidLength to the pubkey's header-relevant size on Feb 16, 2018
fanquake added the label Refactoring on Feb 17, 2018
jonasschnelli
commented at 11:15 AM on February 17, 2018:
contributor
utACKf8c249ab918b0b4d326b8c441816c64d046455bf
dcousens approved
dcousens
commented at 11:37 PM on February 18, 2018:
contributor
utACK
MarcoFalke
commented at 11:45 PM on February 18, 2018:
member
utACKf8c249a
practicalswift
commented at 4:34 PM on February 24, 2018:
contributor
utACKf8c249ab918b0b4d326b8c441816c64d046455bf
fanquake requested review from sipa on Mar 14, 2018
jnewbery
commented at 6:32 PM on April 4, 2018:
member
5 utACKs. Ready for merge?
promag
commented at 6:39 PM on April 4, 2018:
member
utACKf8c249a.
MarcoFalke merged this on Apr 4, 2018
MarcoFalke closed this on Apr 4, 2018
MarcoFalke referenced this in commit bfaed1ab2e on Apr 4, 2018
Empact deleted the branch on Apr 4, 2018
Empact referenced this in commit c682e70a8e on Apr 12, 2018
Empact referenced this in commit ef298ef86e on Apr 12, 2018
Empact referenced this in commit 078697b066 on Apr 12, 2018
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-05-20 06:55 UTC