7312565644
This commit is similar to the prior commit to channeldb: we no longer assume that _both_ edges of a channel will always be advertised. Such an assumption resulted in the inability for a node to sync graph state since we were previously returning an error when _both_ edges weren’t found within the graph database. To remedy this bug, we now carefully ensure that if one edge doesn’t exist, then we still sync the other. |
||
---|---|---|
.. | ||
testdata | ||
errors.go | ||
fibonacci.go | ||
graph.go | ||
log.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