Processing unsolicited CMPCTBLOCK
’s from a peer that has not been marked high bandwidth is not well-specified behavior in BIP-0152, in fact the BIP seems to imply that it is not permitted:
“[…] method is not useful for compact blocks because
cmpctblock
blocks can be sent unsolicitedly in high-bandwidth mode”
This partially mitigates a mempool leak described in #28272, making it only possible for peers selected as high bandwidth to discover a node’s mempool.