rust-secp256k1-unsafe-fast/src
Andrew Poelstra f8bbc89df6 [API BREAK] expose ability to create contexts without verify or signing caps
There are a lot of cases in rust-bitcoin where we need a `Secp256k1`
which doesn't need any signing or verification capabilities, only
checking the validity of various objects. We can get away with a bare
context (i.e. no precomputation) which can be cheaply created on demand,
avoiding the need to pass around references to Secp256k1 objects everywhere.

API break because the following functions can now fail (given an insufficiently
capable context) and therefore now return a Result:

    Secp256k1::generate_keypair
    Secp256k1::sign
    Secp256k1::sign_compact
2015-04-13 22:15:52 -05:00
..
constants.rs [minor API BREAK] Add unit tests to cover all error cases 2015-04-12 10:51:15 -05:00
ffi.rs Impl `Send` and `Sync` for secp256k1 contexts 2015-04-13 20:41:24 -05:00
key.rs [API BREAK] expose ability to create contexts without verify or signing caps 2015-04-13 22:15:52 -05:00
lib.rs [API BREAK] expose ability to create contexts without verify or signing caps 2015-04-13 22:15:52 -05:00
macros.rs Change inline assertions to debug_asserts 2015-04-11 13:07:43 -05:00