Add receipts (#119)
* Conversion between Geth Receipt and core.Receipt * Add receipt to DB * Insert receipts with transactions * Update Travis CI to use dep for dependencies
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package core
|
||||
|
||||
type Receipt struct {
|
||||
Bloom string
|
||||
ContractAddress string
|
||||
CumulativeGasUsed int64
|
||||
GasUsed int64
|
||||
Logs []Log
|
||||
StateRoot string
|
||||
Status int
|
||||
TxHash string
|
||||
}
|
||||
@@ -8,5 +8,6 @@ type Transaction struct {
|
||||
From string
|
||||
GasLimit int64
|
||||
GasPrice int64
|
||||
Value int64
|
||||
Receipt
|
||||
Value int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user