a219aca0d3
blockEventQueue is an ordered queue for block events sent from a FilteredChainView. The two types of possible block events are connected/new blocks, and disconencted/stale blocks. The blockEventQueue keeps the order of these events intact, while still being non-blocking. This is important in order for the chainView's call to onFilteredBlockConnected/Disconnected to not get blocked, and for the consumer of the block events to always get the events in the correct order. |
||
---|---|---|
.. | ||
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