graphsense-transformation
graphsense-transformation copied to clipboard
Entity Total Received / Total Spent computation: distinguish between within-cluster and external transactions
At the moment total received and total spent are computed by summing over all incoming and outgoing transactions of an entity. However, this also includes within-cluster transactions, i.e. transactions that have input and output addresses belonging to the same cluster.
Proposed solution: compute two different values for total received and spent:
- total_received_all -> considers all transactions, also within-cluster transactions
- total_received -> considers only transactions from other entities ...the same for total_spent