approval-distribution: don't fan-out multiple assignments/approvals in separate notifications #615
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
Continued from #732
One idea I have is to have the
import_and_circulate_assignment
andimport_and_circulate_approval
functions return the approval/assignment wrapped in anOption
. Filtering and everything else should work the same as now. We accumulate these in https://github.com/paritytech/polkadot/blob/master/node/network/approval-distribution/src/lib.rs#L568 and send to peers (this assumes the routing information was updated and is the same for all messages) as a last step.The text was updated successfully, but these errors were encountered: