Skip to content

Commit 91c6588

Browse files
committed
Add trampoline feature flag.
1 parent 4d66cce commit 91c6588

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/features.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ mod sealed {
166166
ChannelType | SCIDPrivacy,
167167
// Byte 6
168168
ZeroConf | Keysend,
169+
// Byte 7
170+
Trampoline,
169171
]);
170172
define_context!(ChannelContext, []);
171173
define_context!(Bolt11InvoiceContext, [
@@ -415,6 +417,9 @@ mod sealed {
415417
define_feature!(55, Keysend, [NodeContext],
416418
"Feature flags for keysend payments.", set_keysend_optional, set_keysend_required,
417419
supports_keysend, requires_keysend);
420+
define_feature!(57, Trampoline, [NodeContext],
421+
"Feature flags for Trampoline routing.", set_trampoline_routing_optional, set_trampoline_routing_required,
422+
supports_trampoline_routing, requires_trampoline_routing);
418423
// Note: update the module-level docs when a new feature bit is added!
419424

420425
#[cfg(test)]

0 commit comments

Comments
 (0)