ipld-eth-server/pkg/core/header.go
Rob Mulholand 05186634bd 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-11-03 13:49:23 -05:00

8 lines
116 B
Go

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