forked from cerc-io/ipld-eth-server
1355271011
- 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)
8 lines
116 B
Go
8 lines
116 B
Go
package core
|
|
|
|
type Header struct {
|
|
BlockNumber int64 `db:"block_number"`
|
|
Hash string
|
|
Raw []byte
|
|
}
|