File tree Expand file tree Collapse file tree
lightning/src/blinded_path Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments