mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-18 21:34:48 +01:00
Merge pull request #10 from tamasblummer/use_bitcoin_chain
use new bitcoin-chain module extracted from bitcoin
This commit is contained in:
commit
c4e7161c23
@ -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" }
|
@ -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;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#![crate_name = "lightning"]
|
||||
|
||||
extern crate bitcoin;
|
||||
extern crate bitcoin_chain;
|
||||
extern crate secp256k1;
|
||||
extern crate rand;
|
||||
extern crate crypto;
|
||||
|
Loading…
Reference in New Issue
Block a user