Trait forest_filecoin::shim::fvm_latest::externs::Consensus
source · pub trait Consensus {
// Required method
fn verify_consensus_fault(
&self,
h1: &[u8],
h2: &[u8],
extra: &[u8],
) -> Result<(Option<ConsensusFault>, i64), Error>;
}
Expand description
Consensus related methods.
Required Methods§
sourcefn verify_consensus_fault(
&self,
h1: &[u8],
h2: &[u8],
extra: &[u8],
) -> Result<(Option<ConsensusFault>, i64), Error>
fn verify_consensus_fault( &self, h1: &[u8], h2: &[u8], extra: &[u8], ) -> Result<(Option<ConsensusFault>, i64), Error>
Verify a consensus fault.