Skip to main content

commit_pending_leave_frontier

Function commit_pending_leave_frontier 

Source
pub fn commit_pending_leave_frontier<EF, V, LF, D>(
    owner: LiveFrontierOwner,
    member: LiveMember<EF>,
    pending: PendingFinalization,
    detach_cell: DetachCell<D>,
    verified: VerifiedLeaveRequest<V, LF>,
    parameters: PendingLeaveCommitParameters,
    charges: [RetainedRecordCharge; 2],
) -> Result<LiveLeaveCommit<EF, V, LF>, LiveLeaveError>
Expand description

Commits a pending binding terminal immediately before Leave through one complete live owner.

ยงErrors

Returns LiveLeaveError when pending preparation or retirement authority is inconsistent, either caller charge does not match its protocol-produced row, or resulting retention/closure accounting exceeds its authority.