Function holochain_state::integrate::authored_ops_to_dht_db
source · pub async fn authored_ops_to_dht_db(
network: &(dyn HolochainP2pDnaT + Send + Sync),
hashes: Vec<(DhtOpHash, AnyLinkableHash)>,
authored_db: &DbRead<DbKindAuthored>,
dht_db: &DbWrite<DbKindDht>,
dht_db_cache: &DhtDbQueryCache
) -> StateMutationResult<()>
Expand description
Insert any authored ops that have been locally validated into the dht database awaiting integration. This checks if ops are within the storage arc of any local agents.