Skip to content

Commit 6bfdc0d

Browse files
committed
f msg document types
1 parent fc876d5 commit 6bfdc0d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lightning/src/blinded_path/message.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ pub enum OffersContext {
404404
/// needs to be "stored" by a payment recipient for their own internal use, provided back to
405405
/// them with the payment.
406406
///
407+
/// Payment metadata is stored as a map from a numeric key to an arbitrary byte array value.
408+
/// This allows for several types of metadata to be stored attached to a single payment. In the
409+
/// future some optional features of LDK may use some keys.
410+
///
407411
/// Note that because this is included in the payment onion, its size must be tightly
408412
/// constrained. More than a few hundred bytes and the payment will be entirely unpayable (with
409413
/// limited routing options as size increases). Further, any data placed here will increase

0 commit comments

Comments
 (0)