Optional Tagged Cluster Iterator

class blocksci.TaggedClusterOptionalIterator
all

Returns a list of all of the objects in the range

cluster

For each item: Return the cluster object which has been tagged

Type:blocksci.ClusterOptionalIterator
has_value

Return a array of bools denoting whether a item in the sequence has a value or is none

Type:numpy.ndarray[bool]
tagged_addresses

For each item: Return the list of addresses inside the cluster which have been tagged

Type:blocksci.TaggedAddressIterator
with_default_value(default_value: blocksci.cluster.TaggedCluster) → blocksci.TaggedClusterIterator

Replace all none values in the sequence with the provided default value and return the resulting sequence

Type:TaggedClusterIterator
with_value

Returns a sequence containing only non-None items in the sequence

Type:TaggedClusterIterator