Never run the scan loop more than once every 15 seconds
[dnsseed-rust] / Cargo.toml
index 88b3deb412559f733fce032463a6f5d76a9d9842..fd9c30f68c639d29038923c5455cc082333b9419 100644 (file)
@@ -5,9 +5,14 @@ authors = ["matt"]
 edition = "2018"
 
 [dependencies]
-bitcoin = { path = "../Bitcoin/rust-bitcoin" }
+bitcoin = { git = "https://github.com/TheBlueMatt/rust-bitcoin", rev = "f86c4581b7a8656e525bec8e3259e1af322a0a5a" }
 bitcoin_hashes = "0.3"
 tokio = "0.1"
 bytes = "0.4"
 futures = "0.1"
 rand = "0.6"
+regex = "1"
+
+[profile.release]
+lto = true
+codegen-units = 1