remove LIMIT 100; method to check continuity of headers returned but doesn't require

the set to start at a specific block number; config for
account_transformer; review fixes; update schema
This commit is contained in:
Ian Norden
2019-04-05 17:21:59 -05:00
parent c1940c3e58
commit 9befc76fc6
20 changed files with 323 additions and 277 deletions
+4 -12
View File
@@ -18,20 +18,12 @@ package core
type Receipt struct {
Bloom string
ContractAddress string
CumulativeGasUsed uint64
GasUsed uint64
Logs []Log
StateRoot string
Status int
TxHash string
}
type ReceiptModel struct {
ContractAddress string `db:"contract_address"`
CumulativeGasUsed string `db:"cumulative_gas_used"`
GasUsed string `db:"gas_used"`
CumulativeGasUsed uint64 `db:"cumulative_gas_used"`
GasUsed uint64 `db:"gas_used"`
Logs []Log
StateRoot string `db:"state_root"`
Status int
TxHash string `db:"tx_hash"`
Rlp []byte `db:"rlp"`
}
+1 -1
View File
@@ -23,7 +23,7 @@ type TransactionModel struct {
GasPrice int64 `db:"gas_price"`
Hash string
Nonce uint64
Raw []byte
Raw []byte `db:"raw"`
Receipt
To string `db:"tx_to"`
TxIndex int64 `db:"tx_index"`