feature: define new feature bit for bolt11 blinded paths

We need a new feature bit for BOLT11 invoices in order to indicate that
they contain the new blinded path tagged field. Tagged fields pre-date
TLV and so nodes who dont understand them will simply skip them.
Therefore the feature bit helps them to fail fast.
This commit is contained in:
Elle Mouton committed 2024-07-26 09:53:49 +02:00
1 parent 188dd44b42
commit 9192c165ff
4 files changed
+27 -10

No files matched your search

+3
View File
@@ -92,4 +92,7 @@ var defaultSetDesc = setDesc{
SetInit: {}, // I
SetNodeAnn: {}, // N
},
lnwire.Bolt11BlindedPathsOptional: {
SetInvoice: {}, // I
},
}