082f012fcf
This commit moves btcd view away from using the deprecated callbacks onBlockConnected/Disconnected, and instead use onFilteredBlockConnected/disconnected. This commit also implements the sending of disconnected blocks over the staleBlocks channel. To send these blocks, the blockEventQueue is used to ensure the ordering of blocks are correctly kept. It also changes the way filter updates are handled. Since we now load the tx filter to the rpc server itself, we can call RescanBlocks instead of manually filtering blocks. These rescanned blocks are also added to the blockEventQueue, ensuring the ordering is kept. |
||
---|---|---|
.. | ||
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