/// A list of all nodes that were registered with the initial registry (i.e.
/// at bootstrap).
A list of all nodes that were registered with the initial registry .
A list of all nodes that were registered with the initial registry .
fn initial_node_ids(&self, handle: &IcHandle) -> Vec<NodeId> {
        let ic_prep_dir = handle
            .ic_prep_working_dir
            .as_ref()
            .expect("ic_prep_working_dir is not set.");
        LocalStoreImpl::new(ic_prep_dir.registry_local_store_path().as_path())
            .get_changelog_since_version(RegistryVersion::from(0))
            .expect("Could not fetch changelog.")
            .iter()
            .flat_map(|c| c.iter())
            .filter_map(|km| {
                km.value
                    .as_ref()
                    .map(|_| &km.key)
                    .and_then(|s| get_node_record_node_id(s))
            })
            .map(NodeId::from)
            .collect()
    }
fn initial_node_ids ( & self , handle : & IcHandle ) -> Vec < NodeId > { let ic_prep_dir = handle . ic_prep_working_dir . as_ref ( ) . expect ( " " ) ; LocalStoreImpl :: new ( ic_prep_dir . registry_local_store_path ( ) . as_path ( ) ) . get_changelog_since_version ( RegistryVersion :: from ( 0 ) ) . expect ( " " ) . iter ( ) . flat_map ( | c | c . iter ( ) ) . filter_map ( | km | { km . value . as_ref ( ) . map ( | _ | & km . key ) . and_then ( | s | get_node_record_node_id ( s ) ) } ) . map ( NodeId :: from ) . collect ( ) }
A list of all nodes that were registered with the initial registry (i.e.
A list of all nodes that were registered with the initial registry ( i . e .
&self
handle
&IcHandle