Skip to main content

OwnerRecoveryNode

Type Alias OwnerRecoveryNode 

Source
pub type OwnerRecoveryNode = Signed<OwnerRecoveryNodeBody>;

Aliased Type§

pub struct OwnerRecoveryNode { /* private fields */ }

Implementations§

Source§

impl OwnerRecoveryNode

Source

pub fn signed( store_root_hash: ObjectHash, recovery_id: DeviceRecoveryId, owner_grant: MembershipGrantId, sequence: u64, membership: StoreMembershipStateRef, predecessor: Option<OwnerRecoveryNodeRef>, readiness: DeviceRecoveryReadiness, next_slot: ObjectSlot, owner_signer: &UserKeypair, ) -> Result<Self, StoreProtocolError>

Source

pub fn parse_at( bytes: &[u8], store_root: &StoreRootRef, reference: &OwnerRecoveryNodeRef, ) -> Result<Self, StoreProtocolError>

Source

pub fn node_hash(&self) -> ObjectHash