Function holochain_state::query::get_public_op_from_db
source · [−]pub fn get_public_op_from_db(
txn: &Transaction<'_>,
op_hash: &DhtOpHash
) -> StateQueryResult<Option<DhtOpHashed>>
Expand description
Get a DhtOp
from the database
filtering out private entries and
DhtOp::StoreEntry
where the entry
is private.
The ops are suitable for publishing / gossiping.