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
2024-07-04 14:12:18 +02:00
parent 188dd44b42
commit 9192c165ff
4 changed files with 27 additions and 10 deletions

View File

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