pub struct ChannelTransitionReplayVerifierV1 { /* private fields */ }Implementations§
Source§impl ChannelTransitionReplayVerifierV1
impl ChannelTransitionReplayVerifierV1
pub fn from_canonical_bytes( bytes: &[u8], expected_authority_pins: &ChannelTransitionReplayAuthorityPinsV1, ) -> Result<Self, ChannelError>
pub const fn descriptor(&self) -> &ChannelTransitionReplayDescriptorV1
pub const fn verified_reservation_proposal( &self, ) -> &VerifiedChannelReservationProposalV1
pub fn verify_committed_reservation( &self, committed: &VerifiedEconomicStateView, ) -> Result<VerifiedAdmittedChannelReservationV1, ChannelError>
Trait Implementations§
Source§impl EconomicTransitionProofVerifier for ChannelTransitionReplayVerifierV1
impl EconomicTransitionProofVerifier for ChannelTransitionReplayVerifierV1
fn verify_transition( &self, _current: Option<&EconomicResourceHeadV1>, transition: &EconomicStateTransitionV1, ) -> Result<EconomicTransitionAuthorizationV1, EconomicStateAnchorError>
fn verify_batch( &self, current: &VerifiedEconomicStateView, batch: &EconomicStateBatchV1, ) -> Result<Vec<EconomicTransitionAuthorizationV1>, EconomicStateAnchorError>
Auto Trait Implementations§
impl Freeze for ChannelTransitionReplayVerifierV1
impl RefUnwindSafe for ChannelTransitionReplayVerifierV1
impl Send for ChannelTransitionReplayVerifierV1
impl Sync for ChannelTransitionReplayVerifierV1
impl Unpin for ChannelTransitionReplayVerifierV1
impl UnsafeUnpin for ChannelTransitionReplayVerifierV1
impl UnwindSafe for ChannelTransitionReplayVerifierV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more