progress on mapping data, finding clusters, probably inefficient
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE clusters(
|
||||
address TEXT,
|
||||
parent TEXT,
|
||||
PRIMARY KEY (address)
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE clusters;
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE transactions(
|
||||
tx_id INT,
|
||||
address TEXT,
|
||||
value INT,
|
||||
tx_hash TEXT,
|
||||
block_id INT,
|
||||
timestamp TIMESTAMP,
|
||||
PRIMARY KEY (tx_id, address)
|
||||
) WITH CLUSTERING ORDER BY (address DESC);
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE transactions;
|
||||
Reference in New Issue
Block a user