mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
18 lines
No EOL
320 B
Text
18 lines
No EOL
320 B
Text
CREATE TABLE IF NOT EXISTS blocks (
|
|
hash text primary key,
|
|
coinbase text,
|
|
number bigint
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS txs (
|
|
txHash text,
|
|
to_addr text,
|
|
from_addr text,
|
|
blockhash text,
|
|
amount bigint,
|
|
gasprice bigint,
|
|
gas numeric,
|
|
nonce numeric,
|
|
data bytea,
|
|
block text references blocks(hash)
|
|
); |