Saturday, July 6, 2024

lightning community – Core Lighting ZeroMQ plugin

Can anyone inform me if this is a matter when loading the zeromq plugin for core lightning?

024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: Traceback (most up-to-date name final):
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/usr/native/lib/python3.11/dist-packages/pyln/shopper/plugin.py”>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: outcome = self._exec_func(technique.func, request)
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/usr/native/lib/python3.11/dist-packages/pyln/shopper/plugin.py”>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ret = func(*ba.args, **ba.kwargs)
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/usr/native/lib/python3.11/dist-packages/pyln/shopper/plugin.py”>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: return self._exec_func(self.child_init, request)
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/usr/native/lib/python3.11/dist-packages/pyln/shopper/plugin.py”>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ret = func(*ba.args, **ba.kwargs)
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/dwelling/major/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py”,>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: Setup.check_option_warnings(choices, plugin)
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/dwelling/major/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py”,>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: for endpoint in Setup._iter_endpoints_not_ok(choices):
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: File “/dwelling/major/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py”,>
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: endpoint = choices[endpoint_opt]
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: ~~~~~~~^^^^^^^^^^^^^^
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: KeyError: ‘zmq-pub-channel-opened’
2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py:

I am working the example-subscriber.py file and that i by no means see a shutdown occasion logged. I did add shutdown to the notification checklist.
python3 example-subscriber.py –zmq-sub-shutdown=tcp://127.0.0.1:5555

Here is how i am beginning the plugin.
lightningd –regtest –daemon –plugin=/dwelling/major/.lightning/reckless/plugins/plugins/zmq/cl-zmq.py –log-file=/dwelling/major/.lightning/logs.txt –zmq-pub-shutdown=tcp://127.0.0.1:5555

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles