Skip to content

definitions and sql storage for the Ethereum Haskell project.

License

Notifications You must be signed in to change notification settings

ben-haim/ethereum-data-sql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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);
 




About

definitions and sql storage for the Ethereum Haskell project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 76.0%
  • C 24.0%