sync_store

Function sync_store 

Source
pub async fn sync_store(
    peer: &Peer,
    store: &DataStore,
    last_height: Option<u32>,
    last_header_hash: Bytes32,
    with_history: bool,
) -> Result<SyncStoreResponse>
Expand description

Synchronizes a datastore (Rust API version).