From: Matt Corallo Date: Thu, 29 Apr 2021 19:31:35 +0000 (+0000) Subject: Mention storage req for users with a public invoice generation API X-Git-Tag: v0.0.14~7^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f02910f81e743abf2a8169c92917f3581eb4de80;p=rust-lightning Mention storage req for users with a public invoice generation API --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 31529343d..58b6982c4 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -3468,6 +3468,10 @@ impl ChannelMana /// If you need exact expiry semantics, you should enforce them upon receipt of /// [`PaymentReceived`]. /// + /// Pending inbound payments are stored in memory and in serialized versions of this + /// [`ChannelManager`]. If potentially unbounded numbers of inbound payments may exist and + /// space is limited, you may wish to rate-limit inbound payment creation. + /// /// May panic if `invoice_expiry_delta_secs` is greater than one year. /// /// Note that invoices generated for inbound payments should have their `min_final_cltv_expiry`