Update to follow DB spec

This commit is contained in:
a_bennassar
2020-07-31 15:55:09 +02:00
parent 819b29d9ba
commit 638defd031
16 changed files with 172 additions and 107 deletions

15
common/block.go Normal file
View File

@@ -0,0 +1,15 @@
package common
import (
"time"
eth "github.com/ethereum/go-ethereum/common"
)
// Block represents of an Ethereum block
type Block struct {
EthBlockNum uint64
Timestamp time.Time
Hash eth.Hash
PrevHash eth.Hash
}