sui
sui copied to clipboard
Use execution driver instead of sync_authority_source_to_destination for gossip
This improves parallelism, and removes the use of the (slightly) incorrect sync_authority_source_to_destination
What is slightly incorrect about
sync_authority_source_to_destination?
It trusts the effects (specifically the parent certs) given to it by the source authority, which may in fact be byzantine.
The correct way to get effects is at https://github.com/MystenLabs/sui/blob/main/crates/sui-core/src/authority_aggregator.rs#L1842