MCPcopy Create free account
hub / github.com/6boris/web3-template / GetParentHash

Method GetParentHash

api/service/data/base.pb.go:171–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169}
170
171func (x *BlockItem) GetParentHash() string {
172 if x != nil {
173 return x.ParentHash
174 }
175 return ""
176}
177
178func (x *BlockItem) GetTimestamp() int64 {
179 if x != nil {

Callers 1

SyncBlockInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected