github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/cmd/bootstrap/run/block.go (about) 1 package run 2 3 import ( 4 "time" 5 6 "github.com/onflow/flow-go/model/flow" 7 ) 8 9 func GenerateRootHeader(chainID flow.ChainID, parentID flow.Identifier, height uint64, timestamp time.Time) *flow.Header { 10 return &flow.Header{ 11 ChainID: chainID, 12 ParentID: parentID, 13 Height: height, 14 Timestamp: timestamp, 15 View: 0, 16 ParentVoterIndices: nil, 17 ParentVoterSigData: nil, 18 ProposerID: flow.ZeroID, 19 ProposerSigData: nil, 20 } 21 }