Commit Graph

773 Commits

Author SHA1 Message Date
Andrew Poelstra 4298438aaa bump version to 0.11.2 2018-09-11 18:06:30 +00:00
Andrew Poelstra d1e449a14b attempt to fix docs.rs docs 2018-09-04 14:28:15 +00:00
Andrew Poelstra 0fe06e9b64
Merge pull request #64 from mpapierski/63-big-endian
Use correct flag on big endian machines.
2018-08-31 16:07:50 +00:00
Michał Papierski 3b86de9b0f Use correct flag on big endian machines.
This will fix `tests::sign` test case on mips/mips64. Verified with
`cross`[1] tool.

    cross test --target mips-unknown-linux-gnu
    cross test --target mips64el-unknown-linux-gnuabi64

Unfortunately this fix doesn't make `tests::test_debug_output` test case
pass, but this is about debug output so its not as critical as this
patch. See #63 for a discussion.

[1]: https://github.com/japaric/rust-cross
2018-08-31 10:29:00 +02:00
Andrew Poelstra 2f8855f8fd
Merge pull request #56 from rust-bitcoin/2018-08-return-pubkey-combine
Revert "remove PublicKey::combine"
2018-08-22 21:16:33 +00:00
Andrew Poelstra 6f025a36a5 bump version to 0.11.1 2018-08-22 20:43:20 +00:00
Andrew Poelstra a810880c54 restore missing `mem` import in key.rs 2018-08-22 20:43:20 +00:00
Andrew Poelstra 0d41c23c21 Revert "remove PublicKey::combine"
This reverts commit 17450e91fd.
2018-08-22 20:18:25 +00:00
Andrew Poelstra 15655e543d
Merge pull request #55 from rust-bitcoin/2018-08-0.11
Update version to 0.11
2018-08-22 19:01:38 +00:00
Andrew Poelstra ce91fa0f38 bump version to 0.11 2018-08-22 16:40:05 +00:00
Andrew Poelstra c773dfbc8d remove unused import that was causing warning 2018-08-22 16:40:05 +00:00
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