7bdd7023f4
This commit creates a new package as sub-package within the routing package: chainview. This package is centered around a single interface definition: the FilteredChainView. This interface is to be used to allow the routing package to watch a _subset_ of the UTXO set for any modifications. In the case of LN, the subset of the UTXO set that we care about is the set of currently opened channels. In a future commit the routing package will be modified to remove the current full block scanning with processing of FilteredBlock notification, and proper updates to the filter as observed by the FilteredChainView. |
||
---|---|---|
.. | ||
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