Skip to content

Commit 3be185a

Browse files
authored
Merge pull request #905 from TheBlueMatt/2021-04-mention-invoice-storage-docs
Mention storage req for users with a public invoice generation API
2 parents 38a544e + f02910f commit 3be185a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3467,6 +3467,10 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
34673467
/// If you need exact expiry semantics, you should enforce them upon receipt of
34683468
/// [`PaymentReceived`].
34693469
///
3470+
/// Pending inbound payments are stored in memory and in serialized versions of this
3471+
/// [`ChannelManager`]. If potentially unbounded numbers of inbound payments may exist and
3472+
/// space is limited, you may wish to rate-limit inbound payment creation.
3473+
///
34703474
/// May panic if `invoice_expiry_delta_secs` is greater than one year.
34713475
///
34723476
/// Note that invoices generated for inbound payments should have their `min_final_cltv_expiry`

0 commit comments

Comments
 (0)