lightning
lightning copied to clipboard
[WIP] Make Rene Pay Again
In this PR I would like to make some code refactoring and bug fixes.
Changes:
- separate
struct chan_extraandstruct flowinto two different modules, - remove unnecessary (and duplicate) functions
remove_completed_flow,remove_completed_flowset,commit_flow, andcommit_flowset, - the concept of a payment route is now implemented in a new data structure called
struct route, instead ofstruct pay_flow, - review the concept of flow: a flow consists of a path and a single amount to be delivered through that path,
- adding a new plugin workflow based on the concept of payment modifiers used in the default pay plugin,
Suggested release name: Make Rene Pay Again
Suggested release name: Make Rene Pay Again
Good name for the next release.
I've made a rebase on top of PR #7159.