File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ non_bitcoin_chain_hash_routing = []
15
15
16
16
[dependencies ]
17
17
bitcoin = " 0.11"
18
+ bitcoin-chain = { git = " https://github.com/rust-bitcoin/rust-bitcoin-chain" , branch = " master" }
18
19
rust-crypto = " 0.2"
19
20
rand = " 0.4"
20
21
secp256k1 = " 0.8"
22
+
23
+ [patch .crates-io ]
24
+ bitcoin = { git = " https://github.com/rust-bitcoin/rust-bitcoin" , branch = " master" }
Original file line number Diff line number Diff line change 1
- use bitcoin :: blockdata :: blockchain:: Blockchain ;
1
+ use bitcoin_chain :: blockchain:: Blockchain ;
2
2
use bitcoin:: blockdata:: transaction:: Transaction ;
3
3
use bitcoin:: blockdata:: block:: Block ;
4
4
use bitcoin:: blockdata:: script:: Script ;
Original file line number Diff line number Diff line change 1
1
#![ crate_name = "lightning" ]
2
2
3
3
extern crate bitcoin;
4
+ extern crate bitcoin_chain;
4
5
extern crate secp256k1;
5
6
extern crate rand;
6
7
extern crate crypto;
You can’t perform that action at this time.
0 commit comments