pub fn create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref>(
    channelmanager: &ChannelManager<Signer, M, T, K, F, L>,
    keys_manager: K,
    network: Currency,
    amt_msat: Option<u64>,
    description_hash: Sha256,
    duration_since_epoch: Duration,
    invoice_expiry_delta_secs: u32
) -> Result<Invoice, SignOrCreationError<()>> where
    M::Target: Watch<Signer>,
    T::Target: BroadcasterInterface,
    K::Target: KeysInterface<Signer = Signer>,
    F::Target: FeeEstimator,
    L::Target: Logger
Expand description

See create_invoice_from_channelmanager_with_description_hash This version can be used in a no_std environment, where std::time::SystemTime is not available and the current time is supplied by the caller.