9294358b5b
In this commit we fix an existing bug within the ChannelRouter. Before this commit, we would sync our graph prune state, *then* update the cain filter. This is incorrect as the blocks we manually pruned may have included channel closing transactions. As a result, we would miss the pruning of a set of channels, and assume that they were still active. In this commit, we fix this by reversing the order: we first update the chain filter and THEN sync the channel graph. |
||
---|---|---|
.. | ||
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 |
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