Skip to content

Commit 1286d03

Browse files
committed
f payment docs
1 parent 8e9b67e commit 1286d03

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

lightning/src/blinded_path/payment.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,8 @@ pub struct Bolt12OfferContext {
621621
///
622622
/// Payment metadata is stored as a map from a numeric key to an arbitrary byte array value.
623623
/// This allows for several types of metadata to be stored attached to a single payment. In the
624-
/// future some optional features of LDK may use some keys.
624+
/// future some optional features of LDK may use some keys. For the sake of conflict
625+
/// reduction, those features will attempt to use keys in the range 128-256.
625626
///
626627
/// Note that because this is included in the payment onion, its size must be tightly
627628
/// constrained. More than a few hundred bytes and the payment will be entirely unpayable (with
@@ -653,7 +654,8 @@ pub struct AsyncBolt12OfferContext {
653654
///
654655
/// Payment metadata is stored as a map from a numeric key to an arbitrary byte array value.
655656
/// This allows for several types of metadata to be stored attached to a single payment. In the
656-
/// future some optional features of LDK may use some keys.
657+
/// future some optional features of LDK may use some keys. For the sake of conflict
658+
/// reduction, those features will attempt to use keys in the range 128-256.
657659
///
658660
/// Note that because this is included in the payment onion, its size must be tightly
659661
/// constrained. More than a few hundred bytes and the payment will be entirely unpayable (with
@@ -679,7 +681,8 @@ pub struct Bolt12RefundContext {
679681
///
680682
/// Payment metadata is stored as a map from a numeric key to an arbitrary byte array value.
681683
/// This allows for several types of metadata to be stored attached to a single payment. In the
682-
/// future some optional features of LDK may use some keys.
684+
/// future some optional features of LDK may use some keys. For the sake of conflict
685+
/// reduction, those features will attempt to use keys in the range 128-256.
683686
///
684687
/// Note that because this is included in the payment onion, its size must be tightly
685688
/// constrained. More than a few hundred bytes and the payment will be entirely unpayable (with

0 commit comments

Comments
 (0)