70e114fa6f
This commit adds three new indexes to the Route struct. These indexes allow a caller to check if a channel is in the route, check if a node is in the route, query the next node after a target node, and query the next channel after a target node. The combination of these new indexes will allow the ChannelRouter to prune away routes from the available set in response to any received errors. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.go | ||
notifications_test.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router_test.go | ||
router.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