Function sp_io::offchain::set_authorized_nodes
source · [−]pub fn set_authorized_nodes(nodes: Vec<OpaquePeerId>, authorized_only: bool)
Expand description
Set the authorized nodes and authorized_only flag.
pub fn set_authorized_nodes(nodes: Vec<OpaquePeerId>, authorized_only: bool)
Set the authorized nodes and authorized_only flag.