lightning
lightning copied to clipboard
Askrene parallel solving support
This is actually fairly simple: we fork() at the point we're going to call the solver, and the child runs until it either produces an error message or a JSON result.
The main changes are in refactoring to make it clear which parts of the code run in the child, and which run in the parent.