486b464e1c
This commit modifies the way we do path caching. Rather than only caching within SendPayment, we now cache routes within FindRoutes. This is more natural as SendPayment eventually calls FindRoute. As a result of this commit, queries to FindRoute are now properly cached, speeding up applications which are focused on graph visualization or querying rather than sending payments. |
||
---|---|---|
.. | ||
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