Add timestamp to block header

- Enables quickly deriving timestamp from header for log events
This commit is contained in:
Rob Mulholand
2018-10-12 12:00:02 -05:00
parent 5f67161f41
commit d3df685c46
34 changed files with 199 additions and 260 deletions
@@ -3,6 +3,7 @@ CREATE TABLE public.headers (
hash VARCHAR(66),
block_number BIGINT,
raw JSONB,
block_timestamp NUMERIC,
eth_node_id INTEGER,
eth_node_fingerprint VARCHAR(128),
CONSTRAINT eth_nodes_fk FOREIGN KEY (eth_node_id)