ipld-eth-server/pkg/core/header.go
Rob Mulholand 1355271011 Add light sync command
- Only syncs block headers (excludes block bodies, transactions, receipts, and logs)
- Modifies validation window to include the most recent block
- Isolates validation window to the variable defined in the cmd directory (blocks
  have a separate variable defined in the block_repository for determining when
  to set a block as final)
2018-07-18 16:34:12 -05:00

8 lines
116 B
Go

package core
type Header struct {
BlockNumber int64 `db:"block_number"`
Hash string
Raw []byte
}