Function sp_io::offchain::set_authorized_nodes[][src]

pub fn set_authorized_nodes(nodes: Vec<OpaquePeerId>, authorized_only: bool)

Set the authorized nodes and authorized_only flag.