core-lightning/contrib/pylightning/lightning
Christian Decker a707ae091d pylightning: Add hooks as a new type of method
Instead of creating a new map I opted to re-use the Plugin.methods
map, since the semantics are really similar and we don't allow
duplicates. The only difference is in how they are announced to
lightningd, so we use an enum to differentiate rpcmethods from hooks,
since only the former will get added to the JSON-RPC dispatch table in
lightningd.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-01-17 05:42:49 +00:00
..
__init__.py pylightning: Added a tiny library for python plugins 2018-12-15 15:04:32 +01:00
lightning.py Feedback from @niftynei. 2019-01-15 12:01:38 +01:00
plugin.py pylightning: Add hooks as a new type of method 2019-01-17 05:42:49 +00:00
test_plugin.py pylightning: Better inject arguments in plugin method calls 2019-01-08 17:37:00 +01:00