37 Commits (3412a69488293e663d85a8727d8bfdc7ae0c9962)

Author SHA1 Message Date
Christian Decker fb7c67889e htlcs: Make sure htlc_sets is not erroneously flagged as a memleak 5 years ago
Rusty Russell aca2e4f722 common/memleak: add dynamic hooks for assisting memleak. 5 years ago
Christian Decker 8ed77753ef json-rpc: Add size and cumulative size to dev-memdump 5 years ago
Rusty Russell d5bd1682f5 lightningd: free timers on shutdown. 6 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
Rusty Russell 5770e0c700 jsonrpc: probe sites for usage information once, at start. 6 years ago
Rusty Russell e5c80f63d7 lightningd: add code to search strmaps for memleak detection. 6 years ago
Rusty Russell 26484b8aa5 memdump: rearrange order to avoid command_its_complicated(). 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Rusty Russell a42c8bfb38 openingd: wire up dev_memleak. 6 years ago
Rusty Russell 6da379631f hsmd: wire up dev_memleak. 6 years ago
Rusty Russell 1430036684 connectd: wire up dev_memleak. 6 years ago
Rusty Russell ab735dcbe6 gossipd: wire up memleak detection. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Mark Beckwith 30b67c0334 param: call param() all the time 6 years ago
Rusty Russell 112b7336a3 memleak: create and use a generic htable helper and generic intmap helper. 6 years ago
Rusty Russell 12a39b8a79 lightningd: fix backtraces in memleak detection. 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 7 years ago
Rusty Russell 0fff5038ff Makefile: we don't need to define DEVELOPER explicitly. 7 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
Rusty Russell 41ef42ee94 memdump: fix overzealous assertions from b857b2e843 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
practicalswift 5631054152 Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 7 years ago
practicalswift 447afa923d Avoid segfault on CLI command "dev-memleak" when $LIGHTNINGD_DEV_MEMLEAK is not set 7 years ago
Rusty Russell e695e5db09 lightningd: require explicit LIGHTNINGD_DEV_MEMLEAK env var to do memleak. 7 years ago
Christian Decker ee25547576 Re-enable builds with DEVELOPER=0 7 years ago
Rusty Russell 70d01b22e1 memleak: add second exclude arg to exclude current commands' jcon. 7 years ago
Rusty Russell dfc132b2fe memleak: add backtrace to allocations. 7 years ago
Rusty Russell c956d9f5eb lightningd: tal memleak detection, dev-memleak command. 7 years ago
Rusty Russell 95df553813 lightningd: add dev-memdump command. 7 years ago