core-lightning/contrib
Christian Decker 9d4148ce68 pylightning: Warn users of plugins that may break due to extra args
We recently noticed that the way we unpack the call arguments for hooks and
notifications in pylightning breaks pretty quickly once you start changing the
hook and notification params. If you add params they will not get mapped
correctly causing the plugin to error out.

This can be fixed by adding a `VAR_KEYWORD` argument to the calbacks, i.e., by
adding a single `**kwargs` argument at the end of the signature. This commit
adds a check that such a catch-all argument exists, and emits a warning if it
doesn't.

It also fixes up the plugins that we ship ourselves.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-08-05 00:19:48 +00:00
..
init systemd: wait until network is up 2019-05-16 19:30:38 +02:00
plugins pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
pylightning pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
Dockerfile.builder docker: Update pytest dependencies in the builder image 2018-11-26 22:53:37 +00:00
Dockerfile.builder.fedora contrib: Dockerfile.builder.fedora bump fedora release 2019-03-22 17:13:16 +01:00
Dockerfile.builder.i386 docker: Update pytest dependencies in the builder image 2018-11-26 22:53:37 +00:00
lightning-cli.bash-completion bash-completion: include underscores 2019-07-09 13:23:14 +02:00
linuxarm32v7.Dockerfile Use tini as docker entrypoint 2019-03-19 14:26:03 +01:00
short_channel_id-to-txid.sh contrib/short_channel_id-to-txid.sh: simple mapping util. 2018-08-21 22:53:45 +02:00
startup_regtest.sh devscript: always clean up pid files for lightning daemons 2019-05-24 16:06:35 +02:00