Add some no-exporting of more offers code
[rust-lightning] / lightning / src / offers / invoice_request.rs
index 8d4755537078f5a8698d8ef7d87fb71ca168206d..7243b7b92b32b2904c3e3f7278d5a3ce5fe44b67 100644 (file)
@@ -464,6 +464,8 @@ impl InvoiceRequest {
 
        /// Signature of the invoice request using [`payer_id`].
        ///
+       /// This is not exported to bindings users as Signature is not yet mapped.
+       ///
        /// [`payer_id`]: Self::payer_id
        pub fn signature(&self) -> Signature {
                self.signature
@@ -572,6 +574,8 @@ impl InvoiceRequest {
        /// keys need to sign an [`Invoice`] for the request if they could be extracted from the
        /// metadata.
        ///
+       /// This is not exported to bindings users as KeyPair is not yet mapped.
+       ///
        /// [`Invoice`]: crate::offers::invoice::Invoice
        pub fn verify<T: secp256k1::Signing>(
                &self, key: &ExpandedKey, secp_ctx: &Secp256k1<T>