b61670fe23
In this commit, we update path finding to skip an edge if the amount we’re trying to route through it is below the MinHTLC (in mSAT) value for that node. We also add a new test to exercise this behavior. In order for out test to work properly, we’ve modified the JSON to make the edge to Goku have a higher min HTLC value. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.go | ||
missioncontrol.go | ||
notifications_test.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router_test.go | ||
router.go | ||
validation_barrier.go |
routing
The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, sending outgoing payments into the network and synchronizing new peers to our channel graph state.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/routing