Merge pull request #10 from tamasblummer/use_bitcoin_chain

use new bitcoin-chain module extracted from bitcoin
This commit is contained in:
Matt Corallo 2018-03-11 19:26:27 -04:00 committed by GitHub
commit c4e7161c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,10 @@ non_bitcoin_chain_hash_routing = []
[dependencies]
bitcoin = "0.11"
bitcoin-chain = { git = "https://github.com/rust-bitcoin/rust-bitcoin-chain", branch = "master" }
rust-crypto = "0.2"
rand = "0.4"
secp256k1 = "0.8"
[patch.crates-io]
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin", branch = "master" }

View File

@ -1,4 +1,4 @@
use bitcoin::blockdata::blockchain::Blockchain;
use bitcoin_chain::blockchain::Blockchain;
use bitcoin::blockdata::transaction::Transaction;
use bitcoin::blockdata::block::Block;
use bitcoin::blockdata::script::Script;

View File

@ -1,6 +1,7 @@
#![crate_name = "lightning"]
extern crate bitcoin;
extern crate bitcoin_chain;
extern crate secp256k1;
extern crate rand;
extern crate crypto;