Skip to main content

sign_unbind

Function sign_unbind 

Source
pub fn sign_unbind(
    prev: &BindingRecord,
    operator: &SigningKey,
) -> Result<SignedBinding, LicenceError>
Expand description

Sign the unbind of prev: same Seed and mesh, state: unbound, seq one higher. Everything else, bound_at included, is copied from prev, so two operators unbinding the same record at once produce byte-identical records (Ed25519 is deterministic) instead of an equal-seq conflict. Any node holding an operator key can do this and LicenceExchange::issue_binding it.