forked from cerc-io/ipld-eth-server
Separate repositories (#25)
* Separate Repository into multiple Repositories * Use struct scan for transactions * Use struct scan for blocks * Remove unused block repo methods * Update naming * Rename / Cleanup repository related fields
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package core
|
||||
|
||||
type Transaction struct {
|
||||
Hash string
|
||||
Data string
|
||||
Nonce uint64
|
||||
To string
|
||||
From string
|
||||
GasLimit int64
|
||||
GasPrice int64
|
||||
Hash string `db:"tx_hash"`
|
||||
Data string `db:"tx_input_data"`
|
||||
Nonce uint64 `db:"tx_nonce"`
|
||||
To string `db:"tx_to"`
|
||||
From string `db:"tx_from"`
|
||||
GasLimit int64 `db:"tx_gaslimit"`
|
||||
GasPrice int64 `db:"tx_gasprice"`
|
||||
Receipt
|
||||
Value string
|
||||
Value string `db:"tx_value"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user