pub async fn mmr_sync<Block, Client, NR, OS>(
fork_id: Option<String>,
client: Arc<Client>,
network_service: NR,
sync_service: Arc<SyncingService<Block>>,
offchain_storage: OS,
target_block: BlockNumber,
) -> Result<(), Error>where
Block: BlockT,
NR: NetworkRequest,
Client: ProvideRuntimeApi<Block> + HeaderBackend<Block>,
Client::Api: MmrApi<Block, H256, NumberFor<Block>>,
OS: OffchainStorage,
Expand description
Synchronize MMR-leafs from remote offchain storage of the synced peer.