updated db models

This commit is contained in:
i-norden 2022-08-10 11:54:14 -05:00
parent e03b722623
commit c8dd85f417

View File

@ -36,7 +36,7 @@ type HeaderModel struct {
NodeID string `db:"node_id"`
Reward string `db:"reward"`
StateRoot string `db:"state_root"`
UncleRoot string `db:"uncle_root"`
UnclesHash string `db:"uncles_hash"`
TxRoot string `db:"tx_root"`
RctRoot string `db:"receipt_root"`
Bloom []byte `db:"bloom"`
@ -54,6 +54,7 @@ type UncleModel struct {
CID string `db:"cid"`
MhKey string `db:"mh_key"`
Reward string `db:"reward"`
Index int64 `db:"index"`
}
// TxModel is the db model for eth.transaction_cids