Skip to main content
5 votes
Accepted

What languages can I write plugins for c-lightning in?

Plugins can be written in any language as long as a client library for that language exists. The command line API and the Plugins communicate with lightningd over a unix domain socket using JSON RPC ...
Rene Pickhardt's user avatar
2 votes
Accepted

How to install & activate a c-lightning plugin in lightningd?

As explained on the simple funds overview plugin you just have to start lightningd with the plugin argument like this: lightningd --plugin=/path/to/plugin/directory/plugin-file-name.py of course ...
Rene Pickhardt's user avatar
2 votes

What would maxdelay practically be used for in the Core Lightning pay plugin?

This was answered by Christian Decker on Telegram. At each hop the node forwarding the payment will require to increase the CLTV delay. This is used so it can settle the downstream HTLC, turn around ...
Michael Folkson's user avatar
1 vote
Accepted

Is it normal or acceptable behavior for a c-lightning plugin not to shut down after lightningd is stopped?

In c-lightning, we give time to the plugin to shutdown, and after some time (30 seconds) if the plugin doesn't answer to shutdown we kill it. However, some type of plugin can keep going because they ...
vincenzopalazzo's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible