aztec-packages
aztec-packages copied to clipboard
feat: Request missing txs from block proposal sender
Tweaks tx reqresp so that a given peer can be "pinned". In all reqresp rounds, that peer is always requested all messages (up to the peer quota to avoid getting rate limited).
When a node (any node, validator or not) receives a block proposal, it resolves which txs its missing from the proposal, and starts reqresp with these txs pinning the peer who sent them the proposal. Rationale here is that the block proposer for that slot does have all txs, so if everyone who receives the proposal from them recursively asks for all txs, eventually everyone with the proposal will have the txs.