use crate::CoreBlockStorage;
use cid::Cid;
use std::collections::BTreeSet;
#[allow(async_fn_in_trait)]
pub trait Guard {
async fn verify(
storage: &CoreBlockStorage,
guard: String,
state: Cid,
heads: BTreeSet<Cid>,
next_head: Cid,
) -> Result<bool, anyhow::Error>;
}