mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
15 lines
301 B
Go
15 lines
301 B
Go
package common
|
|
|
|
import (
|
|
"time"
|
|
|
|
ethCommon "github.com/ethereum/go-ethereum/common"
|
|
)
|
|
|
|
// Block represents of an Ethereum block
|
|
type Block struct {
|
|
EthBlockNum uint64 `meddler:"eth_block_num"`
|
|
Timestamp time.Time `meddler:"timestamp"`
|
|
Hash ethCommon.Hash `meddler:"hash"`
|
|
}
|