hermez-node/common/block.go
common/block.goRaw
1package common
2
3import (
4 "time"
5
6 ethCommon "github.com/ethereum/go-ethereum/common"
7)
8
9// Block represents of an Ethereum block
10type Block struct {
11 EthBlockNum int64 `meddler:"eth_block_num"`
12 Timestamp time.Time `meddler:"timestamp"`
13 Hash ethCommon.Hash `meddler:"hash"`
14 ParentHash ethCommon.Hash `meddler:"-"`
15}