Skip to content

Commit f02910f

Browse files
committed
Mention storage req for users with a public invoice generation API
1 parent cb0b4bf commit f02910f

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
@@ -3468,6 +3468,10 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
34683468
/// If you need exact expiry semantics, you should enforce them upon receipt of
34693469
/// [`PaymentReceived`].
34703470
///
3471+
/// Pending inbound payments are stored in memory and in serialized versions of this
3472+
/// [`ChannelManager`]. If potentially unbounded numbers of inbound payments may exist and
3473+
/// space is limited, you may wish to rate-limit inbound payment creation.
3474+
///
34713475
/// May panic if `invoice_expiry_delta_secs` is greater than one year.
34723476
///
34733477
/// Note that invoices generated for inbound payments should have their `min_final_cltv_expiry`

0 commit comments

Comments
 (0)