View definition

(*server).UpdatePeerHeights

Defined in github.com/btcsuite/btcd/server.go

Description

UpdatePeerHeights updates the heights of all peers who have have announced the latest connected main chain block, or a recognized orphan. These height updates allow us to dynamically refresh peer heights, ensuring sync peer selection has access to the latest block heights for each peer.

UpdatePeerHeights is referenced in 1 repository

github.com/btcsuite/btcd