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.