ClusterManager

class blocksci.cluster_python.ClusterManager

Class managing the cluster dat

cluster_count(self: blocksci.cluster_python.ClusterManager) → int

Get the total number of clusters

cluster_sizes(self: blocksci.cluster_python.ClusterManager) → List[int]

Get a list of all cluster sizes (This is quite slow)

cluster_with_address(self: blocksci.cluster_python.ClusterManager, arg0: blocksci.blocksci_interface.Address) → Cluster

Return the cluster containing the given address

clusters(self: blocksci.cluster_python.ClusterManager) → ranges::v3::transform_view<ranges::v3::detail::take_exactly_view_<ranges::v3::iota_view<unsigned int, void>, true>, ClusterManager::getClusters() const::{lambda(unsigned int)#1}>

Get a list of all clusters (The list is lazy so there is no cost to calling this method)

tagged_clusters(self: blocksci.cluster_python.ClusterManager, arg0: Dict[blocksci.blocksci_interface.Address, str]) → List[TaggedCluster]

Given a dictionary of tags, return a list of TaggedCluster objects for any clusters containing tagged scripts