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