From: Jeffrey Czyz Date: Tue, 12 Nov 2024 18:28:52 +0000 (-0600) Subject: Expand Bolt11InvoiceParameters docs for no-std use X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=20ef21798510c64f1a40fc040f7a907a4e62ab99;p=rust-lightning Expand Bolt11InvoiceParameters docs for no-std use --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 61c5958ac..d4547be8f 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -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, /// The minimum `cltv_expiry` for the last HTLC in the route. If not set, will use