Browse Source

fixup! doc: fix up documentation about when we move into lightning-dir.

pull/2938/head
Rusty Russell 5 years ago
committed by ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
commit
bcff30bb3f
  1. 4
      doc/PLUGINS.md

4
doc/PLUGINS.md

@ -41,10 +41,10 @@ will read replies from its `stdout`. To initialize the plugin two RPC
methods are required: methods are required:
- `getmanifest` asks the plugin for command line options and JSON-RPC - `getmanifest` asks the plugin for command line options and JSON-RPC
commands that should be passed through. Note that can be run before commands that should be passed through. This can be run before
`lightningd` checks that it is the sole user of the `lightning-dir` `lightningd` checks that it is the sole user of the `lightning-dir`
directory (for `--help`) so your plugin should not touch files at this directory (for `--help`) so your plugin should not touch files at this
point). point.
- `init` is called after the command line options have been - `init` is called after the command line options have been
parsed and passes them through with the real values (if specified). This is also parsed and passes them through with the real values (if specified). This is also
the signal that `lightningd`'s JSON-RPC over Unix Socket is now up the signal that `lightningd`'s JSON-RPC over Unix Socket is now up

Loading…
Cancel
Save