core-lightning/contrib
Christian Decker bd811fbd1a pyln: Add safe fallback results for hooks
Hooks do not tolerate failures at all. If we return a JSON-RPC error to a hook
call the only thing the main daemon can really do is to crash. This commit
adds a mapping of error to a safe fallback result, including a warning to the
node operator that this should be addressed in the plugin. The warning is
reported as a `**BROKEN**` message, and should therefore fail any testing done
on the plugin.

Changelog-Fixed: pyln: Fixed HTLCs hanging indefinitely if the hook function raises an exception. A safe fallback result is now returned instead.
2020-09-10 10:27:24 +09:30
..
init systemd: After=network-online.target 2019-08-20 20:14:36 +02:00
plugins JSON-RPC: getmanifest passes allow-deprecated-apis flag. 2020-08-11 08:43:18 +09:30
pylightning pyln: Add unit tests from pyln-* to make check-python 2020-02-01 16:50:58 +01:00
pyln-client pyln: Add safe fallback results for hooks 2020-09-10 10:27:24 +09:30
pyln-proto tests: plugin for dual-funding tests in ln-prototest 2020-09-09 19:54:20 +09:30
pyln-spec pyln-proto, pyln-spec: fix 'make prod-release' target. 2020-06-29 18:01:12 +02:00
pyln-testing pyln-testing: add get_channel_id helper 2020-09-10 10:24:06 +09:30
bootstrap-node.sh contrib: add executable flag for bootstrap-node.sh 2020-05-05 13:27:55 +09:30
Dockerfile.builder build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
Dockerfile.builder.fedora build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
linuxarm32v7.Dockerfile Add python to runtime docker image (arm32/64) 2020-08-24 20:23:25 +02:00
linuxarm64v8.Dockerfile Add python to runtime docker image (arm32/64) 2020-08-24 20:23:25 +02:00
short_channel_id-to-txid.sh Add compability to current formalism to short_channel_id-to-txid.sh 2019-10-04 00:38:52 +00:00
startup_regtest.sh contrib: add ability to start/stop elements nodeset 2020-09-09 16:49:25 +09:30