These are not expressible in C/most languages, and thus must be
hidden.
/// Signs the [`TaggedHash`] of the invoice using the given function.
///
/// Note: The hash computation may have included unknown, odd TLV records.
- pub fn sign<F: SignBolt12InvoiceFn>(
+ ///
+ /// This is not exported to bindings users as functions aren't currently mapped.
+ pub(crate) fn sign<F: SignBolt12InvoiceFn>(
$($self_mut)* $self: $self_type, sign: F
) -> Result<Bolt12Invoice, SignError> {
let pubkey = $self.contents.fields().signing_pubkey;
/// Signs the [`TaggedHash`] of the invoice request using the given function.
///
/// Note: The hash computation may have included unknown, odd TLV records.
- pub fn sign<F: SignInvoiceRequestFn>(
+ ///
+ /// This is not exported to bindings users as functions are not yet mapped.
+ pub(crate) fn sign<F: SignInvoiceRequestFn>(
$($self_mut)* $self: $self_type, sign: F
) -> Result<InvoiceRequest, SignError> {
let pubkey = $self.contents.payer_id;