View definition

(*serverPeer).OnBlock

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

Description

OnBlock is invoked when a peer receives a block bitcoin message. It blocks until the bitcoin block has been fully processed.

OnBlock is referenced in 1 repository

github.com/btcsuite/btcd