use new bitcoin-chain module extracted from bitcoin
[rust-lightning] / Cargo.toml
index bff665320040e6bfb1e03babf8fdc7ccd1800925..822484298536ada033829f0f67100bf107246ac0 100644 (file)
@@ -2,7 +2,7 @@
 name = "lightning"
 version = "0.0.1"
 authors = ["Matt Corallo"]
-license = "AGPL-3.0"
+license = "Apache-2.0"
 repository = "https://github.com/TheBlueMatt/rust-lightning/"
 description = """
 A Bitcoin Lightning implementation in Rust.
@@ -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"  }
\ No newline at end of file