[API BREAK] Explicit flag handling (rebase + modification of #324) #339
pull sipa wants to merge 2 commits into bitcoin-core:master from sipa:flag-safety changing 6 files +44 −28-
sipa commented at 3:44 pm on October 21, 2015: contributor
-
sipa force-pushed on Oct 21, 2015
-
sipa commented at 3:48 pm on October 21, 2015: contributor
This is an update of #324 with the following changes:
- Keep the lower 8 bits of flags to indicate their type
- Revert the change to pass-through the compression flag to the eckey module (which was a layer violation, the flag was defined at a higher level but used on a lower one).
-
sipa commented at 3:49 pm on October 21, 2015: contributorComments, @rustyrussell @luke-jr ?
-
sipa force-pushed on Oct 21, 2015
-
sipa renamed this:
Explicit flag handling (rebase + modification of #324)
[API BREAK] Explicit flag handling (rebase + modification of #324)
on Oct 21, 2015 -
luke-jr commented at 5:24 am on October 22, 2015: member
I do not understand the reason for pulling flags out of src/eckey_impl.h.
Besides that, fully-reviewed-and-seems-good ACK.
-
sipa commented at 11:24 am on October 22, 2015: contributorLuke: the lower-level eckey code should not depend on the top-level wrapper whose interface is exposed.
-
sipa force-pushed on Oct 22, 2015
-
sipa commented at 10:37 pm on October 22, 2015: contributorRebased, and renamed unsigned int to int for bool flag.
-
Make flags more explicit, add runtime checks.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-
Overhaul flags handling 9234391ed4
-
sipa force-pushed on Oct 24, 2015
-
sipa merged this on Oct 25, 2015
-
sipa closed this on Oct 25, 2015
-
sipa referenced this in commit 73f64ff8f3 on Oct 25, 2015
-
sipa cross-referenced this on Oct 25, 2015 from issue [API BREAK] Make flags more explicit, add runtime checks. by rustyrussell
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-30 13:15 UTC
This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-30 13:15 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me