a4ba72c08c
This commit fixes a panic due to a send on a closed channel that could possibly occur depending on the order of channel closes when a client goes to cancel a topology notification client. Previously we closed the ntfnChan first, this would possible result in a panic as the goroutine may have succeeded on a send at the same time the channel was closed. Instead, we now close the `exit` channel first which is meant to be a signal to the goroutine that the client has been canceled. |
||
---|---|---|
.. | ||
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