Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Routing heuristics #821
Add heuristics to the cost function of the path finding algorithm, and the ability to tune them by prioritizing for certain types. This enables the initiator of the payment (via
Optimization ratios can be specified at payment time or via the configuration file, by default they're all set to 0 in order to search for the route with the cheapest fees. Note that this can be combined with the existing bounded-search parameters such as the fee-threshold-sat to ask the router to find heuristics-optimized routes within the given constraints.
referenced this pull request
Jan 17, 2019
These changes have no significant performance impact, below a benchmark on a routing table from 29/01/2019 (~23k channels).