Add missing documentation to c_types module contents
[ldk-c-bindings] / lightning-c-bindings / src / bitcoin / network.rs
index 52cb2ce68a26dbdf81cccc50702568a9aa449722..02052e8213c82cb046ccedbf434e786cc3b76e10 100644 (file)
@@ -1,10 +1,17 @@
+//! A C-mapped version fo bitcoin::network::constants::Network
+
 use bitcoin::network::constants::Network as BitcoinNetwork;
 
 #[repr(C)]
+/// An enum representing the possible Bitcoin or test networks which we can run on
 pub enum Network {
+       /// The main Bitcoin blockchain.
        Bitcoin,
+       /// The testnet3 blockchain.
        Testnet,
+       /// A local test blockchain.
        Regtest,
+       /// A blockchain on which blocks are signed instead of mined.
        Signet,
 }