Mark several types no-export which should be exported eventually
[rust-lightning] / lightning / src / events / bump_transaction.rs
index 5963da8e9f213efd023a21f6570369b8775ee2a5..02f651c34d6d66191f9922d9e9078a8fe3a88b8d 100644 (file)
@@ -392,6 +392,8 @@ impl Utxo {
        }
 
        /// Returns a `Utxo` with the `satisfaction_weight` estimate for a P2WPKH nested in P2SH output.
+       ///
+       /// This is not exported to bindings users as WPubkeyHash is not yet exported
        pub fn new_nested_p2wpkh(outpoint: OutPoint, value: u64, pubkey_hash: &WPubkeyHash) -> Self {
                let script_sig_size = 1 /* script_sig length */ +
                        1 /* OP_0 */ +
@@ -408,6 +410,8 @@ impl Utxo {
        }
 
        /// Returns a `Utxo` with the `satisfaction_weight` estimate for a SegWit v0 P2WPKH output.
+       ///
+       /// This is not exported to bindings users as WPubkeyHash is not yet exported
        pub fn new_v0_p2wpkh(outpoint: OutPoint, value: u64, pubkey_hash: &WPubkeyHash) -> Self {
                Self {
                        outpoint,