Skip to main content

rotated_revision

Function rotated_revision 

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

The next revision after rotation: the new root key and rotations = [rotation] (§4.1 field 5). Sign it with the new key via publish_body, together with resign_delegation: the delegation is verified under the current root (§4.3 rule 3).