Skip to content

Function client::owner::rotated_revision

zaun_community_protocol::client::owner::rotated_revision · Function

pub fn rotated_revision(current: &CommunityDescriptor, rotation: SignedRootRotation, new_root: &PublicKey, now_ms: u64) -> CommunityDescriptor

The next revision after rotation: the new root key and rotations = [rotation]. Sign it with the new key via publish_body, together with [resign_delegation]: the delegation is verified under the current root.

Full rustdoc page