Skip to content

cluster.txes() is taking too long to execute #81

@0xrajath

Description

@0xrajath

cluster.txes() is taking too long and memory is eventually running out in the AWS instance.
Is there a more optimized way to get all the transactions that a cluster is involved in?

Right now I'm doing the following:

import blocksci
import collections
import pandas as pd
import numpy as np
import blocksci.cluster_python

chain = blocksci.Blockchain("/home/ubuntu/bitcoin")
cm = blocksci.cluster_python.ClusterManager("/home/ubuntu/bitcoin/clusters", chain)
address = chain.address_from_string("1BTCDiceLs79syendE1DM1XCaHcKkzBNnP")
cluster = cm.cluster_with_address(address)
#The below line is taking too long to execute
cluster_txns_list = cluster.txes()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions