1a78c73f7e
This commit adds some new functionality to the channel router: the ability to dispatch notification to registered clients upon either a channel being closed, a new node appearing, or an exiting client being updated or opened for the first time. With this change, the integration tests will now be able to eliminate most of the sleep as we gain a new syntonization point into the propagation of information within the test network. Additionally, this also paves the way for client side software to dynamically visualize the channel graph in real-time as nodes+channels are updated. |
||
---|---|---|
.. | ||
testdata | ||
errors.go | ||
fibonacci.go | ||
graph.go | ||
log.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router.go |
routing
[] (https://travis-ci.org/lightningnetwork/lnd) [] (https://github.com/lightningnetwork/lnd/blob/master/LICENSE) [] (http://godoc.org/github.com/lightningnetwork/lnd/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