near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.32k stars 623 forks source link

[Epoch Sync] EpochSyncRequest should not be a routed message #12091

Closed robin-near closed 2 weeks ago

robin-near commented 1 month ago

One should really only sync from its direct peers, just like header sync and block sync. We should move the EpochSyncRequest and response to direct network messages rather than RoutedMessageBody.