lnd.xprv/routing
Olaoluwa Osuntokun 5c45d52ab6
routing: wait for topology clients to fully exit before closing ntfn chan
This commit fixes a send on closed channel panic by adding additional
synchronization when cancelling the notifications for a particular
topology client. We now ensure that all goroutines belonging to a
particular topology client exit fully before we close the notification
channel in order to avoid a panic.
2017-06-25 13:31:55 +01:00
..
chainview routing/chainview: make filter updates synchronous for neutrino 2017-06-09 12:18:33 -07:00
testdata routing: add proper test for excessive number of hops 2017-02-02 00:24:16 -08:00
errors.go routing: reject channel announcement if connected vertexes are unknown 2017-05-14 19:27:24 -07:00
graph.go routing: rewrite package to conform to BOLT07 and factor in fees+timelocks 2016-12-27 16:44:22 -08:00
heap_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
heap.go routing: introduce new heap for storing candidate shortest paths 2017-03-21 12:20:30 -07:00
log.go routing: abandon ChainNotifier for FilteredChainView 2017-05-11 15:20:48 -07:00
notifications_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
notifications.go routing: wait for topology clients to fully exit before closing ntfn chan 2017-06-25 13:31:55 +01:00
pathfind_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
pathfind.go routing: add ToHopPayloads method to routing.Route 2017-06-16 22:37:47 +02:00
README.md multi: fix formatting issues in packge README's 2017-03-27 16:25:25 -07:00
router_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
router.go routing: wait for topology clients to fully exit before closing ntfn chan 2017-06-25 13:31:55 +01:00

routing

Build Status MIT licensed GoDoc

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