Expand Bolt11InvoiceParameters docs for no-std use

This commit is contained in:
Jeffrey Czyz 2024-11-12 12:28:52 -06:00
parent e9051f84f2
commit 20ef217985
No known key found for this signature in database
GPG key ID: 912EF12EA67705F5

View file

@ -9360,7 +9360,8 @@ pub struct Bolt11InvoiceParameters {
/// [`DEFAULT_EXPIRY_TIME`] by default.
///
/// The creation time used is the duration since the Unix epoch for `std` builds. For non-`std`
/// builds, the highest block timestamp seen is used instead.
/// builds, the highest block timestamp seen is used instead. In the latter case, use a long
/// enough expiry to account for the average block time.
pub invoice_expiry_delta_secs: Option<u32>,
/// The minimum `cltv_expiry` for the last HTLC in the route. If not set, will use