Function holochain_state::integrate::authored_ops_to_dht_db [−][src]
pub async fn authored_ops_to_dht_db(
network: &(dyn HolochainP2pDnaT + Send + Sync),
hashes: Vec<(DhtOpHash, AnyDhtHash)>,
authored_env: &DbRead<DbKindAuthored>,
dht_env: &DbWrite<DbKindDht>
) -> 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.