Function holochain_state::source_chain::chain_head_db
source · pub fn chain_head_db(
txn: &Transaction<'_>,
author: Arc<AgentPubKey>
) -> SourceChainResult<Option<HeadInfo>>
Expand description
Get the current chain head of the database, if the chain is nonempty.