Skip to main content

store_data

Function store_data 

Source
pub async fn store_data(
    handle: &IdentityHandle,
    data: Vec<u8>,
    group_size: usize,
) -> Result<StorageHandle>
Expand description

Store data on the network

§Arguments

  • handle - Identity handle
  • data - Data to store
  • group_size - Size of the group (affects storage strategy)

§Returns

  • StorageHandle - Handle to retrieve the data