remove unused SECP256K1_GE_CONST_INFINITY #1965

pull fanquake wants to merge 1 commits into bitcoin-core:master from fanquake:unused_code changing 1 files +0 −1
  1. fanquake commented at 1:53 AM on October 14, 2026: member

    No description provided.

  2. remove unused SECP256K1_GE_CONST_INFINITY 7b59e1fc42
  3. theStack added the label tweak/refactor on Oct 18, 2026
  4. theStack approved
  5. theStack commented at 10:49 PM on October 19, 2026: contributor

    ACK 7b59e1fc42520766bd44a613151f9f2909de2dd1

    This define was introduced more than ten years ago in #221 (443cd4b8ee676673079250510b5e809ff6319b0d) without ever being used. The alternative to removing could be to replace all _ge_set_infinity calls with an assignment to this constant, but I don't think that would be an improvement. We might consider removing _GEJ_CONST_INFINITY as well, since it's only used once in tests.

  6. theStack merged this on Oct 19, 2026
  7. theStack closed this on Oct 19, 2026

  8. fanquake deleted the branch on Oct 19, 2026
Contributors

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: 2026-10-20 04:15 UTC

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