pub trait NetworkSyncForkRequest<BlockHash, BlockNumber> {
    fn set_sync_fork_request(
        &self,
        peers: Vec<PeerId, Global>,
        hash: BlockHash,
        number: BlockNumber
    ); }
Expand description

Provides an ability to set a fork sync request for a particular block.

Required Methods

Notifies the sync service to try and sync the given block from the given peers.

If the given vector of peers is empty then the underlying implementation should make a best effort to fetch the block from any peers it is connected to (NOTE: this assumption will change in the future #3629).

Implementations on Foreign Types

Implementors