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:
Matt K
2018-01-03 11:23:43 -06:00
committed by GitHub
parent 13748a92e5
commit 4fabe3e917
17 changed files with 484 additions and 38 deletions
+12
View File
@@ -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
}
+2 -1
View File
@@ -8,5 +8,6 @@ type Transaction struct {
From string
GasLimit int64
GasPrice int64
Value int64
Receipt
Value int64
}