2020-01-29 21:33:10 +00:00
|
|
|
#!/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(
|
2020-02-03 12:04:16 +00:00
|
|
|
dynamic=False,
|
2020-05-19 21:41:24 +01:00
|
|
|
init_features=1 << 201,
|
|
|
|
node_features=1 << 203,
|
|
|
|
invoice_features=1 << 205,
|
2020-01-29 21:33:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
plugin.run()
|