|
|
@ -1097,20 +1097,6 @@ class LnFeatures(IntFlag): |
|
|
|
_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_REQ] = (LNFC.INIT | LNFC.NODE_ANN | LNFC.INVOICE) |
|
|
|
_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_OPT] = (LNFC.INIT | LNFC.NODE_ANN | LNFC.INVOICE) |
|
|
|
|
|
|
|
# allow old Electrum wallets to pay us with trampoline |
|
|
|
OPTION_TRAMPOLINE_ROUTING_REQ_COMPAT_ELECTRUM = 1 << 24 |
|
|
|
OPTION_TRAMPOLINE_ROUTING_OPT_COMPAT_ELECTRUM = 1 << 25 |
|
|
|
|
|
|
|
_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_REQ_COMPAT_ELECTRUM] = (LNFC.INVOICE) |
|
|
|
_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_OPT_COMPAT_ELECTRUM] = (LNFC.INVOICE) |
|
|
|
|
|
|
|
# allow old Phoenix wallets to pay us with trampoline |
|
|
|
OPTION_TRAMPOLINE_ROUTING_REQ_COMPAT_ECLAIR = 1 << 50 |
|
|
|
OPTION_TRAMPOLINE_ROUTING_OPT_COMPAT_ECLAIR = 1 << 51 |
|
|
|
|
|
|
|
_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_REQ_COMPAT_ECLAIR] = (LNFC.INVOICE) |
|
|
|
_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_OPT_COMPAT_ECLAIR] = (LNFC.INVOICE) |
|
|
|
|
|
|
|
OPTION_SHUTDOWN_ANYSEGWIT_REQ = 1 << 26 |
|
|
|
OPTION_SHUTDOWN_ANYSEGWIT_OPT = 1 << 27 |
|
|
|
|
|
|
|