/// Register the node with the provided NNS if the node has not been
/// registered already.
///
/// If the node has not been registered, retries registering the node using
/// one of the nns nodes in `nns_node_list`.
Register the node with the provided NNS if the node has not been
registered already.

If the node has not been registered, retries registering the node using
one of the nns nodes in `nns_node_list`.
Register the node with the provided NNS if the node has not been registered already . If the node has not been registered retries registering the node using one of the nns nodes in ` nns_node_list ` .
pub(crate) async fn register_node(&mut self) {
        self.initialize_local_store().await;
        let latest_version = self.registry_client.get_latest_version();
        if let Err(e) = self.key_manager.check_keys_with_registry(latest_version) {
            warn!(self.log, "Node keys are not setup: {:?}", e);
            self.retry_register_node().await;
            self.touch_eject_file();
        }
        // postcondition: node keys are registered
    }
pub ( crate ) async fn register_node ( & mut self ) { self . initialize_local_store ( ) . await ; let latest_version = self . registry_client . get_latest_version ( ) ; if let Err ( e ) = self . key_manager . check_keys_with_registry ( latest_version ) { warn ! ( self log " " e ) ; self . retry_register_node ( ) . await ; self . touch_eject_file ( ) ; } // postcondition: node keys are registered }
Register the node with the provided NNS if the node has not been
registered already.
Register the node with the provided NNS if the node has not been registered already .
&mut self