Trait SignBolt12InvoiceFn
pub trait SignBolt12InvoiceFn {
// Required method
fn sign_invoice(
&self,
message: &UnsignedBolt12Invoice,
) -> Result<Signature, ()>;
}Expand description
A function for signing an UnsignedBolt12Invoice.
Required Methods§
fn sign_invoice(&self, message: &UnsignedBolt12Invoice) -> Result<Signature, ()>
fn sign_invoice(&self, message: &UnsignedBolt12Invoice) -> Result<Signature, ()>
Signs a TaggedHash computed over the merkle root of message’s TLV stream.