Optional Tagged Cluster Range

class blocksci.TaggedClusterOptionalRange
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.ClusterOptionalRange
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.TaggedClusterRange

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

Type:TaggedClusterRange
with_value

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

Type:TaggedClusterRange