You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
280 B

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