51 Commits (44f747b29a10c573fde3abfab6b52884f0f393bd)

Author SHA1 Message Date
Christian Decker 9f298330b2 libplugin: It's featurebits, not features 5 years ago
Christian Decker e03acd9663 libplugin: Add features to plugin_main and getmanifest 5 years ago
Rusty Russell 72327f5cc2 libplugin: fix compilation issue on recent gccs. 5 years ago
Rusty Russell 2f1502abf4 cleanup: make 'u8 *features' and 'struct feature_set *fset' more explicit. 5 years ago
Rusty Russell 8cb364dd28 libplugin: demarshal and stash the feature set given by lightningd. 5 years ago
darosior 902edf56e6 libplugin: allow u32 options 5 years ago
darosior e7b0c24db2 libplugin: use a typesafe_cb for plugin_timer 5 years ago
Rusty Russell 7a178ebb7a plugins: libplugin don't insist on 'jsonrpc' field from lightningd. 5 years ago
darosior 5840e90ceb plugins/libplugin: don't crash if 'lightning-rpc' doesnt exist (yet) 5 years ago
darosior 3eb0f56f87 libplugin: generalize the plugin_timer callback type 5 years ago
darosior b0b55d36ef libplugin: add a 'still_pending' helper 5 years ago
darosior ceeb5503cc libplugin: fix 'dynamic' field in getmanifest 5 years ago
darosior 2bff80e3de libplugin: use json_stream helpers for RPC calls 5 years ago
darosior 0546728819 libplugin: use json_stream helpers for handle_getmanifest 5 years ago
darosior 45e9f53c6b libplugin: expose helpers to start and end a jsonrpc response 5 years ago
darosior 4772025b5d libplugin don't expose the plugin struct 5 years ago
darosior b6b2e6727e libplugin: make deprecated_apis a global 5 years ago
darosior 02fe34ed95 libplugin: don't expose the rpc_conn struct 5 years ago
darosior b31e3b1541 libplugin: pass a pointer to plugin to send_outreq 5 years ago
darosior c765a223f1 libplugin: use ccan/io for async Rpc requests 5 years ago
darosior 765626875e libplugin: use ccan/io for notifications 5 years ago
darosior 9ebfdf0b8c libplugin: add remaining globals to the global state 5 years ago
darosior 499dce1c38 libplugin: include the rpc conn into the global state 5 years ago
darosior 98e8aac75f libplugin: use ccan/io for response to plugin commands 5 years ago
darosior 42cd23092c libplugin: use ccan/io for lightningd connections 5 years ago
darosior ddf14613d1 libplugin: introduce a top-level object 5 years ago
Wladimir J. van der Laan e4c6fd89b7 Add missing `extern` qualifiers for gcc 10 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
darosior fcbd11f0c5 plugins/libplugin: hook support 5 years ago
darosior 3371f0cf78 plugins/libplugin: notifications support 5 years ago
Christian Decker d5f0c08a88 elements: Remove global is_elements variable in favor of chainparams 5 years ago
Christian Decker 14247283b2 plugin: Tell the plugin which network we run on 5 years ago
trueptolemy 2d1a153975 plugins: Return `command_param_failed()` if `param()` fail 5 years ago
lisa neigut 2fe490294e libplugin: new helper method for passing a raw error 5 years ago
darosior 0cd3823c98 libplugin: pass configuration to plugin's 'init' callback 6 years ago
darosior 017ee7c916 libplugin: Add 'getmanifest' 'dynamic' field 6 years ago
Rusty Russell c585f22711 libplugin: update API to use json_out. 6 years ago
Rusty Russell c77e29c403 libplugin: use json_out internally. 6 years ago
darosior 4640d18ef0 Plugins: allow to specify plugin option type in libplugin.c, then specify it to autoclean options 6 years ago
darosior 9d34121ec5 libplugin.c: Handle command categories then set them in pay and autoclean 6 years ago
Rusty Russell 44196e7d82 libplugin: logging support. 6 years ago
Rusty Russell 6a8cd9a016 libplugin: allow freeing in timer callback, clarify docs, allow nested timers. 6 years ago
Rusty Russell 9b61c19a20 libplugin: simple timer support. 6 years ago
Rusty Russell c83066f8ed libplugin: make rpc_conn a global, so we can access it from timers. 6 years ago
Rusty Russell 688574b89c libplugin: support options. 6 years ago
Rusty Russell 26f60f83d5 libplugin: add deprecated_apis flag for plugins to access. 6 years ago
Rusty Russell a8d1588154 libplugin: provide usage in getmanifest. 6 years ago
Rusty Russell c58a4b9b42 libplugin: put method name into command struct. 6 years ago
Rusty Russell 02436a8e6d libplugin: mention error field in error message. 6 years ago