reserve

abstract fun reserve(leaf: GroupId, maximumCost: Long): ReservationId?

Earmark up to maximumCost service units against this peer's holdings at leaf leaf, returning a ReservationId to complete against, or null if available holdings at leaf cannot cover it (design §4.4). The earmark is local state, not replicated.