Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 597 Bytes

message-relay.adoc

File metadata and controls

28 lines (21 loc) · 597 Bytes

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