Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default "impossibility penalty" to one Bitcoin
In general we should avoid taking paths that we are confident will not work as much possible, but we should be willing to try each payment at least once, even if its over a channel that failed recently. A full Bitcoin penalty for such a channel seems reasonable - lightning fees are unlikely to ever reach that point so such channels will be scored much worse than any other potential path, while still being below `u64::max_value()`.
- Loading branch information