usecrate::imp::core::ChiaBlockRef;usecrate::imp::prover::error::Result;/// A source of Chia chain state for anchoring proofs to wall-clock time
/// (§13.8). Implemented by [`crate::imp::prover::mock_chain::MockChainSource`] and
/// [`crate::imp::prover::coinset::CoinsetChainSource`].
pubtraitChainSource{/// The current peak block of the trusted chain.
fnget_peak(&self)->Result<ChiaBlockRef>;/// Confirm `block` is a real block on the trusted chain AND that its
/// timestamp falls within `freshness_window_secs` of "now". Rejects blocks
/// that are unknown, too old, or in the future.
fnverify_block(&self, block:&ChiaBlockRef, freshness_window_secs:u64)->Result<()>;}