mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
4737977128
This is in order to avoid having to update featurebits as plugins get activated and deactivated.
16 lines
327 B
Python
Executable File
16 lines
327 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from pyln.client import Plugin
|
|
|
|
# Register a different set feature of feature bits for each location so we can
|
|
# later check that they are being passed correctly.
|
|
plugin = Plugin(
|
|
dynamic=False,
|
|
init_features=1 << 101,
|
|
node_features=1 << 103,
|
|
invoice_features=1 << 105,
|
|
)
|
|
|
|
|
|
plugin.run()
|