Lightning Framework Fake Pull Request

I made this PR to myself so that Ioan/Mark can add comments inline if desired.
I'd prefer passing in const paths and getting the tow costs. The reversal, if necessary, we should do at the call site.