pub fn set_authorized_nodes(nodes: Vec<OpaquePeerId>, authorized_only: bool)
Set the authorized nodes and authorized_only flag.