Commit Graph

1192 Commits

Author SHA1 Message Date
Andrew Poelstra 54ddbc74a4
Merge pull request #37 from rust-bitcoin/2018-07-public-key
remove `PublicKey::new()` and `PublicKey::is_valid()`
2018-07-25 13:19:10 +00:00
Andrew Poelstra 1ad4afcd03
Merge pull request #36 from rust-bitcoin/2018-07-minor-fixes
Minor fixes
2018-07-25 13:17:28 +00:00
Andrew Poelstra c3ec027925 remove `PublicKey::new()` and `PublicKey::is_valid()` 2018-07-24 21:24:19 +00:00
Andrew Poelstra bc773fbdce add comments for Sync/Send impl 2018-07-24 21:18:03 +00:00
Andrew Poelstra 2aeff4c62f fix typos 2018-07-24 21:16:52 +00:00
Andrew Poelstra 9b51ed3e2c
Merge pull request #35 from rust-bitcoin/2018-07-secp-build-flags
build.rs: change build flags to eliminate compiler warnings
2018-07-24 21:12:16 +00:00
Andrew Poelstra a9f479c1f8 build.rs: change build flags to eliminate compiler warnings 2018-07-24 17:31:29 +00:00
Andrew Poelstra 49ea989d85
Merge pull request #31 from romanz/master
Use latest version at docs.rs
2018-07-24 17:22:57 +00:00
Andrew Poelstra 09caa2d56c
Merge pull request #32 from romanz/update
Update secp256k1 dependency
2018-07-24 17:22:34 +00:00
Roman Zeyde 9a7cfd7072 Use latest version at docs.rs 2018-07-09 15:13:13 +03:00
Roman Zeyde 5442e710a8 Remove Schnorr support
It was removed from bitcoin-core/libsecp256k1 at e06e878fd7dcc99825025fa99aedb86bc7d5c29f
2018-07-09 15:10:38 +03:00
Roman Zeyde 0a9f7a35c7 Update libsecp to latest master, 1e6f1f5ad5e7f1e3ef79313ec02023902bf8175c 2018-07-09 15:10:38 +03:00
Andrew Poelstra b433e7bb1e
Merge pull request #27 from thomaseizinger/feature/ergonomic-apis
Improve API ergonomics
2018-06-08 18:02:24 +00:00
Thomas Eizinger 20222d50c9 Add docs to new public API 2018-06-08 08:48:28 +08:00
Thomas Eizinger f13cdfa8a4 Replace Result return type with actual value
This introduces the actual breaking API change.
2018-06-08 08:48:02 +08:00
Thomas Eizinger be7134c7f4 Cleanup obsolete code
Remove ContextFlag enum
Remove InvalidContext error-enum variant
Remove unused imports
2018-06-08 08:41:30 +08:00
Thomas Eizinger bb77741e47 Fix unit tests and benchmarks
The new API allows us to remove a bunch of tests which are now checked
by the compiler.
2018-06-08 08:38:06 +08:00
Thomas Eizinger f1a88259fb Introduce generic-based capability handling
Add type parameter to Secp256k1
Add PhantomData for C
Separate into structs and traits
Move constructors to own impl blocks
2018-06-06 12:58:29 +08:00
Andrew Poelstra 2862630616
Merge pull request #28 from rust-bitcoin/version-0.9.2
bump version to 0.9.2
2018-06-04 21:01:56 +00:00
Andrew Poelstra 2769d66370 bump version to 0.9.2 2018-06-04 19:37:50 +00:00
Andrew Poelstra 94807d9d29
Merge pull request #24 from TheBlueMatt/master
impl fuzztarget secp256k1_ecdsa_signature_serialize_der
2018-06-04 18:46:58 +00:00
Andrew Poelstra e3b08c2f5e
Merge pull request #26 from alekseysidorov/derive-standard-traits
Implement Ord for arrays
2018-06-01 19:21:10 +00:00
Aleksey Sidorov 113fe420b9 Add tests to detect regressions. 2018-05-31 13:05:43 +03:00
Aleksey Sidorov eb51c28df5 Bump crate version 2018-05-22 12:34:04 +03:00
Aleksey Sidorov b192157ab4 Implement Ord for arrays 2018-05-22 12:33:11 +03:00
Matt Corallo 01fb30502a
Merge pull request #25 from tamasblummer/ignore_intellij
ignore intellij files
2018-05-12 12:40:06 -04:00
Tamas Blummer da62cb6349 ignore intellij files 2018-05-11 16:06:59 +02:00
Matt Corallo 207ccdf803 impl fuzztarget secp256k1_ecdsa_signature_serialize_der 2018-04-25 13:11:15 -04:00
Andrew Poelstra 02d8a5180c
Merge pull request #23 from TheBlueMatt/master
Fix fuzztarget ECDH to be symmetric
2018-04-17 13:13:29 +00:00
Matt Corallo 730da80f0b Ensure fuzztarget pubkey deserialize-serialize roundtrips are same 2018-03-29 15:41:28 -04:00
Matt Corallo eee25f6265 Fix fuzztarget ECDH to be symmetric 2018-03-29 11:21:13 -04:00
Andrew Poelstra b45c3804e4
Merge pull request #22 from TheBlueMatt/master
Fix for older rustcs, removing serde/rustc-serialize and a missing include in fuzztarget
2018-03-21 22:09:17 +00:00
Matt Corallo 758380991a Bump major version 2018-03-21 18:05:04 -04:00
Matt Corallo ad72da771c Use travis' native rust support (and build fuzztarget on travis) 2018-03-21 18:05:04 -04:00
Matt Corallo e1878c4522 Remove all serde/rustc-serialize stuff 2018-03-21 18:01:33 -04:00
Matt Corallo 86af2dc0d2 Fix missing include on older rustcs 2018-03-21 18:01:33 -04:00
Andrew Poelstra 3b0fcbd05f
Merge pull request #21 from TheBlueMatt/master
Add fuzztarget feature that replaces crypto with memcpys
2018-03-20 17:00:40 +00:00
Matt Corallo e5e36c4854 Bump minor version for fuzztarget feature addition 2018-03-20 12:55:29 -04:00
Matt Corallo 5a7c88b9c7 Add fuzztarget feature that replaces crypto with memcpys 2018-03-20 11:58:59 -04:00
Matt Corallo 7b396112fd Correct ptr type in ffi 2018-03-19 15:49:16 -04:00
Matt Corallo 6a9f8ba375 Fix README links 2018-03-18 14:45:38 -04:00
Andrew Poelstra e08ddbc613 update github links in Cargo.toml, bump version number to republish 2018-03-05 19:42:39 +00:00
Andrew Poelstra c03d5ab819 Change documentation link, increment version so I can republish 2018-02-25 22:51:16 +00:00
Andrew Poelstra 6d4f64f901 fix potential unsafety bug for non-u8 types in macros
We don't have any non-u8 newtypes but better safe than sorry. See
https://github.com/apoelstra/rust-bitcoin/pull/45/
2018-02-14 16:25:45 +00:00
Andrew Poelstra f14e747431 expose key::{Secret, Public}Key in the crate root for ease of use 2018-01-17 15:38:11 +00:00
Andrew Poelstra 06137aefda
Merge pull request #20 from apoelstra/2combine
expose 2-key version of PublicKey::combine
2017-12-22 17:46:39 +00:00
Andrew Poelstra 2c5f45e165 expose 2-key version of PublicKey::combine 2017-12-21 01:04:07 +00:00
Andrew Poelstra 37f3107894
Merge pull request #19 from apoelstra/optional-deps
Make a bunch of dependencies optional, increase major version number
2017-12-19 23:22:04 +00:00
Andrew Poelstra fa7dc40254 rename gcc::Config to gcc::Build 2017-12-19 22:40:24 +00:00
Andrew Poelstra 5c54698bf9 make `serde` optional 2017-12-19 22:40:06 +00:00