Message relay

Table 1. Relay policy of different messages
Message type Function Who

Addresses

PeerManagerImpl::RelayAddress()

Outbound peers & inbound peers who send an addr-related message but not block-relay-only peers

Reachable addresses to 2 peers. Unreachable addresses randomly to 1 or 2 peers.

Transactions

PeerManagerImpl::RelayTransaction()

All connected peers

Blocks

PeerManagerImpl::UpdatedBlockTip()

PeerManagerImpl::MaybeSendAddr()

All connected peers