mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
In this commit, we modify the high value passed into UpdateFilter upon restart. Before this commit, we would pass in the prune height, which would cause a full rescan within the FilteredChainView if the best height as > than the prune height. This was redundant as we would shortly carry out a manual rescan in the method below. To fix this, we now pass in the bestHeight, this isn’t an issue as the syncGraphWithChain method will manually scan up to that best height. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap.go | ||
heap_test.go | ||
log.go | ||
missioncontrol.go | ||
notifications.go | ||
notifications_test.go | ||
pathfind.go | ||
pathfind_test.go | ||
README.md | ||
router.go | ||
router_test.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