Commit Graph

2273 Commits

Author SHA1 Message Date
Andrew Poelstra ab72eabd59
Merge branch 'master' into get_tip_height 2018-03-09 15:01:15 +00:00
Andrew Poelstra c92ede0cc5
Merge pull request #49 from tamasblummer/public_command
[Trivial] RawNetworkMessage::command should be public.
2018-03-09 15:01:03 +00:00
Andrew Poelstra 78fdf7133f
Merge branch 'master' into is_on_main_chain_public2 2018-03-09 14:50:00 +00:00
Andrew Poelstra 992846f992
Merge branch 'master' into public_command 2018-03-09 14:49:38 +00:00
Andrew Poelstra 9fe5a67a1d
Merge branch 'master' into get_tip_height 2018-03-09 14:49:36 +00:00
Andrew Poelstra 1bebc9fa00
Merge pull request #48 from tamasblummer/gitignore
[Trivial] add IntelliJ IDEA files to .gitignore
2018-03-09 14:48:30 +00:00
Andrew Poelstra a3037bd4b4
Merge branch 'master' into is_on_main_chain_public2 2018-03-09 14:45:31 +00:00
Andrew Poelstra c07a159c3a
Merge branch 'master' into get_tip_height 2018-03-09 14:45:30 +00:00
Andrew Poelstra 04adefe8a2
Merge branch 'master' into public_command 2018-03-09 14:45:27 +00:00
Andrew Poelstra 7c1e0d2df3
Merge branch 'master' into gitignore 2018-03-09 14:44:47 +00:00
Andrew Poelstra 3a5773a698 update docs and github links for transfer to rust-bitcoin org 2018-03-05 19:44:44 +00:00
Tamas Blummer 5e510366cf is_on_main_chain is a very useful function upstream, make it public 2018-03-03 18:15:05 +01:00
Tamas Blummer 3351f35583 add documentation 2018-02-28 20:27:52 +01:00
Tamas Blummer 50a9d0f51f add get_best_tip_height to blokchain 2018-02-28 20:24:35 +01:00
Tamas Blummer f1503866d7 RawNetworkMessage::command should be public. no harm and useful for debug messages. 2018-02-28 10:42:23 +01:00
Tamas Blummer 9e0b35bcc1 add IntelliJ IDEA files 2018-02-28 10:37:26 +01:00
Andrew Poelstra 279e6dec28
Merge pull request #47 from apoelstra/no-num
Remove some dependencies; bump major version number
2018-02-21 16:34:49 +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 047c0c149d remove `num` crate dependency 2018-02-18 15:21:13 +00:00
Andrew Poelstra e034ae6065 bump version to 0.10.9 2018-02-18 15:04:22 +00:00
Andrew Poelstra 9562d8afac
Merge pull request #41 from tamasblummer/minimal_alert_message
minimal implementation of alert message
2018-02-18 15:00:55 +00:00
Andrew Poelstra 71bce7b067
Merge pull request #44 from tamasblummer/add_difficulty2
Add difficulty calculation
2018-02-18 14:59:36 +00:00
Andrew Poelstra 91a786d22c
Merge pull request #42 from tamasblummer/add_low_u64
add low_u64 to Uint256 and Uit128 types
2018-02-18 14:57:37 +00:00
Andrew Poelstra 3547d27430
Merge pull request #40 from tamasblummer/unit_debug_fix
fixing debug output for Uint256 and Uint128
2018-02-18 14:57:00 +00:00
Andrew Poelstra d8babeddba Bump version 2018-02-16 22:16:59 +00:00
Andrew Poelstra 7930d14124
Merge pull request #38 from apoelstra/bip143
util: add `bip143` module to create BIP143 signature hashes
2018-02-16 22:13:55 +00:00
Andrew Poelstra 7c56f4133b
Merge pull request #46 from apoelstra/copy-nonoverlapping
remove all use of mem::uninitialized and mem::copy_nonoverlapping
2018-02-16 22:13:39 +00:00
Andrew Poelstra 9f092a6f31 remove all use of mem::uninitialized and mem::copy_nonoverlapping 2018-02-14 16:53:49 +00:00
Andrew Poelstra deda031975
Merge pull request #45 from TheBlueMatt/master
Fix argument to copy_nonoverlapping in internal_macros
2018-02-14 16:23:53 +00:00
Matt Corallo 9052f3b5a2 Fix argument to copy_nonoverlapping in internal_macros
This resolves a segfault due to unsafe code.
2018-02-13 19:08:10 -05:00
Tamas Blummer 3efe511cc6 add difficulty calculation 2018-02-11 19:58:26 +01:00
Tamas Blummer 19f96fe62c add low_u64 to Uint256 and Uit128 types 2018-02-11 14:19:58 +01:00
Tamas Blummer 9fbe941621 minimal implementation of alert message 2018-02-11 14:08:33 +01:00
Tamas Blummer e05f45beb0 fixing debug output for Uint256 and Uint128 2018-02-11 14:04:35 +01:00
Andrew Poelstra f233fcac61 util: add `bip143` module to create BIP143 signature hashes 2018-01-15 17:54:32 +00:00
Andrew Poelstra 01e164025a
Merge pull request #35 from apoelstra/newops
add constants for OP_CLTV and OP_CSV
2017-12-21 01:21:09 +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 9a498ad5e1
Merge pull request #34 from apoelstra/segwit-txid
transaction: add txid() method
2017-12-11 14:37:24 +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 49d39a0796
Merge pull request #33 from apoelstra/sha2-encoder
util: add Sha256dEncoder to allow streaming data into a hash
2017-12-07 14:12:25 +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 fc7c50ab8e
Merge pull request #32 from apoelstra/script-p2wsh
script: add `to_p2wsh()` and `is_p2swsh()` functions
2017-12-06 15:47:19 +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 c341e21dc6
remove unnecessary `mut` that nightly rustc has learned to detect 2017-10-06 19:56:50 +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
Andrew Poelstra cdff7f15c3 Merge pull request #29 from alekseysidorov/update-deps
Fix vulnerabilities which found by `cargo audit`.
2017-07-28 16:17:59 +00:00