Create symbol to get the version of this library #909

issue rickmark openend this issue on March 24, 2021
  1. rickmark commented at 8:59 am on March 24, 2021: none

    As the library approaches 1.0 we should provide a symbol to ask for the version of libsecp256k1

    An example such as what is provided by OpenSSL - https://www.openssl.org/docs/man1.1.0/man3/OPENSSL_VERSION_NUMBER.html

    Before the 1.0 release candidate series this can use a value of 0.8 or 0.9 to reflect the non-stable API surface

  2. rickmark cross-referenced this on Mar 24, 2021 from issue Create a release by shazow
  3. rickmark commented at 7:54 am on March 26, 2021: none
    Created #914 for this
  4. real-or-random commented at 2:41 pm on May 9, 2023: contributor

    What exactly would you need this for? Some more rationale will help. I guess OpenSSL does that for a reason, but our project is much simpler.

    I don’t think there’s a strong reason not to do this, but maybe what you actually want is some kind of ABI version? Or an assert_version function instead of a get_version function?

  5. real-or-random added the label feature on May 9, 2023

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 03:15 UTC

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