mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-20 02:27:21 +01:00
eba6ba0760
In this commit, we now account for a case where a node sends us a FailPermanentChannelFailure during a payment attempt. Before this commit, we wouldn’t properly prune the edge to avoid re-using it. We remedy this by properly attempting to prune the edge if possible. Future changes well send a FailPermanentChannelFailure in the case that we ned to go on-chain for an outgoing HTLC, and cancel back the incoming HTLC. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.go | ||
missioncontrol.go | ||
notifications_test.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router_test.go | ||
router.go | ||
validation_barrier.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