Struct OriginBlockState
pub struct OriginBlockState
{ /* private fields */ }
Implementations
impl OriginBlockState
pub fn pending() -> Self
pub fn proven() -> Self
pub fn finalized() -> Self
pub fn is_pending(self) -> bool
Whether the origin block is still above the proven tip.
pub fn is_proven(self) -> bool
Whether the origin block is proven but not yet finalized.
pub fn is_finalized(self) -> bool
Whether the origin block is finalized, and thus facts related to it can no longer be retracted.
Trait implementations
impl Deserialize for OriginBlockState
pub fn deserialize(fields: [Field; 1]) -> Self
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
impl Eq for OriginBlockState
pub fn eq(self, other: Self) -> bool
Chain state of a retractable fact's origin block, mirroring the L2 chain tips.