lightning
lightning copied to clipboard
trace payment_continue and payment mods
Thanks @JssDWt, I've been wanting to instrument this part of the code for quite a while, and never had the muse to get started. I added #7575 on top of your change to instrument all JSON-RPC calls that plugins start, and we can likely also instrument all entrypoints to the plugin as well (rpcmethod, hook and notifications).
@cdecker I moved the commits around a little bit. Only tracing payment_continue now, because under some circumstances it seemed that the traces got intertwined. Also incorporated your suggestion here
It now builds on the (modified) commit from #7575
Rebased. And also fixed a bug where the error field would be false when there was an error and vice versa.
Pretty! I missed this on the milestone, fixed now.
Rebasing now.
This is confusing. https://github.com/ElementsProject/lightning/pull/7575 says it builds on this, this says it's now based on that. And I can't force push to this branch to rebase.
So I'm going to add to the confusion by opening another PR!