Commit Graph

1212 Commits

Author SHA1 Message Date
Andrew Poelstra aa050325da
Merge pull request #42 from rust-bitcoin/2018-07-64bit
switch to 64-bit compilation; add flag for 32-bit
2018-08-22 16:38:08 +00:00
Andrew Poelstra 5cd4533375 add warning if uint128_t detection fails 2018-08-21 18:41:42 +00:00
Andrew Poelstra 5a27abab52 switch to 64-bit compilation; add flag for 32-bit 2018-08-21 18:38:52 +00:00
Andrew Poelstra 2c18a16858
Merge pull request #50 from rust-bitcoin/2018-08-no-combine
remove PublicKey::combine
2018-08-21 18:36:27 +00:00
Andrew Poelstra 3563c5f305
Merge pull request #46 from rust-bitcoin/2018-08-context-debug
add Debug impl to context object
2018-08-20 18:34:13 +00:00
Andrew Poelstra 1f73a784cb
Merge pull request #52 from rust-bitcoin/2018-08-display-keys
add Display impl for the key types which outputs their hex representation
2018-08-20 18:32:53 +00:00
Andrew Poelstra 7a5617d01d
Merge pull request #44 from rust-bitcoin/2018-07-docs
improve documentation
2018-08-20 18:12:42 +00:00
Andrew Poelstra 93d8249028 improve documentation 2018-08-20 17:56:46 +00:00
Andrew Poelstra 7d2474b10a add Display impl for the key types which outputs their hex representation
Since making PublicKey::serialize return a fixed-size array, this no longer
requires any allocation, so there's no reason not to have it.
2018-08-15 20:40:15 +00:00
Andrew Poelstra 17450e91fd remove PublicKey::combine 2018-08-15 16:29:23 +00:00
Andrew Poelstra 0fe17f57f1
Merge pull request #48 from rex4539/typos
Fix typo
2018-08-15 14:57:06 +00:00
Dimitris Apostolou 5c6dcf6b5e
Fix typo 2018-08-15 11:03:22 +03:00
Andrew Poelstra 83c7b6d9b7 add Debug impl to context object 2018-08-12 15:23:05 +00:00
Andrew Poelstra fa670a0c2a
Merge pull request #41 from rust-bitcoin/2018-07-updated-deps
Update a couple dependencies
2018-07-31 16:00:38 +00:00
Andrew Poelstra d4149be931 update `rand` to 0.4 2018-07-30 03:03:20 +00:00
Andrew Poelstra 6f27422c4c update gcc 0.3 to cc 1.0 2018-07-30 02:53:35 +00:00
Andrew Poelstra f6526c5014
Merge pull request #39 from rust-bitcoin/2018-07-0.10.0
bump version to 0.10.0; introduce CHANGELOG.md
2018-07-26 20:25:41 +00:00
Andrew Poelstra 9fe5150480 bump version to 0.10.0; introduce CHANGELOG.md 2018-07-25 23:49:48 +00:00
Andrew Poelstra ad080da1d8
Merge pull request #38 from rust-bitcoin/2018-08-serde
add feature-gated serde 1.0 support for Signature, SecretKey, PublicKey
2018-07-25 23:49:27 +00:00
Andrew Poelstra 2478930ec1 add feature-gated serde 1.0 support for Signature, SecretKey, PublicKey 2018-07-25 14:44:51 +00:00
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