View definition


Defined in


NewestBlock specifies a callback which provides the newest block details to the peer as needed. This can be nil in which case the peer will report a block height of 0, however it is good practice for peers to specify this so their currently best known is accurately reported.

NewestBlock is referenced in 2 repositories