X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Flib.rs;h=823f021a7144796933587ec133b6bc1ffe94da6f;hb=39d393a55c5e36750c04c1d1ce70dc3b620927fd;hp=044c3288d8cc13fd8392330ff7bca4ecbf53d3c2;hpb=04fcb2d0d013cfb63ed656de156f0659f1b1411e;p=ldk-c-bindings diff --git a/lightning-c-bindings/src/lib.rs b/lightning-c-bindings/src/lib.rs index 044c328..823f021 100644 --- a/lightning-c-bindings/src/lib.rs +++ b/lightning-c-bindings/src/lib.rs @@ -1,12 +1,12 @@ -//!lightning -//! Rust-Lightning, not Rusty's Lightning! -//! -//! A full-featured but also flexible lightning implementation, in library form. This allows the -//! user (you) to decide how they wish to use it instead of being a fully self-contained daemon. -//! This means there is no built-in threading/execution environment and it's up to the user to -//! figure out how best to make networking happen/timers fire/things get written to disk/keys get -//! generated/etc. This makes it a good candidate for tight integration into an existing wallet -//! instead of having a rather-separate lightning appendage to a wallet. +// This file is Copyright its original authors, visible in version control +// history and in the source files from which this was generated. +// +// This file is licensed under the license available in the LICENSE or LICENSE.md +// file in the root of this repository or, if no such file exists, the same +// license as that which applies to the original source files from which this +// source was automatically generated. + +//! C Bindings #![allow(unknown_lints)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] @@ -17,9 +17,7 @@ #![allow(unused_unsafe)] #![allow(unused_braces)] #![deny(missing_docs)] -mod c_types; -mod bitcoin; -pub mod util; -pub mod chain; -pub mod ln; -pub mod routing; +pub mod c_types; +pub mod bitcoin; +pub mod lightning; +pub mod lightning_persister;