Skip to content

Commit e54e8e5

Browse files
committed
Add trampoline feature flag.
1 parent 6d5c952 commit e54e8e5

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
@@ -168,6 +168,8 @@ mod sealed {
168168
ChannelType | SCIDPrivacy,
169169
// Byte 6
170170
ZeroConf | Keysend,
171+
// Byte 7
172+
Trampoline,
171173
]);
172174
define_context!(ChannelContext, []);
173175
define_context!(Bolt11InvoiceContext, [
@@ -420,6 +422,9 @@ mod sealed {
420422
define_feature!(55, Keysend, [NodeContext],
421423
"Feature flags for keysend payments.", set_keysend_optional, set_keysend_required,
422424
supports_keysend, requires_keysend);
425+
define_feature!(57, Trampoline, [NodeContext],
426+
"Feature flags for Trampoline routing.", set_trampoline_routing_optional, set_trampoline_routing_required,
427+
supports_trampoline_routing, requires_trampoline_routing);
423428
// Note: update the module-level docs when a new feature bit is added!
424429

425430
#[cfg(test)]

0 commit comments

Comments
 (0)