ae6bde2d77
This commit fixes a bug that could lead to a deadlock inside bolt db itself. In a recent commit we allowed a db transaction to be passed directly into findPath, however, the initial call to graph.ForEachNode instead passed a _nil_ transaction causing the method itself to create a _new_ transaction, leading to a deadlock. We fix this issue by instead re-using the transaction pointer. |
||
---|---|---|
.. | ||
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