support for total difficulty (needed to support some eth endpoints)

This commit is contained in:
Ian Norden
2020-01-24 15:37:52 -06:00
parent 358575335b
commit 0785507a7d
14 changed files with 118 additions and 113 deletions
@@ -5,6 +5,7 @@ CREATE TABLE public.header_cids (
block_hash VARCHAR(66) NOT NULL,
cid TEXT NOT NULL,
uncle BOOLEAN NOT NULL,
td BIGINT NOT NULL,
UNIQUE (block_number, block_hash)
);