Commit Graph

459 Commits

Author SHA1 Message Date
Andrew Poelstra 4e69dccc2b
Merge pull request #153 from elichai/2019-08-rand-std-feature
Add a rand-std feature
2019-08-22 16:22:25 +00:00
Elichai Turkel b59f4ff589
Add a rand-std feature 2019-08-21 20:16:11 -04:00
Andrew Poelstra eddfe03dbc
Merge pull request #151 from elichai/2019-08-Cptr-null
Explicit checks for ZST + null fallbacks
2019-08-21 23:03:30 +00:00
Elichai Turkel d7461e4cdc
Add zst tests and some other parsing tests 2019-08-21 18:06:02 -04:00
Elichai Turkel ddb8e4fdf2
Explicit checks for empty slices 2019-08-21 13:09:36 -04:00
Elichai Turkel b7e20c5b12
Changed all as_*ptr() to the safer CPtr trait 2019-08-21 13:09:36 -04:00
Elichai Turkel 66ab70f991
Added a C Ptr trait that returns a null pointer for ZSTs 2019-08-21 13:09:20 -04:00
Tim Ruffing 5ea300a4e0
Merge pull request #143 from rust-bitcoin/remove-callback-todos
Remove TODOs for secp256k1 callbacks
2019-08-21 16:11:52 +02:00
Tim Ruffing 255d1ddd60 Remove TODOs for ffi functions for setting secp256k1 callbacks
We would not want to use these functions internally because we rely on
USE_EXTERNAL_DEFAULT_CALLBACKS to provide the callbacks at link time,
see f7a4a7ef57. Moreover, we would not
want to export the functions either.
2019-08-20 14:47:33 +02:00
Andrew Poelstra a055c3fdc0
Merge pull request #146 from elichai/2018-08-unintialized
Remove all usage of `mem::uninitialized()`
2019-08-19 17:29:53 +00:00
Elichai Turkel f75772b385
Bump version to 0.15.3 2019-08-16 14:15:31 -04:00
Elichai Turkel 8e701b75b2
Replacing usage of the unsafe `blank` function to the `new` function
Signed-off-by: Elichai Turkel <elichai.turkel@gmail.com>
2019-08-16 14:15:31 -04:00
Elichai Turkel 389e1e2449
Removing usage of `mem::uninitialized()` and deprecating the `blank()` functions
Signed-off-by: Elichai Turkel <elichai.turkel@gmail.com>
2019-08-16 14:15:27 -04:00
Tim Ruffing dfe7ee54f9
Merge pull request #148 from elichai/2019-08-travis
Optimizing travis build time and fixing benchmarks
2019-08-13 17:50:24 +02:00
Elichai Turkel 16fc4ee3fc Fixed the counter Rng 2019-08-13 10:41:39 -04:00
Elichai Turkel 6e58c8b623 Trying to optimize travis speeds
Cache cargo-web only
2019-08-13 10:41:29 -04:00
Andrew Poelstra 288cc1e4ef
Merge pull request #140 from laanwj/2019_08_lowmemory
build.rs: Add feature 'lowmemory' to reduce memory usage
2019-08-12 17:48:45 +00:00
Wladimir J. van der Laan 62e5178638 Bump version to 0.15.2
And fill in release date for 0.15.2.
2019-08-12 19:21:28 +02:00
Wladimir J. van der Laan 62b9f06104 build.rs: Add feature 'lowmemory' to reduce memory usage
Currently, this only set `ECMULT_WINDOW_SIZE` to 4 instead of 15.

Fixes #139.

fixup
2019-08-12 19:21:22 +02:00
Andrew Poelstra b005089db4
Merge pull request #137 from practicalswift/typos
Fix typos
2019-08-05 15:14:59 +00:00
practicalswift db244a19c6 Fix typos 2019-08-05 13:39:23 +00:00
Jonas Nick 6f2cc95e6c
Merge pull request #136 from elichai/2019-08-rand-std
Propagating std to rand dependency
2019-08-02 11:22:02 +00:00
Elichai Turkel d820988d8b
Bump version to 0.15.1 2019-08-01 13:00:22 -04:00
Elichai Turkel 9fd088c21d
Removed the fuzztarget feature from the docs 2019-08-01 13:00:04 -04:00
Elichai Turkel e081a98005
Propagating std to rand dependency 2019-08-01 12:46:16 -04:00
Andrew Poelstra de21642907
Merge pull request #135 from jonasnick/bump-0.15
bump version to 0.15.0
2019-07-26 14:56:01 +00:00
Jonas Nick 58e820014e bump version to 0.15.0 2019-07-25 13:06:07 +00:00
Jonas Nick cf6f95d105
Merge pull request #131 from elichai/cc
Relax cc requirements more
2019-07-25 12:55:48 +00:00
Andrew Poelstra 789730e96e
Merge pull request #133 from stevenroose/hex-serde-pubkey
Implement hex human-readable serde for PublicKey
2019-07-24 20:22:28 +00:00
Steven Roose 0f25474805
Implement hex human-readable serde for PublicKey 2019-07-23 17:50:56 +02:00
Steven Roose ccac3ead25
Implement fmt::LowerHex for SecretKey and PublicKey 2019-07-23 17:50:54 +02:00
Tim Ruffing 84345f2923
Merge pull request #129 from jonasnick/add-links
Add links manifest key to prevent cross-version linkage
2019-07-18 12:08:35 +02:00
Elichai Turkel c13183bc53
Relax cc requirements more 2019-07-16 16:46:28 -04:00
Andrew Poelstra b732f240e4
Merge pull request #130 from elichai/symbols
Implemented context create/destroy in rust
2019-07-14 21:26:55 +00:00
Elichai Turkel a4f6b2786a Bump version to 0.14.1 2019-07-14 16:35:51 -04:00
Elichai Turkel 7356705b61 Added a test for create/destroy functions 2019-07-14 16:35:51 -04:00
Elichai Turkel 75784ec26f Implemented context create/destroy in rust 2019-07-14 16:35:47 -04:00
Jonas Nick d62c1371ef Add links manifest key to prevent cross-version linkage 2019-07-12 14:31:11 +00:00
Andrew Poelstra 2a32f8c516
Merge pull request #127 from rust-bitcoin/2019-07-0.14
bump version to 0.14.0
2019-07-08 15:04:04 +00:00
Andrew Poelstra a92a63081b bump version to 0.14.0 2019-07-08 13:57:52 +00:00
Andrew Poelstra e1aac5e008
Merge pull request #125 from elichai/manual-memory
Implement pre allocation context creation
2019-07-05 01:58:59 +00:00
Elichai Turkel 96ca40faed
Exposed generic functions to create the Context 2019-07-04 21:36:32 -04:00
Elichai Turkel 49f0cc1c46
Updated the fuzzing dummy functions 2019-07-04 19:13:26 -04:00
Elichai Turkel 811e8d24e9
Removed context_create/destroy/clone and scratch_create/destroy/clone functions. 2019-07-04 19:09:04 -04:00
Elichai Turkel 9186f0223a
Added preallocation size functions and added a test for the preallocation 2019-07-04 18:40:08 -04:00
Elichai Turkel 1c0ae7d4ba
Added structs and functions for manual allocation 2019-07-04 18:40:07 -04:00
Elichai Turkel b4b52a9858
Moved the context specific traits/enums into a separate file with `std` gate 2019-07-04 18:40:07 -04:00
Elichai Turkel 5f93474512
Added the preallocated FFI 2019-07-04 18:40:04 -04:00
Andrew Poelstra d710e5885b
Merge pull request #115 from elichai/external-callbacks
Updating secp256k1 and linking with external callbacks
2019-07-04 18:49:01 +00:00
Elichai Turkel 68c5c5edbf
implemented strlen to deref the callback message 2019-07-03 17:50:16 -04:00