38beeebe3d
This commit optimizes the neutrino implementation of FilterBlock method of the ChainView interface. The old implementation would _always_ fetch the entire block and manually scan through it. Instead, we can just fetch the filter, and then if the items match, fetch the block itself. This will save bandwidth during a lnd node’s pruning of the channel graph after a period of dormancy. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.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