View definition

(*serverPeer).OnMemPool

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

Description

OnMemPool is invoked when a peer receives a mempool bitcoin message. It creates and sends an inventory message with the contents of the memory pool up to the maximum inventory allowed per message. When the peer has a bloom filter loaded, the contents are filtered accordingly.

OnMemPool is referenced in 1 repository

github.com/btcsuite/btcd