Sebastian Geisler
4c29fc0e8d
Add feature gated hex decode benchmark
2019-01-07 17:49:55 -08:00
Tamas Blummer
bc5f78c170
upgrade byteorder to 1.2
2018-12-08 14:53:23 -08:00
Andrew Poelstra
05a00e31e1
update version to 0.15.1
2018-11-08 15:05:13 +00:00
Andrew Poelstra
1a3d3a3eef
bump version to 0.15
2018-11-03 15:42:20 +00:00
Andrew Poelstra
625eac636b
bump version to 0.14.2
2018-09-11 18:04:02 +00:00
Andrew Poelstra
b7c84a6571
increase version to 0.14.1
2018-08-28 17:15:37 +00:00
Andrew Poelstra
6d7a5f02c1
pin hex to 0.3.2 rather than a git commit
2018-08-22 22:11:46 +00:00
Andrew Poelstra
598afd94ca
bump version to 0.14.0
2018-08-22 21:18:39 +00:00
Andrew Poelstra
41ebf5468c
update rust-secp dependency to 0.11
2018-08-22 19:37:32 +00:00
Jean Pierre Dudey
1b4aba1d80
Update serde to 1.0 and strason to 0.4
...
The `serde_struct_impl!` macro has been modified to be compatible
with the serde 1.0 crate, we use this macro and not the `serde_derive`
crate because the latter doesn't support Rust 1.14.0 which is shipped
on Debian stable and we should remain compatible with it.
Two new features were added:
- "serde": enables serialization/deserialization for common types, it pulls
the serde 1.0 dependency.
- "serde-decimal": enables serialization/deserialization for `UDecimal`/`Decimal`,
this pulls the strason 0.4 depdendency and the serde 1.0 dependency.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-08-20 13:42:34 -04:00
Andrew Poelstra
94f3d4b0f9
update to secp256k1 0.10.0
2018-08-20 15:28:43 +00:00
Jean Pierre Dudey
f918311b8a
Remove unused "bitcoinconsenus" feature.
...
Also I've updated the feature name on the README.md, and fixed a typo in
src/blockdata/script.rs
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-08-12 16:06:06 -04:00
Savil Srivastava
933dcaeb82
[code hygiene] remove deprecated rustc-serialize
...
Addresses #96 .
Turns out it was being used for hex encoding/decoding, so replaced that with the `hex` crate.
i chose to import the `decode` method as:
```
use hex::decode as hex_decode
```
so that it is clear to the reader what is being decoded when it is called. "decode" is such a generic sounding function name that it would get confusing otherwise.
2018-07-26 09:49:15 -07:00
Sebastian Geisler
00cca03edd
use bitcoin-bech32 v0.8.0 and adapt internal API usage
2018-07-25 21:09:46 +02:00
Andrew Poelstra
5c753fb517
Bump version to 0.13.2
2018-06-16 22:55:27 +00:00
Andrew Poelstra
2db9aeab2d
bump version to 0.13.1
2018-06-04 19:29:59 +00:00
Andrew Poelstra
fb96ef0d0b
bump version to 0.13
2018-04-16 23:22:47 +00:00
Roman Zeyde
64bc5ede0e
Update documentation URL in Cargo.toml
2018-04-11 22:13:43 +03:00
Andrew Poelstra
85728d16a1
bump to 0.12
2018-03-23 15:27:56 +00:00
Matt Corallo
74cd941c83
Bump secp256k1 dep for older rustc
2018-03-21 18:44:10 -04:00
Matt Corallo
6826d8f35c
Stub out Sha2 calls when fuzzing to mask all but the first byte
2018-03-21 18:44:10 -04:00
Andrew Poelstra
22343fb023
Bump cargo version and travis to compile with 1.14
2018-03-21 20:38:15 +00:00
Andrew Poelstra
65d8df08b8
address: implement Bech32 support
2018-03-13 14:48:01 +00:00
Tamas Blummer
755fb454eb
integration with bitcoinconsenus
2018-03-12 17:17:16 +01:00
Andrew Poelstra
21f2baf58e
remove script interpreter
2018-03-09 20:30:11 +00:00
Andrew Poelstra
3a5773a698
update docs and github links for transfer to rust-bitcoin org
2018-03-05 19:44:44 +00:00
Andrew Poelstra
740d9e6fde
bump version number to 0.11
2018-02-20 16:19:33 +00:00
Andrew Poelstra
066c49305f
update secp256k1 to latest version with minimized dependencies
2018-02-20 16:19:29 +00:00
Andrew Poelstra
23a2c6bc9a
remove `jsonrpc` dependency by copying the macro we need into the source
2018-02-18 15:28:39 +00:00
Andrew Poelstra
e034ae6065
bump version to 0.10.9
2018-02-18 15:04:22 +00:00
Andrew Poelstra
d8babeddba
Bump version
2018-02-16 22:16:59 +00:00
Andrew Poelstra
f233fcac61
util: add `bip143` module to create BIP143 signature hashes
2018-01-15 17:54:32 +00:00
Andrew Poelstra
b3644b7b6d
add constants for OP_CLTV and OP_CSV
2017-12-21 01:10:00 +00:00
Andrew Poelstra
b7ec971541
update README to reflect 0.10, bump version to republish
2017-12-13 21:20:16 +00:00
Andrew Poelstra
406160a386
transaction: add txid() function that does the right thing for segwit/nonsegwit
...
With Segwit transactions `bitcoin_hash()` is no longer sufficient to get a txid.
2017-12-09 19:52:09 +00:00
Andrew Poelstra
c691d0e382
util: add Sha256dEncoder to allow streaming data into a hash
...
This is needed to for a sane BIP143 implementation. Should be exactly equivalent to
serializing data into a vector then hashing that vector for all types.
2017-12-06 16:50:47 +00:00
Andrew Poelstra
e5f109221e
script: add `to_p2wsh()` and `is_p2swsh()` functions to allow easy segwit output computation
2017-12-06 15:39:37 +00:00
Andrew Poelstra
46439710d9
script: add `is_p2pkh()` function
2017-10-06 19:15:30 +00:00
Andrew Poelstra
8f7bd858fb
update byteorder to 1.1 from 0.3
2017-07-28 16:19:44 +00:00
Aleksei Sidorov
2be08ccbae
Bump version
2017-07-28 17:36:43 +03:00
Aleksei Sidorov
bcd0d0480d
Fix vulnerabilities which found by `cargo audit`.
2017-07-28 13:34:07 +03:00
Andrew Poelstra
cdb452f79f
Sanity-check vector length when deserializing
2017-04-17 00:54:38 +00:00
Andrew Poelstra
fd37023312
Increase secp version; transitive version bump
...
Cleans up dependency graph.
2016-10-10 13:22:30 +00:00
Andrew Poelstra
02718be82f
Remove unused `num_cpus` dep
2016-10-10 13:09:40 +00:00
Andrew Poelstra
e3c793f702
uint: bugfix in trailing_zeroes()
2016-08-26 16:20:26 +00:00
Andrew Poelstra
af10b153be
segwit: add transaction/block serialization support for BIP141/BIP144; bump to 0.8
...
Do not yet support new sighash type
2016-08-24 16:24:55 +00:00
Demur Rumed
5dda3e2602
Replace time with std::time
2016-07-17 04:02:57 +00:00
Andrew Poelstra
93f103bdb5
script: fix broken push_int in script::Builder
2016-07-14 15:15:34 +00:00
Andrew Poelstra
14af175a11
Resurrect BIP32 support
2016-06-24 19:15:57 +00:00
Andrew Poelstra
698a23e32d
script: fix Debug impl bugs in Script, PUSHDATA1 not displayed correctly
2016-06-24 00:20:49 +00:00