29 Commits (d970addd4ba59f10ee4222f2134d46d506039add)

Author SHA1 Message Date
Rusty Russell 8aa660e938 lightningd: remove deprecated return for `db_write` hook. 4 years ago
Rusty Russell f8cdb523dd plugin_hook_call: return indication whether we called the callback or not. 5 years ago
Rusty Russell deac09950a plugins: make chained hooks have two different callbacks. 5 years ago
Rusty Russell 9aedb0c61f plugin: simplify hooks calling methods, and make lifetime requirements explicit. 5 years ago
Christian Decker 8f87579589 cleanup: Remove current_plugin from plugin_hook_request 5 years ago
Christian Decker 0987747ded plugin: Avoid calling a destructor on a request that was freed 5 years ago
Christian Decker 41a5728fc3 plugin: Do not forward plugin hook calls during shutdown 5 years ago
Christian Decker 4a21883553 plugin: Fix hanging hook calls if the plugin dies 5 years ago
Christian Decker d639bdd416 plugin: Remove special case for plugin stopping while handling hooks 5 years ago
Christian Decker a3ab3d2990 plugin: Call next plugin that registered hook if result is continue 5 years ago
Christian Decker 71e67ba47f plugin: Split plugin_hook_call_ into initialization and call_next 5 years ago
Christian Decker dc2f9a9088 plugin: Internalize plugin_hook call payload in the request struct 5 years ago
Christian Decker b25e195c2c plugin: Multiple plugins can register a singl hook 5 years ago
Christian Decker 9a2a09efd6 plugin: Introduce plugin type to allow singleton and chaining 5 years ago
ZmnSCPxj jxPCSnmZ 6e34aa233a lightningd/: Hooks now support a consistent interface for 'no operation'. 5 years ago
Christian Decker 2c11c54dd2 db: Track the data_version in the database 5 years ago
Christian Decker 6020a0d587 db: Consolidate access to the changes in a db 5 years ago
Rusty Russell f6ed7f2e89 plugin: handle corner case where rpc_command is to stop the plugin. 5 years ago
darosior d299420fbe lightningd/plugin_hook: make it possible to unregister a hook 6 years ago
Rusty Russell 695bec531c plugin: fix printing of bad plugin responses. 6 years ago
Rusty Russell 8f9c48254b plugins: do I/O logging. 6 years ago
Rusty Russell a314bc62fc lightningd: remove deserialize step for plugin hooks. 6 years ago
Rusty Russell d3c312860d lightningd: if a plugin gives a JSON-RPC error, print it. 6 years ago
Rusty Russell 4ca2964d21 plugin_hook: special case for db hook. 6 years ago
Rusty Russell 53423e8a55 lightningd: re-enable IO logging for JSON output. 6 years ago
Christian Decker 05ec56a968 plugin: Plugin hook callbacks need to be wrapped in a DB transaction 6 years ago
Christian Decker a281f4b692 plugin: Send jsonrpc_request when calling hooks and dispatch results 6 years ago
Christian Decker b8584a744b plugin: Add hooks that a plugin might register 6 years ago
Christian Decker f8f76e3d31 plugin: Add hook registration 6 years ago