-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
23 lines (14 loc) · 802 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This repository is a library of common data structures for the ethereum haskell project.
Indexing recommendations:
Run psql eth while ethereumH is populating the database and
CREATE INDEX CONCURRENTLY ON block_data_ref (block_id);
CREATE INDEX CONCURRENTLY ON block_data_ref (number);
CREATE INDEX CONCURRENTLY ON block_data_ref (hash);
CREATE INDEX CONCURRENTLY ON block_data_ref (parent_hash);
CREATE INDEX CONCURRENTLY ON block_data_ref (coinbase);
CREATE INDEX CONCURRENTLY ON address_state_ref (address);
CREATE INDEX CONCURRENTLY ON raw_transaction (from_address);
CREATE INDEX CONCURRENTLY ON raw_transaction (to_address);
CREATE INDEX CONCURRENTLY ON raw_transaction (block_id);
CREATE INDEX CONCURRENTLY ON raw_transaction (block_number);
CREATE INDEX CONCURRENTLY ON storage (key);