pub fn chain_head_db_nonempty(
    txn: &Transaction<'_>,
    author: Arc<AgentPubKey>
) -> SourceChainResult<HeadInfo>
Expand description

Get the current chain head of the database. Error if the chain is empty.