[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" }
\ No newline at end of file
-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;
#![crate_name = "lightning"]
extern crate bitcoin;
+extern crate bitcoin_chain;
extern crate secp256k1;
extern crate rand;
extern crate crypto;