2 name = "lightning-block-sync"
4 authors = ["Matt Corallo"]
8 Utilities to fetch the chain from Bitcoin Core REST/RPC Interfaces and feed them into Rust Lightning.
12 rest-client = [ "serde", "serde_json", "serde_derive" ]
13 rpc-client = [ "serde", "serde_json", "serde_derive", "base64" ]
17 lightning = { version = "0.0.11", path = "../lightning" }
18 tokio = { version = ">=0.2.12", features = [ "tcp", "io-util", "dns" ], optional = true }
19 serde = { version = "1", optional = true }
20 serde_json = { version = "1", optional = true }
21 serde_derive = { version = "1", optional = true }
22 base64 = { version = "0.9", optional = true }
25 tokio = { version = ">=0.2.12", features = [ "macros", "rt-core" ] }