It is great not to duplicate definitions of the same resource.
| pubenumNetwork{ |
| /// Mainnet Bitcoin. |
| Bitcoin, |
| /// Bitcoin's testnet network. |
| Testnet, |
| /// Bitcoin's signet network. |
| Signet, |
| /// Bitcoin's regtest network. |
| Regtest, |
| } |
This crate depends on bdk and os as bitcoin.
The Network is already defined in bitcoin crate.
https://docs.rs/bitcoin/0.30.1/bitcoin/network/constants/enum.Network.html
It is great not to duplicate definitions of the same resource.
ldk-node/src/types.rs
Lines 144 to 153 in c755eee
This crate depends on
bdkand os asbitcoin.The Network is already defined in
bitcoincrate.https://docs.rs/bitcoin/0.30.1/bitcoin/network/constants/enum.Network.html