The router subsystem has its own goroutine that receives chain updates and then does its (quite time consuming) work on each new block. To make it possible to find out what block the router currently is synced to, we export its internal best height through a new method.
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